Magento – Page no longer accessible after compilation / Disable Compiler

After the installation at a Magento 1.7er Compiler / compilation had enabled, unfortunately was the complete Page no longer accessible. The backend was e.g.. only white.

But how can disable the compiler, if not in the backend system > Tools > Compiler can access?

There u.a. the possibility of using Shell / SSH access and disable the compilation.

Because it was too expensive but we, We used a different way.

Either you designate the whole folder “Includes” in the root directory to (e.g.. “Includes-Alt”). With this solution is not more compilation usable.

Or better

you commented the two lines in the config.php im o.g. Folder. Thus, from

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

then

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

Now everything should work again.

And one more tip for assigning rights. Who the error message:

File “/xyz/includes/config.php” must be writable

and / or

Directory “/xyz/includes” must be writable

receives, must write- / Read rights to adapt.

Bzgl. the Rights award / File Permission necessary, to use the compilation of Magento can:

Includes folders best 775
config.php best 664

At least temporarily.

Used in Magento Version 1.7. Ask, Comments, Proposals? Us directly or as a comment.

Published by Covos

Since 2009 I have been working intensively with Magento. I started with the creation and operation of B2C stores. This was extended through my work in the logistics sector. This resulted first specialized B2E systems. Today I work day-a day with exciting B2C, B2B- and B2E projects and reports in this blog about challenges and give insider tips.

Leave a Reply

Your email address will not be published. Required fields are marked *