There has been an error processing your request Exception printing is disabl
13 年 ago jony There has been an error processing your request Exception printing is disabl已关闭评论
magento 安装时出现 There has been an error processing your request 错误解决方法
或者访问后台时 www.xxxx.com/admin会出现:
Exception printing is disabled by default for security reasons.
Error log record number: ******
解决方法:
复制magento根目录下 /errors/local.xml.sample 并命名为/errors/local.xml
改变magento根目录下/lib/Zend/Cache/Backend/File.php
文件里面
protected $_options = array(
为
protected $_options = array(
然后在根目录下创建tmp文件夹.
再然后刷新前台,”There has been an error processing your request” 就没有了,出现的是错误提示的也没,然后根据错误提示方便寻找解决答案!
简单的来说就是给cache_dir设置一个目录为‘tmp/’
注意这个不要改漏掉了哦:复制magento根目录下 /errors/local.xml.sample 并命名为/errors/local.xml