1

I deleted the includes/src folder to disable the compiler mode.

Then the site broke and all we can see is the following.

Warning: include_once(Varien/Autoload.php): failed to open stream: No such file or directory in /home2/hotelhome/public_html/app/Mage.php on line 51

Warning: include_once(): Failed opening 'Varien/Autoload.php' for inclusion (include_path='/home2/hotelhome/public_html/app/code/local:/home2/hotelhome/public_html/app/code/community:/home2/hotelhome/public_html/app/code/core:/home2/hotelhome/public_html/lib:.:/usr/lib/php:/usr/local/lib/php') in /home2/hotelhome/public_html/app/Mage.php on line 51

Warning: include(Varien/Autoload.php): failed to open stream: No such file or directory in /home2/hotelhome/public_html/app/code/core/Mage/Core/functions.php on line 68

Warning: include(Varien/Autoload.php): failed to open stream: No such file or directory in /home2/hotelhome/public_html/app/code/core/Mage/Core/functions.php on line 68

Warning: include(): Failed opening 'Varien/Autoload.php' for inclusion (include_path='/home2/hotelhome/public_html/app/code/local:/home2/hotelhome/public_html/app/code/community:/home2/hotelhome/public_html/app/code/core:/home2/hotelhome/public_html/lib:.:/usr/lib/php:/usr/local/lib/php') in /home2/hotelhome/public_html/app/code/core/Mage/Core/functions.php on line 68

Fatal error: Class 'Varien_Autoload' not found in /home2/hotelhome/public_html/app/Mage.php on line 54

When we tried to run the compiler from the shell, the same errors. Uncommenting the include path in the config.php file does not work either.

Can not log into admin. Same errors.

Fabian Schmengler
66.2k25 gold badges191 silver badges422 bronze badges

1 Answer 1

3

Somehow the folder lib/varien was not present. Copied it from a fresh Magento installation and everything worked.

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.