MAGENTO:如何显示错误警告? [英] MAGENTO: How to display waringns like errors?
本文介绍了MAGENTO:如何显示错误警告?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的错误/local.xml内容:
My errors/local.xml content:
<?xml version="1.0" encoding="UTF-8"?>
<config>
<skin>default</skin>
<report>
<action>print</action>
<subject>Store Debug Information</subject>
<email_address></email_address>
<trash>trash</trash>
</report>
</config>
是否可以在浏览器中显示警告?
Is it possible to display warning in browser?
PS: 我可以在浏览器中看到错误. 但是我也希望看到警告,而不仅仅是在日志文件中.
PS: I can see errors in browser when they are. But I would like to see warnings also, not just in log file.
推荐答案
启用开发人员模式.在Magento> 1.3中,您只需要设置一个环境变量(MAGE_IS_DEVELOPER_MODE),因为它是在index.php中评估的.
Enable developer mode. In Magento > 1.3 you need only set an environment variable (MAGE_IS_DEVELOPER_MODE) as this is evaluated in index.php.
这篇关于MAGENTO:如何显示错误警告?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文