Newsletter Stuck Sending

Get help from the community here.

Moderator: Developers

rapidpage
Posts: 4
Joined: Thu Jun 26, 2014 4:35 am

Newsletter Stuck Sending

Postby rapidpage » Thu Jun 26, 2014 4:40 am

Hi, I have Version: 5.0.65 installed on a Ubuntu Server (Zpanel) and I have all modules working including Email, however, Newsletters does not send, it is stuck "waiting to send".
Image

if i push the "play button" in the list of newsletters to send i get an error
Image
mschering
Site Admin
Site Admin
Posts: 8324
Joined: Tue Apr 20, 2004 1:06 pm
Location: The Netherlands - Den Bosch
Contact:

Re: Newsletter Stuck Sending

Postby mschering » Mon Jun 30, 2014 11:28 am

please check the error.log for relevant errors.
Best regards,

Merijn Schering
Intermesh
rapidpage
Posts: 4
Joined: Thu Jun 26, 2014 4:35 am

Re: Newsletter Stuck Sending

Postby rapidpage » Wed Jul 16, 2014 11:59 pm

Here is my error log (sorry that i did not respond earlier)
[20140716 19:58:24] PHP Warning: exec() has been disabled for security reasons in /var/zpanel/hostdata/zadmin/public_html/rapidoffice_co/groupoffice/modules/addressbook/controller/SentMailingController.php on line 123
User: ilmjoh Agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:30.0) Gecko/20100101 Firefox/30.0 IP: 216.240.7.170
Query: r=addressbook/sentMailing/store&security_token=dV6I7WgtewUNkFEALsBn
Backtrace:
global::exec in file /var/zpanel/hostdata/zadmin/public_html/rapidoffice_co/groupoffice/modules/addressbook/controller/SentMailingController.php on line 123
GO_Addressbook_Controller_SentMailing::_launchBatchSend in file /var/zpanel/hostdata/zadmin/public_html/rapidoffice_co/groupoffice/modules/addressbook/controller/SentMailingController.php on line 507
GO_Addressbook_Controller_SentMailing::beforeStore in file /var/zpanel/hostdata/zadmin/public_html/rapidoffice_co/groupoffice/go/base/controller/AbstractModelController.php on line 357
GO_Base_Controller_AbstractModelController::actionStore in file /var/zpanel/hostdata/zadmin/public_html/rapidoffice_co/groupoffice/go/base/controller/AbstractController.php on line 507
GO_Base_Controller_AbstractController::callActionMethod in file /var/zpanel/hostdata/zadmin/public_html/rapidoffice_co/groupoffice/go/base/controller/AbstractController.php on line 416
GO_Base_Controller_AbstractController::run in file /var/zpanel/hostdata/zadmin/public_html/rapidoffice_co/groupoffice/go/base/Router.php on line 159
GO_Base_Router::runController in file /var/zpanel/hostdata/zadmin/public_html/rapidoffice_co/groupoffice/index.php on line 73
fischli
Posts: 36
Joined: Tue Apr 22, 2014 10:06 am

Re: Newsletter Stuck Sending

Postby fischli » Thu Jul 17, 2014 5:19 am

It seems that you have disabled exec() in your php.ini. Take a look at the "disable_functions" entry in your php.ini.
rapidpage
Posts: 4
Joined: Thu Jun 26, 2014 4:35 am

Re: Newsletter Stuck Sending

Postby rapidpage » Thu Jul 17, 2014 11:46 am

SUCCESS!

I searched the zpanel forum:

RE: How to enable PHP function exec() ?
Your zpanel installation -> Module admin -> Apache Config -> "Override a Virtual Host Setting" -> Select your domain -> Uncheck "Suhosin Enabled" -> Save Vhost.

Wait for the daemon to run and you're ready to go!

Cheers,
Ramon

I will do the same for my cpanel installation, thanks for the help and software! :D
fischli
Posts: 36
Joined: Tue Apr 22, 2014 10:06 am

Re: Newsletter Stuck Sending

Postby fischli » Thu Jul 17, 2014 2:07 pm

If you disable Suhosin, then you are loosing an additional security layer. You should be certain about this step.
rapidpage
Posts: 4
Joined: Thu Jun 26, 2014 4:35 am

Re: Newsletter Stuck Sending

Postby rapidpage » Thu Jul 17, 2014 4:31 pm

Is there a way of enabling one without disabling the other?

Who is online

Users browsing this forum: Majestic-12 [Bot] and 5 guests