Forums / Developer / Class 'eZINI' not found

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

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/Exponential/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.

Exponential : 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