Stut wrote:
Please include the list in replies.
I'm sorry. Clicked on wrong Reply button
:-)
Afan Pasalic wrote:
Stut wrote:
Afan Pasalic wrote:
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
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.
:-)
Try ini_set('display_errors', '1');
-Stut
Yup. It works.
Thanks Stut
;-)
-afan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php