加入收藏 | 设为首页 | 会员中心 | 我要投稿 PHP编程网 - 黄冈站长网 (http://www.0713zz.com/)- 数据应用、建站、人体识别、智能机器人、语音技术!
当前位置: 首页 > 运营中心 > 建站资源 > 经验 > 正文

初次安装Magento商城 后台报错的解决办法

发布时间:2022-01-04 07:45:55 所属栏目:经验 来源:互联网
导读:There has been an error processing your request Exception printing is disabled by default for security reasons. Error log record number: xxxxxxxxxx(这是一串数字) 问Google,找到解决方案 步骤1 重命名 errors/local.xml.sample 为 local.xml 这
There has been an error processing your request
Exception printing is disabled by default for security reasons.
Error log record number: xxxxxxxxxx(这是一串数字)
问Google,找到解决方案
步骤1
重命名 errors/local.xml.sample 为 local.xml
这样修改可以看到详细的错误信息:
Could not determine temp directory, please specify a cache_dir manually
Trace:
#0 F:/Work/makingware_ce-1.5.2/lib/Zend/Cache/Backend.php(197): Zend_Cache::throwException('Could not deter...')
#1 F:/Work/makingware_ce-1.5.2/lib/Zend/Cache/Backend/File.php(123): Zend_Cache_Backend->getTmpDir()
#2 F:/Work/makingware_ce-1.5.2/lib/Zend/Cache.php(153): Zend_Cache_Backend_File->__construct(Array)
#3 F:/Work/makingware_ce-1.5.2/lib/Zend/Cache.php(94): Zend_Cache::_makeBackend('File', Array, false, false)
#4 F:/Work/makingware_ce-1.5.2/lib/Zend/Locale/Data.php(314): Zend_Cache::factory('Core', 'File', Array, Array)
#5 F:/Work/makingware_ce-1.5.2/app/code/core/Mage/Core/Block/Html/Calendar.php(42): Zend_Locale_Data::getList('zh_CN', 'days')
....后面省略
此错误说明是缓存目录需要手动设置
步骤2
修改文件 lib/Zend/Cache/Backend/File.php 在第90行的位置

(编辑:PHP编程网 - 黄冈站长网)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    热点阅读