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

 

Logo

Agent 垂直技术社区,欢迎活跃、内容共建。

更多推荐