如何修复/重新安装magento系统文件而不丢失任何东西(主题,数据库等)


How to repair / reinstall magento system files without loosing anything (theme,database etc)?

http://www.toy-kraft.com/index.php/admin

你好,

当你点击上面的链接时,你只会看到一个空白页面。有人能帮我解决这个问题吗?

错误日志

[Mon Jul 06 03:15:51.777914 2015] [access_compat:error] [pid 17856] [client 89.248.160.217:63348] AH01797: client denied by server configuration: /home/toykraft/public_html/includes/js  
[Mon Jul 06 03:15:51.034340 2015] [access_compat:error] [pid 17860] [client 89.248.160.217:63323] AH01797: client denied by server configuration: /home/toykraft/public_html/includes/FCKeditor  
[Mon Jul 06 03:15:50.279573 2015] [access_compat:error] [pid 17858] [client 89.248.160.217:63298] AH01797: client denied by server configuration: /home/toykraft/public_html/includes/fckeditor

根据错误日志,它显示您已启用编译。您可以通过编辑includes文件夹中的includes/config.php来禁用编译,方法是注释两行:

#define('COMPILER_INCLUDE_PATH', dirname(__FILE__).DIRECTORY_SEPARATOR.'src');
#define('COMPILER_COLLECT_PATH', dirname(__FILE__).DIRECTORY_SEPARATOR.'stat');

并清除缓存。