Magento – Compiler – Page not displaying after compilation

When trying to enable the compilation mode, either through admin panel or through command line. Some times we get a strange behavior. Page disappears.

to fix this, disable compilation mode

Access server command line and run these commands

php -cli public_html/shell/compiler.php disable

will get output like 
Content-type: text/html
Compiler include path disabled

php -cli public_html/shell/compiler.php state
Content-type: text/html

Compiler Status:          Disabled
Compilation State:        Compiled
Collected Files Count:    7605
Compiled Scopes Count:    4

if you do not have access to command line, you may try disabling compilation related commands from config file

in includes/config.php

disable these lines


Related Posts