Class 'eZINI' not found

Author Message

Patrick Boutard

Wednesday 03 March 2010 1:46:34 am

I have this error since one week when I run a php script by cron or manually :

PHP Fatal error: Class 'eZINI' not found in /var/www/ezpublish/extension/fw_site/design/monSite_front/flash/cartographie/GenerateXml.php on line 12

On line 12 in my php file, there is : $var = eZINI::instance( 'monSite.ini','settings/override');

The same process works on another server with the same environment.

The class eZINI is defined in file ezp_kernel.php

Thanks for helping.

ezPublish : 4.0.3, PHP : 5.2.6, Apache 2.2.9

André R.

Sunday 07 March 2010 12:50:09 pm

Does the script include autoload.php ?

If yes, you might want to try restarting apache and/or clearing APC cache, and if that helps update APC.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

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 15 2025 09:03:11
Script start
Timing: Jan 15 2025 09:03:11
Module start 'layout'
Timing: Jan 15 2025 09:03:11
Module start 'content'
Timing: Jan 15 2025 09:03:12
Module end 'content'
Timing: Jan 15 2025 09:03:12
Script end

Main resources:

Total runtime1.2229 sec
Peak memory usage6,144.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0069 685.5703183.6719
Module start 'layout' 0.00690.0040 869.242252.5313
Module start 'content' 0.01091.2102 921.77341,786.8828
Module end 'content' 1.22110.0017 2,708.656364.5703
Script end 1.2228  2,773.2266 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00570.4661160.0004
Check MTime0.00130.1086160.0001
Mysql Total
Database connection0.00050.039610.0005
Mysqli_queries1.170395.7029540.0217
Looping result0.00050.0442520.0000
Template Total1.174296.020.5871
Template load0.00410.335320.0020
Template processing1.170195.686720.5851
Template load and register function0.00160.131010.0016
states
state_id_array0.00200.163310.0020
state_identifier_array0.00270.221320.0014
Override
Cache load0.00370.3011170.0002
Sytem overhead
Fetch class attribute can translate value0.00050.040920.0002
Fetch class attribute name0.00210.171930.0007
XML
Image XML parsing0.00080.062620.0004
class_abstraction
Instantiating content class attribute0.00000.000730.0000
General
dbfile0.00220.1782170.0001
String conversion0.00000.001040.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/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
1content/datatype/view/ezxmltags/strong.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/strong.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 11
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs