cronjob error

Author Message

Sebastiaan van der Vliet

Thursday 10 July 2003 3:22:07 pm

Hi, when i run the runcronjob.php from the browser after approving an item i get the following error:

Notice: Undefined variable: argv in /var/stuff/www/morestuff/public_html/runcronjobs.php on line 95
Running cronjobs/workflow.php
Checking for workflow processes
4 workflow process status
Fatal error: Cannot redeclare class ezpublishtype in /var/stuff/www/morestuff/public_html/kernel/classes/notification/event/ezpublish/ezpublishtype.php on line 47
Fatal error: eZ publish did not finish it's request

Then when I run it the second time, the cronjob works fine, no errors. But the item I approved is back in my collaboration list, and I need to approve it again. And then the story starts all over again from the beginning.

Any ideas to solve this problem?
Thanks!

Certified eZ publish developer with over 9 years of eZ publish experience. Available for challenging eZ publish projects as a technical consultant, project manager, trouble shooter or strategic advisor.

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 15:50:18
Script start
Timing: Jan 18 2025 15:50:18
Module start 'layout'
Timing: Jan 18 2025 15:50:18
Module start 'content'
Timing: Jan 18 2025 15:50:19
Module end 'content'
Timing: Jan 18 2025 15:50:19
Script end

Main resources:

Total runtime0.7726 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0049 588.9063152.6094
Module start 'layout' 0.00490.0037 741.515639.4141
Module start 'content' 0.00860.7624 780.9297471.1719
Module end 'content' 0.77100.0016 1,252.10168.3516
Script end 0.7726  1,260.4531 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.4315160.0002
Check MTime0.00130.1696160.0001
Mysql Total
Database connection0.00060.082710.0006
Mysqli_queries0.729794.4375460.0159
Looping result0.00040.0542440.0000
Template Total0.737295.420.3686
Template load0.00210.270720.0010
Template processing0.735195.140520.3675
Template load and register function0.00010.014310.0001
states
state_id_array0.00170.224410.0017
state_identifier_array0.00100.135420.0005
Override
Cache load0.00170.2216140.0001
Sytem overhead
Fetch class attribute can translate value0.00080.108710.0008
Fetch class attribute name0.00060.084120.0003
XML
Image XML parsing0.00070.093210.0007
class_abstraction
Instantiating content class attribute0.00000.000520.0000
General
dbfile0.00100.1280170.0001
String conversion0.00000.001140.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
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 9
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs