Workflow not working at all

Author Message

Pratibha Gannavarapu

Friday 21 April 2006 1:36:01 am

Hi
I am experiencing some major problem here with workflows. I have a simple workflow setup which requires admin approval for new content that is created. The whole workflow system looks to be working fine till the administrator approves the content object. But after approving the status of the object does not get updated to 'published' because of which the item still remains in 'my pending items'. Am I missing out any steps that are necessary in here? Can some one help!!??
Cheers
Pgan

Bertrand Dunogier

Friday 21 April 2006 2:49:07 am

Have you run the runcronjobs.php script ? This one should execute cronjobs/workflow.php and will take care of moving the relevant items to the next workflow step (in your case, publish the object).

Bertrand Dunogier
eZ Systems Engineering, Lyon
http://twitter.com/bdunogier
http://gplus.to/BertrandDunogier

Pratibha Gannavarapu

Sunday 23 April 2006 6:13:43 pm

Yes I tried running the cron jobs script and I get the following error:
Fatal error: Call to a member function on a non-object in /ezpublish/kernel/classes/ezworkflowprocess.php on line 429

I have also tried placing the code in index.php to run the cron once every 2 hours
http://ez.no/products/ez_publish/documentation/configuration/configuration/cron_jobs

Though the script is executing the workflow is not completing..

:(

thomas BAILLEUL

Monday 21 August 2006 8:16:11 am

I have still the same problem, I've tried to launch runcronjobs.php with php interpreter(OS:XP)
but it doesn't not work!
my pending list is not empty at all!
if someone could answer us I will appreciate
thks

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 20 2025 04:02:20
Script start
Timing: Jan 20 2025 04:02:20
Module start 'layout'
Timing: Jan 20 2025 04:02:20
Module start 'content'
Timing: Jan 20 2025 04:02:20
Module end 'content'
Timing: Jan 20 2025 04:02:20
Script end

Main resources:

Total runtime0.0211 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0077 589.1484152.6250
Module start 'layout' 0.00770.0032 741.773439.4453
Module start 'content' 0.01100.0078 781.218889.2891
Module end 'content' 0.01880.0023 870.507834.3047
Script end 0.0211  904.8125 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002913.6319140.0002
Check MTime0.00146.5758140.0001
Mysql Total
Database connection0.003416.191510.0034
Mysqli_queries0.002913.660130.0010
Looping result0.00000.071210.0000
Template Total0.00188.410.0018
Template load0.00094.488610.0009
Template processing0.00083.915710.0008
Override
Cache load0.00062.938210.0006
General
dbfile0.002310.716380.0003
String conversion0.00010.250940.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs