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:
Now go back to the backend of your magento store, and run compilation.PHP Code:
/**
* Compilation includes configuration file
*/
/**#$compilerConfig = ‘includes/config.php’;
#if (file_exists($compilerConfig)) {
include $compilerConfig;
#} */
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.View more threads in the same category:
- Prevent an array filter warning while adding products
- Best Development Practices in Magento 2
- How to Secure Magento Against SQL Injections
- How To Backup And Rollback In Magento 2
- Implement Your Custom API In Magento Backend
- How to Create Simple Twitter Feed Module in Magento 2
- How To Secure cron.php In Magento 2
- How To Create & Configure Multi Store In Magento 2
- Create Your Own Widget In Magento
- Third Part of Magento Theme Development
Bookmarks