CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • PHP/MySQL Errors in Drupal Log When Using cicmail.cronjob.php
Pages: [1]

Author Topic: PHP/MySQL Errors in Drupal Log When Using cicmail.cronjob.php  (Read 379 times)

realEuph

  • I’m new here
  • *
  • Posts: 1
  • Karma: 0
  • CiviCRM version: 3.4
  • CMS version: Drupal V6.22
  • MySQL version: 5.0.91
  • PHP version: 5.2.17
PHP/MySQL Errors in Drupal Log When Using cicmail.cronjob.php
February 16, 2012, 03:02:42 pm
There are errors in my Drupal log whenever I run civimail.cronjob.php to send out reminder notices. The errors correspond exactly to what is listed in bug #9511 (see issues.civicrm.org/jira/browse/CRM-9511). I applied the patch and (separately) commented out the 'if' block in 'civicrm_member_roles_cron()' without any change to the errors.

The logged events are (in listed order):
1. Session opened for autoSite-MemberUpdate. [account for handling cron jobs]

2. You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near &#039;OR format = 1&#039; at line 1 query: SELECT * FROM filter_formats WHERE OR format = 1 in /<drupal root>/includes/database.mysqli.inc on line 134.

3. Invalid argument supplied for foreach() in /<drupal root>/modules/filter/filter.module on line 306.


Using CiviCRM V3.4 and Drupal V6.22. I am not sure how to test this on the demo site.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • PHP/MySQL Errors in Drupal Log When Using cicmail.cronjob.php

This forum was archived on 2017-11-26.