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 (Moderator: Dave Greenberg) »
  • cron problem j-2.5.9 civi-4.3.4
Pages: [1]

Author Topic: cron problem j-2.5.9 civi-4.3.4  (Read 3261 times)

michael.hermary

  • I’m new here
  • *
  • Posts: 2
  • Karma: 0
  • CiviCRM version: 4.3.4
  • CMS version: Joomla 2.5.9
  • MySQL version: 5.5.32
  • PHP version: 5.3.26
cron problem j-2.5.9 civi-4.3.4
August 26, 2013, 11:42:36 am
I am not able to get cron jobs running. I am stuck here.

Fatal error: Call to a member function callApi() on a non-object in /<site-root>/administrator/components/com_civicrm/civicrm/bin/cli.php on line 30


from cli.php

...
require_once ('cli.class.php');
$cli = new civicrm_cli();
$cli->initialize() || die( 'Died during initialization' );
$cli->callApi() || die( 'Died during callApi' );

between the third line of code and the fourth line of code $cli becomes a non-object.

I have seen a few references to this problem but no resolution. Has anyone found a fix for this?

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 problem j-2.5.9 civi-4.3.4
August 26, 2013, 02:34:53 pm

can u print the cli object before and after the initialize call

also what version of php and are u using a php optimizer?

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

michael.hermary

  • I’m new here
  • *
  • Posts: 2
  • Karma: 0
  • CiviCRM version: 4.3.4
  • CMS version: Joomla 2.5.9
  • MySQL version: 5.5.32
  • PHP version: 5.3.26
Re: cron problem j-2.5.9 civi-4.3.4
August 28, 2013, 10:09:26 am
checked again and it is not being returned,
.
php 5.3.26

no php optimizer
« Last Edit: August 28, 2013, 07:41:08 pm by michael.hermary »

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM (Moderator: Dave Greenberg) »
  • cron problem j-2.5.9 civi-4.3.4

This forum was archived on 2017-11-26.