Runcronjobs.php script not publishing content

Author Message

Lane Marie

Friday 15 August 2008 6:47:24 am

Hello,

I have a WAMP installation.

I have used a simple approval workflow - the approver does get to approve the content.

I noticed that when I run php c:\wamp\www\my_site\runcronjobs.php, the script runs, doesn't produce any errors but approved content does not get published. In fact it sits in the inbox with an "inactive" icon. The admin in workflow processes sees a status as : "(4) Workflow event deferred to cron job"

I have php 5.2.6 installed. So through WAMP I installed php5.2.5, this time when I run "php c:\wamp\www\my_site\runcronjobs.php" I get the following:

Warning: in_array(): Wrong datatype for second argument in C:\wamp\www\my_site\kernel\classes\ezscript.php on line 1052

Warning: in_array(): Wrong datatype for second argument in C:\wamp\www\my_site\kernel\classes\ezscript.php on line 1052

Warning: in_array(): Wrong datatype for second argument in C:\wamp\www\my_site\kernel\classes\ezscript.php on line 1052

Warning: in_array(): Wrong datatype for second argument in C:\wamp\www\my_site\kernel\classes\ezscript.php on line 1052
Error initializing script: database error: No database handler was found for ''.

If I run this again with "-d" I get the above warnings but instead of the "wrong datatype" warning I get

Fatal error: eZINI: Undefined group: 'FileSettings' in site.ini in C:\wamp\www\my_site\lib\ezutils\classes\ezdebug.php on line 551

I have safe_mode = off in all the php.ini files I can find.

Can someone tell me whats going on, & more importantly, help me solve my problem? Does EZP support php5.2.6?
Thanks in advance!
M.

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 22:10:46
Script start
Timing: Jan 18 2025 22:10:46
Module start 'layout'
Timing: Jan 18 2025 22:10:46
Module start 'content'
Timing: Jan 18 2025 22:10:47
Module end 'content'
Timing: Jan 18 2025 22:10:47
Script end

Main resources:

Total runtime1.0299 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.0060 588.1641152.6563
Module start 'layout' 0.00600.0028 740.820339.5078
Module start 'content' 0.00871.0197 780.3281409.1641
Module end 'content' 1.02840.0015 1,189.49228.1094
Script end 1.0299  1,197.6016 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00380.3643160.0002
Check MTime0.00180.1706160.0001
Mysql Total
Database connection0.00080.077410.0008
Mysqli_queries0.987695.8902460.0215
Looping result0.00040.0381440.0000
Template Total0.998296.920.4991
Template load0.00230.221020.0011
Template processing0.995996.693720.4979
Template load and register function0.00020.019710.0002
states
state_id_array0.00200.191510.0020
state_identifier_array0.00140.135920.0007
Override
Cache load0.00190.1805150.0001
Sytem overhead
Fetch class attribute can translate value0.00060.062110.0006
Fetch class attribute name0.00050.047910.0005
XML
Image XML parsing0.00010.012210.0001
class_abstraction
Instantiating content class attribute0.00000.000410.0000
General
dbfile0.00180.1728100.0002
String conversion0.00000.000740.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/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/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
1content/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: 10
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs