Community Forum

Please read the intro before joining/posting. Thank you.

If you have questions about our software, chances are this forum has the answers.

You'll need to register before you can post on the forum to ask your question or to answer another one. A reply will be posted to each and every question that is asked so there is no need to double post or bump your post. We'll do our best to answer promptly, but in some cases it may take a day or two. If you bump your post, it may be removed. Bear with us and we'll get your question answered quickly.

Here are a few tips to help you to get your questions answered more rapidly.

IMPORTANT: Posts in English only. We don't employ translators and we'll be unable to understand your message properly and will probably delete it.
SOFTWARE: Each software has it's own forum. Software here is NOT supported. Posts about this software will be deleted. Supported software questions ONLY please.
SEARCH: Use the search option to see if your question has been answered on the forum before now or if there is an answer in the documentation of your software.
PERSONAL SUPPORT: If you have purchased a commercial version of any software, using the contact option at the licence centre ensures a faster response.
AUTO DELETION: Accounts older than 5 days, with no posts or topics, are automatically deleted. Only register if you are thinking of posting.
LINKS: Any links posted are not clickable (to deter spammers) and must be copied / pasted into your browser address bar.

            

You are not logged in.

CRONPosts in the Maian Responder forum by RigPa
RigPa
01-01-2019 20:31:40

You write in the docs:

bouncers.php - Reads mailboxes for bounce flags. Can be set to run less frequently.
broadcasts.php - Executes broadcast messages. Can be set to run fairly frequently.
messages.php - Depending on your time settings, should be set to run fairly frequently.

My host allows me to run jobs pr. full hour max. Is that "fairly frequently"?

RigPa
10-04-2022 12:51:15

I don't know what is wrong with the forum but I can't start a new thread and everything I click on leads me to the top of the page with the start info. So I post here. Can't post elsewhere.

When ever I save something in Maian Responder the rotating logo keeps rotating forever and the log file says:

[Error Code: 8] Trying to access array offset on value of type null
[Date/Time: 10 April 2022 @ 14:14PM]
[Error on line 61 in file /home/lukparke/make-it-count.dk/responder/control/classes/class.errors.php]
- - - - - - - - - - - - - - - - - - -
[Error Code: 8] Trying to access array offset on value of type null
[Date/Time: 10 April 2022 @ 14:14PM]
[Error on line 61 in file /home/lukparke/make-it-count.dk/responder/control/classes/class.errors.php]
- - - - - - - - - - - - - - - - - - -
[Error Code: 8] Trying to access array offset on value of type null
[Date/Time: 10 April 2022 @ 14:14PM]
[Error on line 61 in file /home/lukparke/make-it-count.dk/responder/control/classes/class.errors.php]
- - - - - - - - - - - - - - - - - - -
[Error Code: 8] Trying to access array offset on value of type null
[Date/Time: 10 April 2022 @ 14:14PM]
[Error on line 61 in file /home/lukparke/make-it-count.dk/responder/control/classes/class.errors.php]
- - - - - - - - - - - - - - - - - - -

maiandavid
10-04-2022 15:49:29

The cron frequency is determined by your auto responders. If you set an auto responder to run every minute, but the cron can only run every hour, it won't work properly. So long as your jobs only need to run hourly, it should be fine.

For the errors, what PHP version are you running? Currently it will only run for PHP7.3 max, anything higher won't work. 7.4 and 8.0 support is on the way as per the changelog.

David - Lead Developer/Programmer
www.maianmedia.com
RigPa
12-04-2022 08:48:49

I use 7.4 - will try 7.3

maiandavid
12-04-2022 09:03:31

Ok, no problem.

David - Lead Developer/Programmer
www.maianmedia.com
RigPa
12-04-2022 10:16:32

Moved Maian to new host and spent quite a few days on followup mails as thsy are not sent. CRON system is working and it seems that jobs are executed, but still no mails.
Found this entry a few hundred times in a log file:

Logged: 12 April 2022 @ 11:30:01
Action/Info: System waiting for previous cron job to complete


Is that related to not sending mails?


Testing SMTP works. Test mails are sent.

RigPa
12-04-2022 16:55:33

Also see this one in sql log:
Enabled: 12 April 2022 @ 06:55:01
Code: 2002
Error: Connection timed out
File: /home/lukparke/mail.make-it-count.dk/control/classes/class.db.php
Line: 456

maiandavid
13-04-2022 04:58:02

Connection timed out is a database issue.

When a cron runs it won't trigger again until the previous cron has finished to prevent an overlap. If the database times out during a cron it will prevent other crons from running. You can clear the cache by clearing the 'mr_cache' table of any entries that contain 'crontab'. So, yes, the 'System waiting for previous cron job to complete' status will stop the crons from executing. Clear the cache table to make it run again.

David - Lead Developer/Programmer
www.maianmedia.com
RigPa
13-04-2022 13:43:14

It still says "System waiting for previous cron job to complete".

I have cleared the mr_cache and there are 30 minutes between cron jobs. Could there be something else that causes CRON jobs to 'hang' or loop or otherwise not getting finished?

RigPa
14-04-2022 12:28:04

My hosting company can't see anything queued up...

RigPa
14-04-2022 13:26:34

You can see the message here https://mail.make-it-count.dk/messages.php

RigPa
14-04-2022 14:33:21

And mr_cache is still empty

maiandavid
17-04-2022 15:47:44

The messsage is a responder internal message, nothing to do with the server settings. It can only trigger if there is an entry in the cache table. Are you sure nothing is there when the cron actually runs?

David - Lead Developer/Programmer
www.maianmedia.com
RigPa
19-04-2022 12:29:20

