Posted by Erwin Moller on 02/27/06 11:40
Sheldon Glickler wrote:
> My system admin turned down all the error levels so that the warnings
> would
> not go to the user. Now I find that in dubugging, I don't get messages as
> to what is wrong. I tried error_reporting(20p47); . but it diidn't do
> anything. How can I get the messages as to where my coding errors are
> without going back to the admin guy?
Hmm, maybe you can overwrite with ini_set.
I do not know if that will be better than error_reporting(E_ALL), but try
it.
Here is more:
http://nl2.php.net/manual/en/ref.errorfunc.php#ini.error-reporting
So try something like:
ini_set("error_reporting",E_ALL);
above your script.
Regards,
Erwin Moller
[Back to original message]
|