嘿我的Magento网站崩溃后我启用了编译,我无法登录到该网站,所以我试图从后端禁用它(config.php)但它的禁用
define('COMPILER_INCLUDE_PATH', dirname(__FILE__).DIRECTORY_SEPARATOR.'src');
define('COMPILER_COLLECT_PATH', dirname(__FILE__).DIRECTORY_SEPARATOR.'stat');
任何想法? 以下是错误代码
Warning: include_once(/home3/webcapt/public_html/campusclub/includes/src/Mage_Core_functions.php) [function.include-once]: failed to open stream: No such file or directory in /home3/webcapt/public_html/campusclub/app/Mage.php on line 36
Warning: include_once() [function.include]: Failed opening '/home3/webcapt/public_html/campusclub/includes/src/Mage_Core_functions.php' for inclusion (include_path='/home3/webcapt/public_html/campusclub/includes/src:.:/usr/lib/php') in /home3/webcapt/public_html/campusclub/app/Mage.php on line 36
Warning: include_once(/home3/webcapt/public_html/campusclub/includes/src/Varien_Autoload.php) [function.include-once]: failed to open stream: No such file or directory in /home3/webcapt/public_html/campusclub/app/Mage.php on line 37
Warning: include_once() [function.include]: Failed opening '/home3/webcapt/public_html/campusclub/includes/src/Varien_Autoload.php' for inclusion (include_path='/home3/webcapt/public_html/campusclub/includes/src:.:/usr/lib/php') in /home3/webcapt/public_html/campusclub/app/Mage.php on line 37
Fatal error: Class 'Varien_Autoload' not found in /home3/webcapt/public_html/campusclub/app/Mage.php on line 53
答案 0 :(得分:0)
要通过代码禁用编译,只需从magento根文件夹重命名 includes 目录;尝试登录希望这会对你有帮助。
答案 1 :(得分:0)
它可能是缓存的问题。重命名缓存文件夹后,它将显示相同的错误。你可以通过
的magento index.php来清除缓存 $app = Mage::app();
if ($app != null)
{
$cache = $app->getCache();
if ($cache != null)
{
$cache->clean();
}
}
希望它能奏效!