`
tanghui13159
  • 浏览: 2937 次
  • 性别: Icon_minigender_1
  • 来自: 厦门
最近访客 更多访客>>
社区版块
存档分类
最新评论

magento 安装时出现 There has been an error processing your request 错误解决方法

 
阅读更多
magento 安装时出现 There has been an error processing your request 错误解决方法

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(
        'cache_dir' => NULL,
        'file_locking' => true,

为

protected $_options = array(
        'cache_dir' => 'tmp/',
        'file_locking' => true,

然后在根目录下创建tmp文件夹.
再然后刷新前台,”There has been an error processing your request” 就没有了,出现的是错误提示的也没,然后根据错误提示方便寻找解决答案!
简单的来说就是给cache_dir设置一个目录为‘tmp/’
注意这个不要改漏掉了哦:复制magento根目录下 /errors/local.xml.sample 并命名为/errors/local.xml

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics