runcronjobs error

Author Message

Vicente Olivan

Tuesday 19 December 2006 9:31:49 am

I make in console:

 

     php runcronjobs.php
 

for running... and display: <b>Segment violation</b>

I make in browser http://www.mydomain.com/runcronjobs.php
... and display:

     #!/usr/bin/env php PHP is currently using the 'apache2handler' interface. Make sure it is using the 'cli' interface. 
 

But, my info.php show using "apache2handler" and "cli".

Some suggestion? Thanks

Egil Fujikawa Nes

Friday 20 April 2007 2:55:47 am

Hi Vicente

As long as you use the Apache2 interface to load your PHP code the eZScript:startup() will not load. eZScript:startup() can just be loaded trough the cli interface of PHP. eZScript:startup() is the first part runcronjobs.php, this is why runcronjobs.php will not perform correctly when it's accessed trough the Apache2handler.

You can read more about this here:
http://issues.ez.no/IssueView.php?Id=2937

You can also take a look at this form post, talking about how to work around the PHP-cli problem:
http://ez.no/community/forum/suggestions/workaround_for_installations_without_phpcli

Good luck :)

BuildCMS - Av. Paulista 777, 15° Andar - CEP: 01311-100 - São Paulo
URL: http://www.buildcms.com

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

Main resources:

Total runtime0.8554 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.0083 587.9141152.6250
Module start 'layout' 0.00830.0029 740.539139.4453
Module start 'content' 0.01120.8426 779.9844532.9453
Module end 'content' 0.85380.0015 1,312.92978.1719
Script end 0.8553  1,321.1016 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00400.4646160.0002
Check MTime0.00140.1650160.0001
Mysql Total
Database connection0.00300.348110.0030
Mysqli_queries0.799193.4259540.0148
Looping result0.00060.0650520.0000
Template Total0.810594.820.4052
Template load0.00210.240620.0010
Template processing0.808494.508120.4042
Template load and register function0.00010.011510.0001
states
state_id_array0.00120.135610.0012
state_identifier_array0.00220.256920.0011
Override
Cache load0.00170.2000230.0001
Sytem overhead
Fetch class attribute can translate value0.00080.094420.0004
Fetch class attribute name0.00170.201940.0004
XML
Image XML parsing0.00080.093620.0004
class_abstraction
Instantiating content class attribute0.00000.000740.0000
General
dbfile0.00200.2335220.0001
String conversion0.00000.001340.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
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
3content/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: 18
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs