runcronjobs.php does not work

Author Message

Javier Rodriguez

Monday 26 September 2005 3:08:25 am

I can not work runcronjobs.php (i want exec notification.php)

1. Execution runcronjobs.php shows this error:

Fatal error: eZ publish did not finish its request
The execution of eZ publish was abruptly ended, the debug output is present below.
Warning: (eZCodePageMapper)
Couldn't load input codepage file share/codepages/"iso-8859-1"

Warning: (eZCodePage)
Couldn't load codepage file share/codepages/"iso-8859-1"

Error: (eZCodePageMapper)
Input codepage for "iso-8859-1" is not valid

Warning: (PHP)
Undefined property: SubstituteOutputChar in /pub/var/www/ez/lib/ezi18n/classes/ezcodepagemapper.php on line 93

2. Searching error line...

/* runcronjob.php code */
$ini =& eZINI::instance( 'cronjob.ini' );
$scriptDirectories = $ini->variable( 'CronjobSettings', 'ScriptDirectories' );

runcronjobs.php fails:
First execution $scriptDirectories and other ini variable contains no date
Next executions $ini breaks, perhaps by cache problem too.

3. If I include literal script:
include ('cronjobs/notification.php')
by
include($script)
error is "Memory exhausted" but is processing some seconds.

Thanks in advance

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 31 2025 00:38:29
Script start
Timing: Jan 31 2025 00:38:29
Module start 'layout'
Timing: Jan 31 2025 00:38:29
Module start 'content'
Timing: Jan 31 2025 00:38:29
Module end 'content'
Timing: Jan 31 2025 00:38:29
Script end

Main resources:

Total runtime0.0236 sec
Peak memory usage6,144.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0041 588.1328151.2109
Module start 'layout' 0.00410.0039 739.3438220.6875
Module start 'content' 0.00800.0138 960.0313997.6797
Module end 'content' 0.02180.0017 1,957.710929.9922
Script end 0.0235  1,987.7031 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002912.3274140.0002
Check MTime0.00124.9800140.0001
Mysql Total
Database connection0.00052.118510.0005
Mysqli_queries0.00198.082330.0006
Looping result0.00000.047610.0000
Template Total0.00125.110.0012
Template load0.00093.897910.0009
Template processing0.00031.210610.0003
Override
Cache load0.00062.658010.0006
General
dbfile0.00031.391880.0000
String conversion0.00000.029440.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