error when running runcronjobs.php

Author Message

justin kazadi

Friday 03 October 2008 8:44:23 am

hello all,
i have create an workflow and connected it to an trigger. so i have to run the runcronjobs.php script within the shell by using php.
My OS is window.
the command is:


C:\wamp\bin\php\php5.2.5>php "C:\wamp\www\siteezpublish\site\runcronjobs.php"

i have this error:


Warning: require_once(lib/ezutils/classes/ezdebug.php): failed to open stream: N
o such file or directory in C:\wamp\www\siteezpublish\site\runcronjobs.php\kernel\classes\ezp
ersistentobject.php on line 57

Fatal error: require_once(): Failed opening required 'lib/ezutils/classes/ezdebu
g.php' (include_path='.;C:\php5\pear') in C:\wamp\www\siteezpublish\site\runcronjobs.php\kern
el\classes\ezpersistentobject.php on line 57

what can i do?
thanks in advance

The theory is when we know everything and nothing works.
The practice is when everything works and nobody knows why.
If the practice and theory are met, nothing works and we do not know why.

Albert Einstein

Ɓukasz Serwatka

Friday 03 October 2008 11:20:02 am

Hi,

runcronjobs.php _must_ be executed from eZ Publish root folder (C:\wamp\www\siteezpublish\site\ in your case). Try following:

cd C:\wamp\www\siteezpublish\site\
C:\wamp\bin\php\php5.2.5\php runcronjobs.php

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

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 01:01:56
Script start
Timing: Jan 19 2025 01:01:56
Module start 'layout'
Timing: Jan 19 2025 01:01:56
Module start 'content'
Timing: Jan 19 2025 01:01:57
Module end 'content'
Timing: Jan 19 2025 01:01:57
Script end

Main resources:

Total runtime0.7282 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0064 590.2813152.6250
Module start 'layout' 0.00640.0043 742.906339.4609
Module start 'content' 0.01070.7162 782.3672536.1563
Module end 'content' 0.72690.0013 1,318.52348.1563
Script end 0.7281  1,326.6797 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00370.5140160.0002
Check MTime0.00140.1972160.0001
Mysql Total
Database connection0.00070.094910.0007
Mysqli_queries0.676592.9007540.0125
Looping result0.00050.0656520.0000
Template Total0.687194.420.3436
Template load0.00220.302020.0011
Template processing0.684994.061420.3425
Template load and register function0.00010.019510.0001
states
state_id_array0.00390.537410.0039
state_identifier_array0.00140.194620.0007
Override
Cache load0.00180.2495180.0001
Sytem overhead
Fetch class attribute can translate value0.00090.117020.0004
Fetch class attribute name0.00220.297540.0005
XML
Image XML parsing0.00290.393320.0014
class_abstraction
Instantiating content class attribute0.00000.001540.0000
General
dbfile0.00340.4627240.0001
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/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/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: 15
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs