I’m using 3.6.14 on a system with AlmaLinux 9.3 installed, latest stable releases of Mariadb 10.x and PHP 8.2.
This script has worked fine for several months.
Suddenly, this past weekend, an email message to about 1,200 subscribers (which has worked before) stalled. Process the queue doesn’t process the queue. Suspending and resuming queue doesn’t work. Suspending and sending a different message doesn’t work.
I can send individual test messages, but processing the queue doesn’t.
Try enabling verbose output, by adding this line, or changing if it already exists, in the config.php file. Then process the queue to send a campaign. The Event Log page will have more-detailed output that might show why phplist is not sending.
define('VERBOSE', 1);
Also, please explain exactly what happens and what is logged when you process the queue with at least one active campaign.
You should have at least lines similar to this in the event log
One campaign to process.
Processing has started,
I guess that phplist might be failing for some reason. There might be a php error log file in the admin directory which may help, but otherwise I think you will need to raise the problem with whoever administers your system.
@GeneSteinberg Try enabling php error reporting by editing file admin/init.php. Change line 9 to
error_reporting(-1);
Also, are you processing the queue through the admin interface in a browser? Try using the command line on the server, if you have access. Depending on whereabouts php is installed the command will be simlar to
phpList - phpList version 3.6.14 (c) 2000-2024 phpList Ltd, https://www.phplist.com
phpList - A process for this page is already running and it was still alive 0 seconds ago
phpList - Running commandline, quitting. We’ll find out what to do in the next run.
So evidently that process has stalled, so I can resume the queue or start a new one.
So how do we do that. Locate a stalled process? What?
phpList - phpList version 3.6.14 (c) 2000-2024 phpList Ltd, https://www.phplist.com
phpList - A process for this page is already running and it was still alive 0 seconds ago
phpList - Running commandline, quitting. We’ll find out what to do in the next run.
This should clear itself after 10 minutes but you can clear it straightaway by deleting all rows from the phplist_sendprocess table in the database.
But this does confirm that the process is failing for some reason.
In phpmyadmin, do a check of all the tables in the database. There might be something wrong, maybe with the sendprocess table.