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

来源:互联网 发布:python 定时执行任务 编辑:程序博客网 时间:2024/05/21 17:14
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
0 0