gpt4 book ai didi

Magento 编译后死亡 : how to disable using compiled files without admin panel access?

转载 作者:行者123 更新时间:2023-12-03 10:06:35 28 4
gpt4 key购买 nike

试图在这里编译 Magento 1.6:

Magento 管理面板、系统、工具、编译

它编译,然后我启用它。在那之后,站点死亡。这是堆栈(但这并不重要)

Warning: include_once(Mage_Core_functions.php) [function.include-once]: failed to open stream: No such file or directory in /home/mysite/public_html/app/Mage.php on line 36

Warning: include_once() [function.include]: Failed opening 'Mage_Core_functions.php' for inclusion (include_path='/home/mysite/public_html/includes/src:.:/usr/lib/php:/usr/local/lib/php') in /home/mysite/public_html/app/Mage.php on line 36

Warning: include_once(Varien_Autoload.php) [function.include-once]: failed to open stream: No such file or directory in /home/mysite/public_html/app/Mage.php on line 37

Warning: include_once() [function.include]: Failed opening 'Varien_Autoload.php' for inclusion (include_path='/home/mysite/public_html/includes/src:.:/usr/lib/php:/usr/local/lib/php') in /home/mysite/public_html/app/Mage.php on line 37

Fatal error: Class 'Varien_Autoload' not found in /home/mysite/public_html/app/Mage.php on line 53

重要的是:如何重新起床?也许通过编辑 MySQL 表?

最佳答案

如果您有 shell 访问权限,请运行

$ php shell/compiler.php disable

从您站点的根目录将禁用编译模式。

如果这不起作用,则意味着有人以这种方式欺骗了编译器配置文件,以至于它不适用于 compiler.php脚本。如果是这样的话看看
includes/config.php

并注释掉这两个 define函数调用
##define('COMPILER_INCLUDE_PATH', dirname(__FILE__).DIRECTORY_SEPARATOR.'src');
#define('COMPILER_COLLECT_PATH', dirname(__FILE__).DIRECTORY_SEPARATOR.'stat');

关于Magento 编译后死亡 : how to disable using compiled files without admin panel access?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8538154/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com