I have not upgraded to 3.0.12 yet because I haven’t figured out how to use the remote processing ‘secret’. In 3.0.10. I currently use the following cron job:
What I don’t understand is where you configure ‘secret’ in the config file. One post implied that it was in Config > Settings > Security but I didn’t find anything in config.php or config.extended.php. I searched the forum and the documentation for ‘secret’ and couldn’t find the answer. Can someone tell me where to configure ‘secret’ so the cron job can use it?
In 3.0.12, the ‘secret’ is found by going into the settings page (“Config”, “Settings”), and it’s about the 5th or 6th field down… in the security settings box.
I am using the same config file I used with 3.0.10 and am receiving the following error:
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 2728 0 2728 0 0 5705 0 --:--:-- --:--:-- --:--:-- 5719
100 2728 0 2728 0 0 5704 0 --:--:-- --:--:-- --:--:-- 5719
**This page can only be called from the commandline**
My config file was set to not allow command line processing.
define ("MANUALLY_PROCESS_QUEUE",0);
Should something be changed to allow 3.0.12 to work from cron?
I discovered that it’s not just a cron job I’m having a problem with, I can’t manually process the queue from the dashboard either. I’m out of ideas to try.
you would want to turn the 'manually_process_queue to ‘1’, in that the curl command uses the web interface (at least that is what phpList thinks is happening).
Once it is working, you will need to set your cron job for once a minute…
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
without the error stating “This page can only be called from the commandline.” However, the message was still not sent.
Based on the results, it looks like there is nothing in the queue that is sendable.
Can you create a simple campaign, and submit it to a test list, and then try that curl command?
It should process the queue, and the queue should have something in it… looks like you are getting closer.
I have a test message in the queue (I’m on m sixth test message.). The Dashboard says “You have 1 message(s) waiting to be sent” and when I click the View the queue button the message is listed. The problem is really frustrating me because I can’t manually process the message in the queue either (the icon spins forever.) I was originally using the same config file I used with 3.0.10. Yesterday, I went through the new extended config item by item and still could not process the queue (automatically or manually.)