Page 1 of 1

fatal error .../cache/queue.php line 3

PostPosted: Thu Jul 03, 2014 10:40 am
Author: viragotech
We only send a few mass emails a year, worked ok before but now this happens when its used and then causes errors and people start double posting and such.

fatal error max execute time 40 sec bla bla bla on .../cache/queue.php line 3

I just deleted everything in cache and it "fixes" it but no emails get sent out or very few.

this is ACP
Errno 2: mail() [function.mail]: Could not execute mail delivery program '/usr/sbin/sendmail -t -i' at [ROOT]/includes/functions_messenger.php line 1651

Re: fatal error .../cache/queue.php line 3

PostPosted: Sat Jul 05, 2014 9:51 am
Author: viragotech
tried using SMPT function but that would not work. tried ssl and non

Errno 2: fsockopen() [<a href='function.fsockopen'>function.fsockopen</a>]: unable to connect to -.-.com:- (Connection timed out) at [ROOT]/includes/functions_messenger.php line 1001

Re: fatal error .../cache/queue.php line 3

PostPosted: Sat Jul 12, 2014 11:16 am
Author: Schnulli-de
The Error Message points to the Problem, read and understand:

Errno 2: mail() [function.mail]: Could not execute mail delivery program '/usr/sbin/sendmail -t -i' at [ROOT]/includes/functions_messenger.php line 1651
This is the Solution

Check if Sendmail is installed and the user u tried to access has the rights needed..... Could be the rights.. Usergroup Permissions, must be set as well so Apache can access sendmail
Let me ask, is there a firewall running as well? Ports open you need ?


Regards SN

Re: fatal error .../cache/queue.php line 3

PostPosted: Sun Jul 20, 2014 12:15 pm
Author: viragotech
Schnulli-de wrote:The Error Message points to the Problem, read and understand:

Errno 2: mail() [function.mail]: Could not execute mail delivery program '/usr/sbin/sendmail -t -i' at [ROOT]/includes/functions_messenger.php line 1651
This is the Solution

Check if Sendmail is installed and the user u tried to access has the rights needed..... Could be the rights.. Usergroup Permissions, must be set as well so Apache can access sendmail
Let me ask, is there a firewall running as well? Ports open you need ?


Regards SN



All good questions, but this function worked 6 months ago, nothing has changed that i know of, I / we don't muck around to much as we have had many odd problems that has had Helter and Mike doing the changes for us.

But it really killed our fund raising this time around......

Re: fatal error .../cache/queue.php line 3

PostPosted: Sun Jul 20, 2014 10:24 pm
Author: Helter
try a mass email to a user group with 10 or less members in it. If it works then your server settings may be limiting how many emails you can send in one batch. Your php.ini may also have a short time setting for script execution. If server load is high and script execution time is low your mail script will timeout before completing your mass email.