How to recover store after installation with enabled compilation
First of all, you need to disable compilation. Open the file config.php
which is located at <magento_path>/includes/
.
At around line 28, find next lines:
define('COMPILER_INCLUDE_PATH', dirname(__FILE__).DIRECTORY_SEPARATOR.'src');
#define('COMPILER_COLLECT_PATH', dirname(__FILE__).DIRECTORY_SEPARATOR.'stat');
and comment them out:
#define('COMPILER_INCLUDE_PATH', dirname(__FILE__).DIRECTORY_SEPARATOR.'src');
#define('COMPILER_COLLECT_PATH', dirname(__FILE__).DIRECTORY_SEPARATOR.'stat');
Save the changes.
After compilation is disabled, store must be recovered.
If you need to enable the Compilation mode, you need to run recompilation process. Go to System > Tools > Compilation and click on Run Compilation Process.
Was this page helpful?
Your feedback about this content is important.
Let us know what you think.