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.