magento登录后后台空白问题的解决

按照一般的指南清空cache,重启apache均不奏效,后来找到一篇文章,终于找到解决办法:

Disable Magento Compiler

打开index.php文件后,把以下行注释掉即可

$compilerConfig = MAGENTO_ROOT . ‘/includes/config.php’;
if (file_exists($compilerConfig)) {
include $compilerConfig;
}

来源:https://www.mathewporter.co.uk/disable-compiler-in-magento-to-fix-blank-frontend-and-admin-issue/

Leave a Reply