error_reporting = E_ALL & ~E_NOTICE
For a long time, that worked just fine - giving us only errors/warnings
that we needed to see. Now, all of a sudden, we are getting notices
written to the error file. It's a problem because there are a number of
valid ones, and they get in the way of trying to track down genuine errors.
I've tried creating a new php.ini file; I've even copied a new php
directory over from a working machine.
No luck. Any clue as to how we can ditch these notices?
thanks
Madeleine D.
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
__________________________________
Do you Yahoo!?
Find out what made the Top Yahoo! Searches of 2003
http://search.yahoo.com/top2003
I'm posting a response to this for the next poor soul who might come along.
After long, lost hours, we still don't have an explanation as to why the
php.ini settings are being ignored, but we do have a solution - culled
from a similar posting on the php bug site.
We've added the line:
error_reporting(E_ALL & ~E_NOTICE);
to our first screen. That seems to hold for all the screens called
thereafter. Instead of 3000+ notice lines, which was impacting
performance in a major way, we now have the two or 3 warnings that we
expect.
thanks for all the other suggestions.
Madeleine D.