Re: display_errors and error_reporting not enough?
| From: | Richard Heyes | Date: | Tue, 17 Feb 2009 12:52:05 +0000 |
| Subject: | Re: display_errors and error_reporting not enough? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-288433@lists.php.net to get a copy of this message | ||
> When I make something wrong like syntax error; I get blank pages.
Because the PHP code is not running (because of the syntax error), and
thus not setting the error reporting as desired. You'll need to aither
use a .htaccess file (if you're running Apache) or make the changes in
your php.ini file (and restart your web server). Either way you won't
be able to use the constants (which you use only in a PHP script. IIRC
the correct directive would be:
error_reporting 2047
--
Richard Heyes
HTML5 Canvas graphing for Firefox, Chrome, Opera and Safari:
http://www.rgraph.org (Updated February 14th)