Magento – Fatal error: Class ‘Zend_Log’ not found

ce-1.7.0.2fatal errormagento-1.7

This error appears in the admin when adding shipping tracking information. The actual file/location is public_html/includes/src/Mage_Core_functions.php on line 247.

When I went to find the file, it didn't exist. I'm not good with php and am not sure if there is suppose to be a file.

History: I had the new host company move the site from the old host company. This error happened when we started selling again on the new host. I'm wondering if files are missing? I noticed in the include file a lot of files are not there under the new host compared to the old host. But I don't know when these files are created.

My host company tried to resolve the issue. No success. What they tried was upgrading php, flush cache on server, increase the limit to 600 seconds. However this did not resolve the issue with the PHP error. After they refreshed the page though, the shipping code was added successfully. But the error message came up again the second time around.

Best Answer

It looks like you have compilation enable in your webshop just disabled from

Via Magento admin

Navigate to System > Tools > Compilation page and click on Disable button

Navigate to System > Cache Management screen and use Flush Cache button.

OR

Via SFTP, by editing the includes/config.php file

To disable compilation in Magento, edit includes/config.php. At around line 28, uncomment the first line and comment out the second:

#define('COMPILER_INCLUDE_PATH', dirname(__FILE__).DIRECTORY_SEPARATOR.'src');
define('COMPILER_COLLECT_PATH', dirname(__FILE__).DIRECTORY_SEPARATOR.'stat');

OR

Via SSH

php -f shell/compiler.php -- disable
php -f shell/compiler.php -- clear

Check the status:

# php -f shell/compiler.php -- state
Compiler Status:          Disabled
Compilation State:        Not Compiled
Collected Files Count:    0
Compiled Scopes Count:    0

Clear the cache:

rm -rf var/cache/* var/session/*

Follow any one step And try ,,