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.

eZ debug

Timing: Jan 19 2025 00:32:54
Script start
Timing: Jan 19 2025 00:32:54
Module start 'layout'
Timing: Jan 19 2025 00:32:54
Module start 'content'
Timing: Jan 19 2025 00:32:55
Module end 'content'
Timing: Jan 19 2025 00:32:55
Script end

Main resources:

Total runtime0.8317 sec
Peak memory usage4,096.0000 KB
Database Queries52

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0053 587.9063152.6250
Module start 'layout' 0.00530.0033 740.531339.4453
Module start 'content' 0.00860.8217 779.9766439.2969
Module end 'content' 0.83030.0013 1,219.27348.1641
Script end 0.8317  1,227.4375 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.3832160.0002
Check MTime0.00130.1557160.0001
Mysql Total
Database connection0.00060.074210.0006
Mysqli_queries0.770092.5733520.0148
Looping result0.00080.0932500.0000
Template Total0.779693.720.3898
Template load0.00230.276120.0011
Template processing0.777393.454520.3886
Template load and register function0.00020.024110.0002
states
state_id_array0.00130.151210.0013
state_identifier_array0.00130.154320.0006
Override
Cache load0.00200.2369330.0001
Sytem overhead
Fetch class attribute can translate value0.00080.096810.0008
Fetch class attribute name0.00090.103820.0004
XML
Image XML parsing0.00020.018110.0002
class_abstraction
Instantiating content class attribute0.00000.000720.0000
General
dbfile0.01672.0061100.0017
String conversion0.00000.001240.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
11content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
8content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 25
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs