PHP Doesn't Display Errors or Warnings.
Posted
by David
on Stack Overflow
See other posts from Stack Overflow
or by David
Published on 2010-03-26T20:35:25Z
Indexed on
2010/03/26
20:43 UTC
Read the original article
Hit count: 292
I don't know how php.ini was configured since I don't have access to it. But on top of my php code file I have
error_reporting(E_ALL); ini_set('display_errors', '1');
But still, if there is an error, e.g. missing a ")", the page is blank. It is so painful to debug without error message. Why were the errors not shown?
© Stack Overflow or respective owner