Forums / Install & configuration / Cronjobs command error...Please....help me...

Cronjobs command error...Please....help me...

Author Message

Ferdinando Orza

Monday 03 November 2003 8:44:31 am

Hi, i have a problem when i launch "php -C cronjobs.php"

I try to launch from /usr/bin/ in this way: "php -C /var/www/html/ezpublish3-2.1/cronjobs.php"
I get this:

<br />
<b>Warning</b>: Failed opening 'lib/ezutils/classes/ezini.php' for inclusion (include_path='.:/usr/share/pear') in <b>/var/www/html/ezpublish-3.2-1/lib/ezutils/classes/ezextension.php</b> on line <b>46</b><br />
<br />
<b>Warning</b>: Failed opening 'lib/ezutils/classes/ezdebug.php' for inclusion (include_path='.:/usr/share/pear') in <b>/var/www/html/ezpublish-3.2-1/lib/ezutils/classes/ezmodule.php</b> on line <b>44</b><br />
<br />
<b>Warning</b>: Failed opening 'lib/ezutils/classes/ezini.php' for inclusion (include_path='.:/usr/share/pear') in <b>/var/www/html/ezpublish-3.2-1/lib/ezutils/classes/ezcli.php</b> on line <b>59</b><br />
<br />
<b>Warning</b>: Failed opening 'lib/ezutils/classes/ezdebug.php' for inclusion (include_path='.:/usr/share/pear') in <b>/var/www/html/ezpublish-3.2-1/lib/ezutils/classes/ezcli.php</b> on line <b>60</b><br />
<br />
<b>Warning</b>: Failed opening 'lib/ezutils/classes/ezdebugsetting.php' for inclusion (include_path='.:/usr/share/pear') in <b>/var/www/html/ezpublish-3.2-1/lib/ezutils/classes/ezcli.php</b> on line <b>61</b><br />
<br />
<b>Warning</b>: Failed opening 'lib/ezutils/classes/ezcli.php' for inclusion (include_path='.:/usr/share/pear') in <b>/var/www/html/ezpublish-3.2-1/kernel/classes/ezscript.php</b> on line <b>78</b><br />
<br />
<b>Warning</b>: Failed opening 'lib/ezdb/classes/ezdb.php' for inclusion (include_path='.:/usr/share/pear') in <b>/var/www/html/ezpublish-3.2-1/kernel/classes/ezscript.php</b> on line <b>79</b><br />
<br />
<b>Fatal error</b>: Undefined class name 'ezdebug' in <b>/var/www/html/ezpublish-3.2-1/kernel/classes/ezscript.php</b> on line <b>120</b><br />

Please help me!!!

jm m

Monday 03 November 2003 10:01:57 am

hi,

try with this command:

GET http://yoursite.com/ezpublish/runcronjobs.php

I use this command and work fine ( I use cpanel)

sorry for my english

Ole Morten Halvorsen

Monday 03 November 2003 12:26:06 pm

You need to be in the eZ publish root directory when running the cronjobs.php script. Running it from /usr/bin will not work. So before running the script change directory to the ez publish directory.

Example: cd /var/www/html/ezpublish3-2.1/; php -C cronjobs.php

Senior Software Engineer - Vision with Technology

http://www.visionwt.com
http://www.omh.cc
http://www.twitter.com/omh

eZ Certified Developer
http://ez.no/certification/verify/358441
http://ez.no/certification/verify/272578

Ferdinando Orza

Tuesday 04 November 2003 1:41:55 am

Sorry...Ole, but i already try in this way....
"cd /var/www/html/ezpublish3-2.1/; php -C cronjobs.php "
and i have another problem.......

<b>Notice</b>: Undefined variable: argv in <b>/var/www/html/ezpublish-3.2-1/runcronjobs.php</b> on line <b>103</b><br />
Running cronjobs/workflow.php
Checking for workflow processes
<br />
<b>Fatal error</b>: Call to a member function on a non-object in <b>/var/www/html/ezpublish-3.2-1/cronjobs/workflow.php</b> on line <b>107</b><br />

Fatal error: eZ publish did not finish it's request
The execution of eZ publish was abruptly ended, the debug output is present below.

Thank you

eZ debug

Timing: Jan 18 2025 16:23:30
Script start
Timing: Jan 18 2025 16:23:30
Module start 'content'
Timing: Jan 18 2025 16:23:31
Module end 'content'
Timing: Jan 18 2025 16:23:31
Script end

Main resources:

Total runtime0.7847 sec
Peak memory usage4,096.0000 KB
Database Queries199

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0052 588.9844180.8203
Module start 'content' 0.00530.6543 769.8047558.8047
Module end 'content' 0.65950.1251 1,328.6094338.0859
Script end 0.7846  1,666.6953 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00380.4809210.0002
Check MTime0.00160.1980210.0001
Mysql Total
Database connection0.00060.070110.0006
Mysqli_queries0.718891.60241990.0036
Looping result0.00180.22851970.0000
Template Total0.759596.820.3798
Template load0.00170.217920.0009
Template processing0.757896.571820.3789
Template load and register function0.00010.017110.0001
states
state_id_array0.00120.150510.0012
state_identifier_array0.00100.125420.0005
Override
Cache load0.00140.1847440.0000
Sytem overhead
Fetch class attribute can translate value0.00120.155240.0003
Fetch class attribute name0.00090.113640.0002
XML
Image XML parsing0.00060.077840.0002
class_abstraction
Instantiating content class attribute0.00000.001040.0000
General
dbfile0.00210.2687210.0001
String conversion0.00000.000730.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
8content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
5content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 19
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs