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 »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Failure to set up the cron job
Pages: [1]

Author Topic: Failure to set up the cron job  (Read 841 times)

junzhang

  • Guest
Failure to set up the cron job
June 14, 2010, 10:58:08 pm
My version: CiviCRM 3.0.2, Joomla 1.5.9

I followed the documentation (http://wiki.civicrm.org/confluence/display/CRMDOC30/CiviMail+Installation) to set up the cron job.

I've set my site key and run the following code in browser in order to test running mail queue.
http://<site>/administrator/components/com_civicrm/civicrm/bin/civimail.cronjob.php?name=<name>&pass=<pass>&key=<key>

But I got

Warning: require_once(C:\server\htdocs\sr\administrator\components\com_civicrm\civicrm.settings.php) [function.require-once]: failed to open stream: No such file or directory in /home/srserv01/public_html/administrator/components/com_civicrm/civicrm/civicrm.config.php on line 2

Fatal error: require_once() [function.require]: Failed opening required 'C:\server\htdocs\sr\administrator\components\com_civicrm\civicrm.settings.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/srserv01/public_html/administrator/components/com_civicrm/civicrm/civicrm.config.php on line 2


In addition, when I run http://<site>/administrator/index.php?option=com_civicrm&task=civicrm/mailing/queue&reset=1, I got

Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 13 bytes) in /home/srserv01/public_html/administrator/components/com_civicrm/civicrm/packages/DB/DataObject.php on line 562

Any help, please?

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: Failure to set up the cron job
June 15, 2010, 07:48:44 am

1. u might want to upgrade to the more recent version of 3.1.5

2. you should increase your php.ini memory to 128M or mail if using CiviMail

3. seems like you moved your install from one server to another? the paths seem different: C:\server\ ... vs /home/srserv01

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

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Failure to set up the cron job

This forum was archived on 2017-11-26.