Monday 03 December 2007 8:13:25 am
Same problem :)
I'm using eZ 3.9.0 and want the cronjob to unpublish some pictures in a gallery.
The image class includes a date/time attribute named "unpublish_date". My <override>/content.ini.append.php looks like:
[UnpublishSettings]
RootNodeList[]=2 (RootNode)
ClassList[]=5 (Image class)
But if I run the cronjob I always get an error:
# /usr/bin/php4 runcronjobs.php --unpublish
# Running cronjobs/unpublish.php
# Fatal error: Call to a member function on a non-object in /<path-to-ez>/cronjobs/unpublish.php on line 53
# Fatal error: eZ publish did not finish its request
# The execution of eZ publish was abruptly ended, the debug output is present below.
Any ideas?
Thanks for your help, Philip
Linux is like a wigwam; no windows, now gates, and apache inside!
|