Yup - The cache table is COMPLETELY empty. But the error msg keeps popping up in the log file. SOmething else must be going on...

RigPa
19-04-2022 13:47:28

Noticed a new message in mysqli-errors:

Enabled: 19 April 2022 @ 15:45:01
Code: 167
Error: Out of range value for column 'id' at row 1
File: /home/lukparke/mail.make-it-count.dk/control/classes/class.db.php
Line: 456
Query:

INSERT INTO `mr_cache` (`runid`,`identifier`,`value`,`ts`) VALUES ('0','broadcast','crontab','1650375901')

= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =

Enabled: 19 April 2022 @ 15:45:01
Code: 167
Error: Out of range value for column 'id' at row 1
File: /home/lukparke/mail.make-it-count.dk/control/classes/class.db.php
Line: 456
Query:

INSERT INTO `mr_cache` (`runid`,`identifier`,`value`,`ts`) VALUES ('0','message','crontab','1650375901')

= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =

RigPa
19-04-2022 15:58:20

Tried to update and now I get this:

The following licence error has occurred while running this software:
The "licence.lic" file within this installation contains an invalid product key (120961396CF33C9ADADDE7DCA2D86917E33BE786430A3FCF4FA8E3D8446C).

Check this value against the product key on your purchase page in your script admin area.

This may be due to entering the key incorrectly on licence creation or you may have re-installed the software again, which created a new key.

If you have re-installed, please update your product key and re-download the licence again.
If the above message wasn`t helpful, you should first see if a solution is in the software documentation ("docs" folder).

If that doesn`t help, please post on the support forums at Maian Script World for FREE support.

If you have paid for a commercial licence, please send a message via the Licence Centre, thank you.

I apologise for any inconvenience and hope this issue is resolved as soon as possible.

David Ian Bennett
(Lead Developer - Maian Script World)


Downloaded new license file but it didn't help.

RigPa
19-04-2022 16:07:10

The License key is correct so what is wrong? The responder has been grounded for 10 days now and the errors just seem to pile up.

RigPa
19-04-2022 16:20:51

I think I should be allowed to log in no matter what. But I can't! Why am I blocked? Doesn't make sense! And the help files don't help anything.

RigPa
21-04-2022 07:10:45

I'm totally stuck. I really, really need help. Please.

maiandavid
21-04-2022 07:56:22

Blocked from what? If you downloaded and reapplied the licence key, either the domain or the key is wrong. You can view the correct key in your database in the settings table. Look for the prodkey value. That should match the licence.

If you want us to take a look, please use the personal support option in the licence centre.

David - Lead Developer/Programmer
www.maianmedia.com
RigPa
21-04-2022 09:44:55

Just noticed the upgrade reset my database. It's empty...

maiandavid
21-04-2022 09:46:34

The upgrade will not reset the database. Are you sure you ran the upgrade and not the installer? Seems like you ran the installer, which would be why the licence doesn't work. The installer creates a brand new key. sad

David - Lead Developer/Programmer
www.maianmedia.com
RigPa
21-04-2022 11:10:17

Backup db in place and back to this:

Enabled: 19 April 2022 @ 15:45:01
Code: 167
Error: Out of range value for column 'id' at row 1
File: /home/lukparke/mail.make-it-count.dk/control/classes/class.db.php
Line: 456
Query:

INSERT INTO `mr_cache` (`runid`,`identifier`,`value`,`ts`) VALUES ('0','message','crontab','1650375901')

RigPa
21-04-2022 12:50:55

Downloaded new key. The two Licence keys matched exactly. Domain is the same. Thats why I was spooked. I restored the DB and the old Maian version that used to work and everything was ok again.

Im back to the "Out of range" error in the logfile now.

Enabled: 19 April 2022 @ 15:45:01
Code: 167
Error: Out of range value for column 'id' at row 1
File: /home/lukparke/mail.make-it-count.dk/control/classes/class.db.php
Line: 456
Query:

INSERT INTO `mr_cache` (`runid`,`identifier`,`value`,`ts`) VALUES ('0','message','crontab','1650375901')

maiandavid
25-04-2022 09:09:51

In the database, change the id field type from tinyint to int.

David - Lead Developer/Programmer
www.maianmedia.com
RigPa
26-04-2022 21:04:44

Ok so now everything seems to be in place, but when I try sending test mails it hangs and the circle turns forever in the box that pops up when clicking Send Test.  Signup works but no emails are sent. None at all. It seems it is doing an eternal loop trying to send.

What versions of TLS are supported by Maian Responder?

I installed a WP SMTP plugin in the same directory and it works with the exact same server settings.

Tried several reinstallations, running php73, nothing in the logfiles.

maiandavid
27-04-2022 14:49:01

Do you have the smtp log enabled? Maian Responder uses the PHPMailer, not sure of the TLS version, but I have tried a mail test on 7.3 and it works fine.

The smtp log should detail the smtp ops. If it doesn't, not sure what else to advise.

David - Lead Developer/Programmer
www.maianmedia.com
RigPa
30-04-2022 16:06:39

One of the things that don't work for sure is TLS. My new hosting supports TLS 1.2 & 1.3. and Maian Responder hangs for several minutes trying to send.
My old hosting supports older versions and it worked fine.

maiandavid
02-05-2022 09:01:35

Not sure. Do you have the exact error returned by the mail server Did you check the server mail logs?

David - Lead Developer/Programmer
www.maianmedia.com
100% Free SoftwareSoftware Versions, Development, Docs & UpgradesHostingNewsletter
Made with in the U.K & Hong Kong

Free PHP Scripts / Responsive PHP Scripts / Lightweight PHP Scripts / White Label PHP Scripts