[solution] failed to open stream: No such file or directory in includes/src/Varien_Autoload.php on line 93

Article ID #1054
Revision: 1.7
Last update: 2011-10-15

 

Symptoms

When Magento compilation is enabled, the following error messages are reported by Magento Connect Manager on a new extension installation:

ERR (3): Warning: include(Some_Magento_Code_Lib.php): failed to open stream: No such file or directory  in includes/src/Varien_Autoload.php on line 93

or

ERR (3): Warning: include(): Failed opening 'Some_Magento_Code_Lib.php' for inclusion (include_path='includes/src:.')  in includes/src/Varien_Autoload.php on line 93

 

Cause

Magento compilation is enabled and code was not recompiled after installation/upgrade or removal of any Magento module/extension.

 

Solution

To prevent the issue you need to temporarily disable compilation before any module installation/upgrade removal at System > Tools > Compilation. As soon as module installation is complete, you can enable compilation back at the same screen: System > Tools > Compilation.

In case Magento Admin interface is inaccessible you can disable compilation as described in How do I disable Magento Compiler

Did this article help you solve your issue?


Average rating: 3.38 (42 votes)

completely useless 1 2 3 4 5 most valuable

Tags: , , ,