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) »
  • Can not get the cron to work with joomla 1.73 and CiviCRM 4.1.beta3
Pages: [1]

Author Topic: Can not get the cron to work with joomla 1.73 and CiviCRM 4.1.beta3  (Read 1127 times)

oak

  • I’m new here
  • *
  • Posts: 11
  • Karma: 0
  • CiviCRM version: 4.1
  • CMS version: Joomla 1.7
  • MySQL version: 5.0.92
  • PHP version: PHP 5.3.6 (cli) (built: Sep 12 2011 18:02:42)
Can not get the cron to work with joomla 1.73 and CiviCRM 4.1.beta3
March 09, 2012, 10:43:36 pm
I can fire the cron job through the web interface, but when I run the shell script - oh no !...

php cli.php -e Job -a execute -u MyUser -p MyPassword

PHP Notice:  Undefined variable: limit in ...PathToSite.../MyWebSite/administrator/components/com_civicrm/civicrm/CRM/Utils/System/Joomla.php on line 449
PHP Notice:  Undefined variable: cli in ...PathToSite.../MyWebSite/administrator/components/com_civicrm/civicrm/bin/cli.php on line 30
PHP Fatal error:  Call to a member function callApi() on a non-object in ...PathToSite.../MyWebSite/administrator/components/com_civicrm/civicrm/bin/cli.php on line 30

For those curious: line 30 of cli.php says:
$cli->callApi( ) || die(  );

Please advice

Dennis Gray

  • Ask me questions
  • ****
  • Posts: 472
  • Karma: 1
  • CiviCRM version: Various. See post.
  • CMS version: Drupal, Wordpress and Joomla. See post.
  • MySQL version: TBA
  • PHP version: TBA
Re: Can not get the cron to work with joomla 1.73 and CiviCRM 4.1.beta3
March 20, 2012, 09:20:25 pm
Having the same problem. CiviCRM is 4.1 stable

I'm following the documentation at: http://wiki.civicrm.org/confluence/display/CRMDOC41/Managing+Scheduled+Jobs

« Last Edit: March 20, 2012, 09:37:30 pm by Ozyank »

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM (Moderator: Dave Greenberg) »
  • Can not get the cron to work with joomla 1.73 and CiviCRM 4.1.beta3

This forum was archived on 2017-11-26.