I can't access Magento back-end and front-end. I am getting "500 Internal Server Error" after turning on compilation

Go to your Magento’s installation root and edit the following file “includes/config.php": Comment out the line that is not commented out, and the line that is commented out, change it so that it is not. For example, if the lines read this:

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

change the lines to this:

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

RememberNEVER use the ‘Enable’ Compilation button before running the compilation first (‘Run Compilation Process’ button), especially if any files where changed on your system.

Still need help? Get Help Get Help