zend framework - Fatal Error Zend_Uri Magento -
suddenly our magento store has fatal error:
php fatal error: class 'zend_uri' not found in /.../public_html/app/code/core/mage/core/model/store.php on line 726
no new plugins or modules have been added recently. compiler not active, var/cache , var/session empty. permissions resetted magento folders / files.
no other errors or more information provided, have blank page - on frontend , backend.
magento version 1.7.0.2. appreciated.
line 726 of store.php
file looks this
#file: app/code/core/mage/core/model/store.php $uri = zend_uri::factory($securebaseurl);
that is, magento's making call static method factory
on zend_uri
class. error
php fatal error: class 'zend_uri' not found
indicates php can't find zend_uri
class. because
- the class definition file no longer there,
- someone has changed class definition file it's no longer valid
- a local code pool override file exists , has edited class override file it's no longer valid
- someone has edited
lib/varien/autoload.php
can't loadzend_uri
class file - a local code pool override file exists
varien/autoload.php
, has edited can't loadzend_uri
class file - someone has changed php include path (normally defined in
app/mage.php
) doesn't includelib
folder, or code pool local code pool override might exist
i'd start looking zend_uri
class in lib/zend/uri.php
, , work way down list until figure out why php isn't autoloading class file.
Comments
Post a Comment