如何显示Magento 错误信息!Magento install error – Exception printing

编辑器加载中... 如何显示Magento 错误信息!Magento install error – Exception printing is disabled Here is a known error which can occur when installing Magento: 当安装Magento时,这里有一个众所周知的错误提示 There has been an error processing your request Exception printing is disabled by default for security reasons. Error log record number: XXXXXXXXXXXXXXX Here is the solution: 解决办法是: 1. Navigate to the /errors/ folder.(进去magento的error文件夹) 2. Change local.xml.sample to local.xml(把local.xml.sample改名为local.xml) 3. You should now see a new list of crazy errors all over the Magento page – this is okay.(刷新之前的错误页面,你应该能看到错误Magento页面上的错误信息) 4. Open magento/lib/Zend/Cache/Backend/File.php and look for: protected $_options = array( ‘cache_dir’ => ‘null’, 5. Change it to: protected $_options = array( ‘cache_dir’ => ‘tmp/’, 6. Save it. 7. Now the final step is to go create a tmp folder in the root Magento folder. 8. That’s it. 本人实践经验:到网站根目下的error目录下把 local.xml.sample改名为local.xml. 刷新报错页,ok,搞定

转载于:https://www.cnblogs.com/zhouwenwu/archive/2012/04/01/2428908.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值