Approve Content

Author Message

David Bühn

Monday 06 December 2010 12:48:46 pm

Hello,

I want to approve content from my partners. So I created a workflow, assigned the administrator to approve it, and configured the trigger to content/publish/before. Then I started the runcronjobs.php.

When I tested it with an editor, the new entry doesn't show up, as planed. But the Administrator has no Objects in his pending list.

When I look at the workflow-process list, a new entry appears "status (4): Event deferred to cron job..."

What is wrong?

Best regards,

David

(I use eZ Publish 4.3.0)

Nicolas Pastorino

Tuesday 07 December 2010 1:13:27 am

Hi David, and welcome to the eZ Community !

Could you tell us how you run the runcronjobs.php script ? (ideally give us the command line you used). What i am looking at checking here is whether you properly passed the '-s' option, standing for 'siteaccess'. This might be the cause.

Let us know,
Cheers,

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye

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 18 2025 10:41:53
Script start
Timing: Jan 18 2025 10:41:53
Module start 'layout'
Timing: Jan 18 2025 10:41:53
Module start 'content'
Timing: Jan 18 2025 10:41:53
Module end 'content'
Timing: Jan 18 2025 10:41:53
Script end

Main resources:

Total runtime0.0171 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0055 589.0234152.6250
Module start 'layout' 0.00550.0037 741.648439.4531
Module start 'content' 0.00920.0056 781.101689.3359
Module end 'content' 0.01480.0023 870.437530.2891
Script end 0.0170  900.7266 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002816.4684140.0002
Check MTime0.00137.4240140.0001
Mysql Total
Database connection0.00084.907410.0008
Mysqli_queries0.002917.030430.0010
Looping result0.00000.134210.0000
Template Total0.00179.710.0017
Template load0.00105.905610.0010
Template processing0.00063.807110.0006
Override
Cache load0.00074.303410.0007
General
dbfile0.00021.438780.0000
String conversion0.00000.060140.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