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) »
  • cli cron: Class 'CRM_Utils_System_Drupal' not found
Pages: 1 2 [3]

Author Topic: cli cron: Class 'CRM_Utils_System_Drupal' not found  (Read 9056 times)

Clifford Meece

  • I’m new here
  • *
  • Posts: 15
  • Karma: 0
Re: cli cron: Class 'CRM_Utils_System_Drupal' not found
March 01, 2012, 07:01:36 pm
Having the same problem here.  Can't send out any email. Any eta on a fix?

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: cli cron: Class 'CRM_Utils_System_Drupal' not found
March 01, 2012, 10:42:27 pm
Hi,

The problem is that we don't see your problem and we can't reproduce it.

We will need your help (or you will need to wait on someone else having the problem) to be able to do the debug and spot where the problem is.

X+
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: cli cron: Class 'CRM_Utils_System_Drupal' not found
March 02, 2012, 11:34:55 am
The problem Clifford described was not very similar to the others :

[03:12] <cliffordmeece> i get html out put on the command line when i test the cli.php script that basically says: The site is currently not available due to technical problems. Please try again later. Thank you for your understanding.<

I'ts not coming from CiviCRM...
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

planigan

  • I post occasionally
  • **
  • Posts: 37
  • Karma: 1
    • Allegheny CleanWays
  • CiviCRM version: 4.1.0
  • CMS version: Drupal 6.24
  • MySQL version: 5.0.90
  • PHP version: 5.2.13
Re: cli cron: Class 'CRM_Utils_System_Drupal' not found
March 02, 2012, 05:48:38 pm
Here is the backtrace that resulted from placing var_dump right before $job->saveLastRun(); on line 118:

http://www.alleghenycleanways.org/cron_log

My command line is

Code: [Select]
cli.php -j -u <username> -p <password> -e Job -a execute >> cron_log
I'm at the same point as Carlo. Does this help shed any light?
« Last Edit: March 02, 2012, 05:51:21 pm by planigan »

Clifford Meece

  • I’m new here
  • *
  • Posts: 15
  • Karma: 0
Re: cli cron: Class 'CRM_Utils_System_Drupal' not found
March 03, 2012, 07:50:52 pm
Quote from: Eileen on March 02, 2012, 11:34:55 am
The problem Clifford described was not very similar to the others :

[03:12] <cliffordmeece> i get html out put on the command line when i test the cli.php script that basically says: The site is currently not available due to technical problems. Please try again later. Thank you for your understanding.<

I'ts not coming from CiviCRM...

No, I was getting the same error as the people in this thread which is why I posted here.  After upgrading to 4.1.1 the error message has changed.  The question I asked in IRC which you copied here is the 'new' error message, and I created a separate thread for that.

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: cli cron: Class 'CRM_Utils_System_Drupal' not found
March 04, 2012, 01:24:17 pm
AH, Ok - I was a bit confused about that.

So there seem to be 2 bugs still - the one coming from

var_dump right before $job->saveLastRun(); on line 118:

& the one you are having.
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

Carlo Landmeter

  • I post occasionally
  • **
  • Posts: 31
  • Karma: 3
Re: cli cron: Class 'CRM_Utils_System_Drupal' not found
March 05, 2012, 03:36:04 am
Quote from: Eileen on March 04, 2012, 01:24:17 pm
AH, Ok - I was a bit confused about that.

So there seem to be 2 bugs still - the one coming from

var_dump right before $job->saveLastRun(); on line 118:

& the one you are having.

I already emailed you last week the debug log. Not sure you got my email?

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: cli cron: Class 'CRM_Utils_System_Drupal' not found
March 05, 2012, 12:14:58 pm
Yes, I did - although I haven't worked through it yet. There's another one posted on this thread too now.
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: cli cron: Class 'CRM_Utils_System_Drupal' not found
March 14, 2012, 12:44:01 pm
There were some issues in cli.php - described and fixed here:
http://issues.civicrm.org/jira/browse/CRM-9822

Basically, the 'execute' action wasn't handled properly IF the -j parameter was passed (to enable logging). As it turns out, -j is NOT needed for the execute action (i.e run all currently scheduled jobs) - this method ALWAYS enables logging. With the committed fix though you can pass it or not for 'execute'. -j works as advertised for single job runs (no logging without it). I've also updated the wiki doc at:

http://wiki.civicrm.org/confluence/display/CRMDOC41/Managing+Scheduled+Jobs

Would be great if some of you can grab the changes and test in your environment.
Protect your investment in CiviCRM by  becoming a Member!

Pages: 1 2 [3]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • CiviMail installation and configuration (Moderator: Donald Lobo) »
  • cli cron: Class 'CRM_Utils_System_Drupal' not found

This forum was archived on 2017-11-26.