Cant run runcronjobs.php (Fatal Error)

Author Message

Arran Price

Monday 13 September 2004 4:37:02 pm

Hi,

Ive been using ezpublish and have been impressed with it so far, however Ive just struck my first problem. I am running a debian linux system with apache-perl and php4 (php4-cli installed to get the script to run from command line).
I need to get runcronjobs.php to work to ensure workflows etc work the way they should, however I get the following error:

/var/www/ezpublish# php runcronjobs.php
Fatal error: eZ publish did not finish it's request
The execution of eZ publish was abruptly ended, the debug output is present below.

No debug information follows and I dont have alot to go on.
I did determine (through the use of print statements) that the code fails on this line:
$script->initialize();

Ive seen a number of postings with issues on this particular script however of the more relevant posts none of the solutions offered have worked.

Any assistance would be greatly appreciated.

cheers

Arran

Bruce Morrison

Tuesday 14 September 2004 1:20:14 am

Have you tried runing the script with the debug switch?

php runcronjobs.php -d

Cheers
Bruce

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish

Arran Price

Tuesday 14 September 2004 1:51:20 pm

I knew I forgot to add something to the post:
Heres with: php runcronjobs.php -d

Fatal error: eZ publish did not finish it's request
The execution of eZ publish was abruptly ended, the debug output is present below.
No timing points defined
Group ini_load:
Load cache: 0.0378 sec (60.1594%), 0.0378 avg sec (1)

Total script time: 0.0629 sec

Eckhard Schnell

Tuesday 14 September 2004 10:52:22 pm

Hello,

have you checked if the database extension in php.ini is enabled?
(extension=mysql.so)
After an upgrade of php-cli maybe the setting you have made before are gone.
You find your php.ini file for the php-cli environment with the following command
php -i | grep php.ini

You should also check that the memory_limit value is sufficient
for example
memory_limit = 30M

Greetings
Eckhard
http://www.all4e.de

Eckhard Schnell
Siemens Business Services http://www.sbs.de
Privat: http://www.2schnell.de

Arran Price

Wednesday 15 September 2004 4:23:34 pm

thanks Eckhard,
that appears to have been the problem.

have now successfully run runcronjobs.php.

thanks alot for your help!

cheers

Arran

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.