Users reported that CiviMail is not pushing their messages. The scheduled mailings have Started, but not Completed. When I go to scheduled jobs and manually execute the Send Scheduled Mailings, it refreshes the page but doesn't send the mail. When I go to my host control panel and initiate the Cron manually, I receive the following error:
Notice: A session had already been started - ignoring session_start() in /home/mysite/www/www/includes/session.inc on line 287
I found a few "solutions" via Google that involve editing the session start php code.
For instance I entered this into the root php.ini file:
if(!isset($_SESSION))
{
session_start();
}
It clears the error when running the cron manually, but it doesn't actually send the pending messages in Civi.
The log says:
Parameters parsed (and passed to API method): a:1:{s:7:"version";i:3;}
Full message: Finished execution of Send Scheduled Mailings with result: Failure, Error message: DB Error: syntax error
There was another "solution" to add "php_flag session.auto_start 0" to the .htaccess file. When I tried that, it gave me server not found errors when trying to access the site.
I also cleared my _sessions table to see if that fixed the issue. No dice.
Does anyone have a possible solution to this issue? Thank you.
Civi 4.7.12 Drupal 7.51
Edit: 10-29-16 / 2159 to add log error message.