error levels

This is a discussion on error levels within the PHP Language forums, part of the PHP Programming Forums category; My system admin turned down all the error levels so that the warnings would not go to the user. Now ...


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-26-2006
Sheldon Glickler
 
Posts: n/a
Default error levels

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?



Reply With Quote
  #2 (permalink)  
Old 02-27-2006
Erwin Moller
 
Posts: n/a
Default Re: error levels

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.err...rror-reporting

So try something like:
ini_set("error_reporting",E_ALL);

above your script.

Regards,
Erwin Moller

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 12:16 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0