Re: error_reporting(E_ALL) doesn't show anything
| From: | Afan Pasalic | Date: | Tue, 15 May 2007 21:06:34 +0000 |
| Subject: | Re: error_reporting(E_ALL) doesn't show anything | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-254998@lists.php.net to get a copy of this message | ||
Stut wrote:
Please include the list in replies. I'm sorry. Clicked on wrong Reply button:-)
Afan Pasalic wrote:Thanks Stut ;-) -afanStut wrote:Try ini_set('display_errors', '1'); -Stut Yup. It works.Afan Pasalic wrote:I'm sorry, my bad. I was thinking one thing and writing other. :-) error_reporting is "on" (E_ALL & ~E_NOTICE & ~E_STRICT) and display_errors = off But, the result is the same: blank screen. :-)in php.ini is error_reporting turned off. and, to see an error have to open error_log. though, for me is much easier to have it on and see the errors on the screen. while developing, of course. I put on the beginning of the file error_reporting(E_ALL) to "overwrite" php.ini but it doesn't work. still can't see anything. what am I doing wrong?Check the display_errors setting. -Stut