ListMailPRO Email Marketing Software Forums
ListMailPRO Email Marketing Software Forums => General Help & How-To => Topic started by: Kino on February 08, 2006, 11:27:15 am
-
Trying a new hosting account after configuration and testing I began sending an email to a list of about 1700 subscribers. I rec'd an error message twice during the mailout, which halted the delivery. After sending, I realize that had not configured the web address on bounce.cgi properly.
Is it possible that the following error messages happened because bounce.cgi was not configured right?
Average speed: 7.01 per second. 25236 per hour.
Fatal error: Maximum execution time of 30 seconds exceeded in /mounted-storage/home5/sub003/sc12440-EKME/mydomain.ca/mail/admin.php on line 645
After clicking "Resume" another 700 or so emails delivered and it stopped again, giving this error:
Fatal error: Maximum execution time of 30 seconds exceeded in /mounted-storage/home5/sub003/sc12440-EKME/mydomain.ca/mail/mimepart.php on line 302
"mydomain" has been hidden. Dean, maybe you can determine if this problem was the bounce script, or something more serious. From what I can see the email otherwise sent properly.
Thanks.
K
-
The problem is a configuration setting in your php.ini file that says if a script is running for longer than 30 seconds, send an error and kill it.
I'm guessing the only way around this is to edit your php.ini, find the line that says something like: "max_execution_time = 30 ; Maximum execution time of each script, in seconds"
and change it to: "max_execution_time = 0 ; Maximum execution time of each script, in seconds"
This says let a script run forever. I could be wrong and there may be other ways around this, anyone else feel free to chime in. Also setting this to 0 could possibly be "dangerous" on a shared system???
-
It does look like a hard limit on PHP script execution time. Normally, a script can set the limit to 0 (unlimited) without modifying the default value in PHP.INI. I believe PHP "safe_mode" must be enabled on your domain to allow this.
On my Plesk servers I must set up the following custom web server directives to allow ListMail to run 'forever':
<Directory /full/path/to/example.com/www-folder>
php_admin_value safe_mode 0
</Directory>
This might be able to be entered into an .htaccess file in your main web folder or ListMail folder, but should probably instead be 'included' with the server config to be operational site-wide.
Regards, DW
Update: Typo.. safe mode should actually be disabled. The code above is correct for this.
-
Tried out that string in the .htaccess and it causes an Internal Server Error.
Safe Mode is already turned on for this domain.
Any other ideas, or should I just give up on this host?
Thanks,
K
-
My apologies. Safe mode should actually be disabled. I recommend giving that a try before switching hosts.
Regards, DW
-
Web hosts are being analyzed and reviewed - please post your recent experience if your host is not listed already!
Here's the post:
Email Web Hosting Review (http://listmailpro.com/forum/index.php?topic=1699.0)
Regards