Workflow cronjob script error

Author Message

Softriva .com

Monday 19 June 2006 8:11:16 am

I made a simple workflow to implement content approval mechanism and then ran the cronjob script and I got the follow error. Can you help?

Using siteaccess tscm for cronjob
Running cronjobs/workflow.php
Checking for workflow processes
Status list
Workflow event deferred to cron job(4): 1

0 out of 1 processes was finished

Running cronjobs/notification.php
Starting notification event processing

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 11520 bytes) in /home/oozy/www/html/chess/lib/eztemplate/classes/eztemplate.php on line 2355

Fatal error: eZ publish did not finish its request
The execution of eZ publish was abruptly ended, the debug output is present below.
Notice: (eZMySQLDB::query(0.000 ms) query number per page:0)
SET NAMES 'utf8'

Timing: ()
Script cronjobs/workflow.php starting

Error: (eZWorkflowType::attribute)
Attribute 'activation_date' does not exist

Timing: ()
Script cronjobs/workflow.php done

Timing: ()
Script cronjobs/notification.php starting

Script cronjobs/workflow.php starting 0.0000 sec0.1331 sec

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 138 bytes) in /home/oozy/www/html/chess/lib/ezutils/classes/ezdebug.php on line 1444
Allowed memory size of 8388608 bytes exhausted (tried to allocate 154 byte

Softriva .com

Monday 19 June 2006 8:26:31 am

I increased the memory limit and max exu time and the issue is resolved

max_execution_time = 60 
memory_limit = 20M

However, the workflow does not work. I mean the content is still not approved. See below:

~/www/html/chess$ php4 runcronjobs.php -s tscm

Using siteaccess tscm for cronjob
Running cronjobs/workflow.php
Checking for workflow processes
Status list
Workflow event deferred to cron job(4): 1

0 out of 1 processes was finished

Running cronjobs/notification.php
Starting notification event processing
Done

Running cronjobs/linkcheck.php
Checking link ...
check-http://ez.no/ez_publish/documentation valid
check-http://ez.no/community/forum valid
check-http://ez.no/services/support valid
check-http://ez.no/services/consulting valid
check-http://ez.no/services/training valid
check-http://ez.no valid
All links have been checked!

Running cronjobs/unpublish.php

Running cronjobs/rssimport.php

Running cronjobs/indexcontent.php
Starting processing pending search engine modifications
Done

Running cronjobs/hide.php

Running cronjobs/subtreeexpirycleanup.php

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