Just as a test, you can run these 2 commands from an SSH window and see what happens.
I suggest queuing a test email being sent to only a few addresses of your own.
cd '/home3/realpas1/public_html/krazytee/lists/admin/'
php -q index.php -p processqueue -c/home3/realpas1/public_html/krazytee/lists/config/config.php > /dev/null
what do you mean by this? If the output looks like html then it is likely that you are running the wrong version of php. You need to ask your hosting company how to run php-cli (command line).
that is what I thought too. My hosting company was far from helpful on how to use php cli though. Is there a switch that you can use to go over to the other version. To use regular php all we need to do is.
What Scott and I are suffering from is it not actually processing. It is obviously find the file and is running it but looks like it runs as a html (hence the big output) but not actually the php. I get the error that it works better in command line so it not using that version. I think the solution is to use php cli I think. anyone have any idea how to do that though?
why for the life of me the tech support at blue host could not have told me that in 5 seconds and wasted literally 9 hours of real time chat telling me to go look at articles is beyond me
thank you again DUNCANC !!!
ps. i have noticed that hostdime my other hosting company when installing phplist through “softaculous” it creates the cron for you with the proper php command when you install it.
why wont bluehost just do the same. this cron is a major function of the software and for bluehost not to remedy this problem is rediculous. its been the same cron script for phplist for ever.
sco77m4r7in, most shared hosts will not allow phplist to run, if you do try it eventually it will get shut down. Actually most VPS plans dont allow that either if u look at it closely but some hosts turn a blind eye to them. let me know if ure looking for a host i can recommend you mine, hes cheaper then phplist but more expensive then shared hosts…
I have kept it 5 minutes…I am sure it is scheduled because time stamp of processqueue.log is changing after every 5 minutes.
Let me brief what I have done so far. I scheduled around 5000 email keeping MAILQUEUE_BATCH_SIZE as 300. When after first 300, queue did not process. I realized I have to setup a cron job. I stopped (i.e. paused) the process. Did some troubleshooting to schedule a cron job. Seeing your suggestion in this thread, I finally put the command as you suggested. Now there is no error message in processqueue.log. I resubmit the campaign. It shows Submitted 4725 still to process. The queue is not being processed. Time stamp of processqueue.log keeps changing.
Now I have a fresh installation of latest PHPList. Obviously I used the same command with new path to index.php but I got following error in processqueue.log and queue was not getting processed…
Content-type: text/html
Warning: commandline only works well with the cli version of PHPCannot find config file
So I started searching for cli version of command…that is how I reached to this thread. Now I used the command you suggested. There is no error in processqueue.log but queue is still not getting processed.
Where am I going wrong? it is hosted on hostmonster. Should I talk to server support?
Warning: commandline only works well with the cli version of PHP
Queue is still not getting processed. campaign is still in submitted state
As chat with hostmonster was closed so I could not give him feedback…I am not sure if the command he has advised is right because warning is still there.