Re: php error reporting problem

From: Date: Wed, 29 Mar 2006 18:06:51 +0000
Subject: Re: php error reporting problem
References: 1 2 3 4 5  Groups: php.general 
Request: Send a blank email to php-general+get-232863@lists.php.net to get a copy of this message
On Wed, 2006-03-29 at 18:25 +0300, ngwarai zed wrote: > But still the problem is not solved. Just to recap on the problem: I > just want the deliberate php errors Imake to shown as errors on the > php page when the script runs. Yes, that should be the normal behaviour. Check your error_reporting setting. It should be one of the following (see below). The most common would be: error_reporting = E_ALL If this still doesn't work, try the default php.ini.dist and copy it over your php.ini. Cheers, Chris ------------- error_reporting values ------------- ; reporting level ; E_ALL - All errors and warnings (doesn't include E_STRICT) ; E_ERROR - fatal run-time errors ; E_WARNING - run-time warnings (non-fatal errors) ; E_PARSE - compile-time parse errors ; E_NOTICE - run-time notices (these are warnings which often result ; from a bug in your code, but it's possible that it was ; intentional (e.g., using an uninitialized variable and ; relying on the fact it's automatically initialized to an ; empty string) ; E_STRICT - run-time notices, enable to have PHP suggest changes ; to your code which will ensure the best interoperability ; and forward compatibility of your code ; E_CORE_ERROR - fatal errors that occur during PHP's initial startup ; E_CORE_WARNING - warnings (non-fatal errors) that occur during PHP's ; initial startup ; E_COMPILE_ERROR - fatal compile-time errors ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors) ; E_USER_ERROR - user-generated error message ; E_USER_WARNING - user-generated warning message ; E_USER_NOTICE - user-generated notice message

« previous php.general (#232863) next »