如何让magento显示错误提示
2014-01-02 23:09
246 查看
如何显示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.
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.
相关文章推荐
- 如何显示Magento 错误信息!Magento install error – Exception printing
- 如何取消“本页不但包含安全的内容,也包含不安全的内容。是否显示不安全的内容。” 的提示
- 当Ruby的model名字出错时,在现实view时显示错误的提示
- android 解决.XML提示ava.lang.NullPointerException at错误后XML没显示
- 如何让IE读取本地网页时不提示“Internet Explorer 已经限制此文件显示可能访问您的计算机的活动内容。”
- Struts2验证框架无法显示错误提示的解决方案
- openerp学习笔记 错误、警告、提示、确认信息显示
- 当用webBrowser1加载网页的时候,网页中出现js错误,会弹出一个提示,如何屏蔽不提示
- 如何 修改RAILS的默认错误提示 和 Rails validation error message 相关的合集
- php如何显示错误信息
- Windows 7 IIS7 无法启动, 显示WAS & W3SVC没有启动的错误提示
- 在Winfrom 中,如何实现combox 的列表自动显示ToolTip提示 ?
- IDEA如何解决switch不支持字符串的编译错误(1.7版本提示不兼容)
- Spring配置文件applicationContext.xml在myEclipse工具中编写时如何显示标签提示
- 如何自定义Struts2表单验证后的错误信息显示格式
- C# Winform 中webBrowser显示html内容时禁止错误提示的方法
- 如何使php页面中不再出现NOTICE和DEPRECATED的错误提示
- Intellij IDEA 14代码错误提示如何调出来
- MyEclipse中如何去掉JS/JSP语法错误提示
- Win7旗舰版系统如何修复硬盘分区图标显示错误问题