30 Aug

Blank page after enabling Magento Compiler

You Receive a blank page after enabling Magento Compiler in the admin section

Causes

1) A module that you installed may not work with Magento Compiler
2) You enabled the compiler but didn’t run the compiler before enabling.

How to resolve?

Easy, Open the index.php in your magento root directory

Comment out the following line:

/**
* Compilation includes configuration file
*/
/**#$compilerConfig = ‘includes/config.php’;
#if (file_exists($compilerConfig)) {
include $compilerConfig;
#}  */

Now go back to the backend of your magento store, and run compilation
Clean the cache dir and verify that its now working.

If problem persists comment out the compilation line again in the index.php
And trouble shoot which modules is causing problems.

Share this

Leave a reply

Leave a Reply