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) »
  • Emailprocessor activities - error with cli cron script
Pages: [1]

Author Topic: Emailprocessor activities - error with cli cron script  (Read 1169 times)

myles

  • I post frequently
  • ***
  • Posts: 263
  • Karma: 11
Emailprocessor activities - error with cli cron script
June 14, 2011, 07:27:52 am
I can run the script from the command line (ssh) and it works...

As far as I can tell cron user and ssh user are the same (root)

From cron I get an email detailing progress -

First it retrieves the emails just fine, then I get this line repeated 4 times:

PHP Notice:  Undefined index:  REMOTE_ADDR in /home/ablaze/domains/ablazepartners.org/public_html/includes/bootstrap.inc on line 1317

But I've read somewhere that that one doesn't matter

Then :

PHP Parse error:  syntax error, unexpected T_ENDIF in /home/ablaze/domains/ablazepartners.org/public_html/includes/common.inc(1696) : eval()'d code on line 4

and then it spews out the source of the drupal site.

It doesn't process the emails.

This issue only happens with the autofiling (activities) parameter, it handles the returns channel without error - or at least it appears to and does not report an error!

I've set the cron job for the activities to run every 4 minutes and the returns channel processing to run every 15 minutes to avoid conflict - though the timings could probably do with being reviewed.

Any ideas?
« Last Edit: June 14, 2011, 10:07:42 am by myles »

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • CiviMail installation and configuration (Moderator: Donald Lobo) »
  • Emailprocessor activities - error with cli cron script

This forum was archived on 2017-11-26.