服务报价 | 域名主机 | 网络营销 | 软件工具| [加入收藏]
 热线电话: #
当前位置: 主页 > php教程 > magento教程 >

如何让magento显示错误提示

时间:2016-01-10 02:40来源: 作者: 点击:
如何显示Magento 错误信息!Magento install error Exception printing is disabled Here is a known error which can occur when installing Magento: 当安装Magento时,这里有一个众所周知的错误提示 There has been an error

如何显示Magento 错误信息!Magento install error – Exception printing is disabled

Here is a known error which can occur when installing Magento:

当安装Magento时,这里有一个众所周知的错误提示

There has been an error processing your request
Exception printing is disabled by default for security reasons.
Error log record number: XXXXXXXXXXXXXXX

Here is the solution:

解决办法是:

1. Navigate to the /errors/ folder.(进去magento的error文件夹)
2. Change local.xml.sample to local.xml(把local.xml.sample改名为local.xml)
3. You should now see a new list of crazy errors all over the Magento page – this is okay.(刷新之前的错误页面,你应该能看到错误Magento页面上的错误信息)
4. Open magento/lib/Zend/Cache/Backend/File.php and look for:

protected $_options = array(
‘cache_dir’ => ‘null’,

5. Change it to:

protected $_options = array(
‘cache_dir’ => ‘tmp/’,

6. Save it.
7. Now the final step is to go create a tmp folder in the root Magento folder.
8. That’s it.

(责任编辑:最模板)
顶一下
(0)
0%
踩一下
(0)
0%
------分隔线----------------------------
栏目列表
热点内容