嘿,我的 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
最佳答案
要通过代码禁用编译,只需重命名 magento 根文件夹中的 includes 目录并尝试登录,希望这会对您有所帮助。
关于php - 启用编译后 Magento 网站崩溃,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21179638/