I should mentioned that the article class does in fact have a datetime attribute named unpublish_date. It is the default article class that ships with ezp 3.9.2.
www.dbinformatics.com.au
We are always interested in hearing from experienced eZ PHP programmers and eZ template designers interested in contract work.
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:
# /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!
You must be logged in to post messages in this topic!