Re: Problem with Notices

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Madeleine D. wrote:
I have the following error writes set in my php.ini file:

error_reporting = E_ALL & ~E_NOTICE



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.

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux