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 »
  • Installing CiviCRM »
  • CiviMail installation and configuration (Moderator: Donald Lobo) »
  • CRON throwing errors running civimail and EmailProc
Pages: [1]

Author Topic: CRON throwing errors running civimail and EmailProc  (Read 1658 times)

felixmartel

  • I post occasionally
  • **
  • Posts: 47
  • Karma: 0
  • CiviCRM version: 3.4.7
  • CMS version: Drupal 6.31
  • MySQL version: 5.1.54
  • PHP version: 5.3.5
CRON throwing errors running civimail and EmailProc
December 20, 2011, 10:54:17 am
I'm getting errors every time cron runs the civimail tasks. Mail is going out, but these errors are annoying !

My cron jobs are set as follows:

Code: [Select]
*/5 * * * *  cd /var/www/prod/sites/all/modules/civicrm; nice -n19 /usr/bin/php bin/civimail.c$
*/15 * * * * cd /var/www/prod/sites/all/modules/civicrm; nice -n19 /usr/bin/php bin/EmailProc$

Code: [Select]
PHP Notice:  Trying to get property of non-object in /var/www/prod/sites/all/modules/civicrm/CRM/Utils/System/Drupal.php on line 297
PHP Notice:  Trying to get property of non-object in /var/www/prod/sites/all/modules/civicrm/CRM/Utils/System/Drupal.php on line 298
PHP Notice:  Trying to get property of non-object in /var/www/prod/sites/all/modules/civicrm/CRM/Utils/System/Drupal.php on line 299
PHP Notice:  Trying to get property of non-object in /var/www/prod/sites/all/modules/civicrm/CRM/Utils/System/Drupal.php on line 302
PHP Notice:  Undefined offset: 0 in /var/www/prod/sites/all/modules/civicrm/CRM/Core/I18n/PseudoConstant.php on line 59
PHP Notice:  Undefined index: REMOTE_ADDR in /var/www/prod/includes/bootstrap.inc on line 1669
PHP Notice:  Undefined index: REMOTE_ADDR in /var/www/prod/includes/bootstrap.inc on line 1669
PHP Notice:  Undefined index: REMOTE_ADDR in /var/www/prod/includes/bootstrap.inc on line 1669
PHP Notice:  Undefined index: REMOTE_ADDR in /var/www/prod/includes/bootstrap.inc on line 1669
PHP Notice:  Undefined index: REMOTE_ADDR in /var/www/prod/includes/bootstrap.inc on line 1669
PHP Notice:  Undefined index: REMOTE_ADDR in /var/www/prod/includes/bootstrap.inc on line 1669

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: CRON throwing errors running civimail and EmailProc
December 20, 2011, 08:15:54 pm

these are PHP notices which you can ignore. we've made a strong effort to get rid of these notices in 4.1 (whch is currently in alpha, so would be great if you can help test it and ensure that you are not seeing these notices)

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

felixmartel

  • I post occasionally
  • **
  • Posts: 47
  • Karma: 0
  • CiviCRM version: 3.4.7
  • CMS version: Drupal 6.31
  • MySQL version: 5.1.54
  • PHP version: 5.3.5
Re: CRON throwing errors running civimail and EmailProc
December 21, 2011, 05:23:11 am
I'm on Drulap 6, so I don't think I can move to 4.x, unless that's changed recently...

felixmartel

  • I post occasionally
  • **
  • Posts: 47
  • Karma: 0
  • CiviCRM version: 3.4.7
  • CMS version: Drupal 6.31
  • MySQL version: 5.1.54
  • PHP version: 5.3.5
Re: CRON throwing errors running civimail and EmailProc
December 21, 2011, 05:26:19 am
Just noticed that 4.1 is compatible with D6. What's the upgrade process like ? I guess I'll try it out on my dev server. Have to check with Koumbit first though, as they did some custom code for us...

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • CiviMail installation and configuration (Moderator: Donald Lobo) »
  • CRON throwing errors running civimail and EmailProc

This forum was archived on 2017-11-26.