如果在 yii 错误显示输出之前错误 [英] If in yii error show outputing before error
本文介绍了如果在 yii 错误显示输出之前错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当在 Yii 1.1.14 中我收到一些严重错误甚至非严重警告时,我收到标准错误消息并且所有页面输出都被隐藏.我想在调试模式:
When in Yii 1.1.14 I get some critical error or even not critical warning I get standart error message and all page output is hidden. I would like in debugging mode :
1) 查看错误前输出时的所有页面输出.
1) to see all page output when was outputing before error.
谢谢!
推荐答案
您可以在主 index.php
中启用 yii 调试模式.有假则设为真.
You can just enable yii debuging mode in main index.php
. Set true if there is false.
defined('YII_DEBUG') or define('YII_DEBUG', true);
这篇关于如果在 yii 错误显示输出之前错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文