WAMP notice warnings
Posted by: samsoum (89.108.182.---)
Date: May 28, 2012 11:53AM

Hi everyone,
I installed the latest WAMP (2.2d) and everything is working fine except the Notice warnings. I unchecked "display errors" from the GUI (php - php settings) but it didn't work. I edited the php.ini file from GUI (php - php.ini) and added error_reporting = E_ALL & ~E_NOTICE didn't work either. The only thing that worked is by adding error_reporting(E_ALL & ~E_NOTICE); after <?php in the index.php and every other page that is requested. Is there a solution to my problem without adding the error_reporting to every .php file requested?

Sam



Edited 1 time(s). Last edit at 05/28/2012 11:54AM by samsoum.

Options: ReplyQuote
Re: WAMP notice warnings
Posted by: stevenmartin99 (Moderator)
Date: May 28, 2012 12:28PM

No the line u added to php.ini should work.

Make sure u edit the line that was in the file and didn't just add a new line

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: WAMP notice warnings
Posted by: samsoum (89.108.182.---)
Date: May 28, 2012 12:44PM

Well actually by default error_reporting = E_ALL was uncommented so I simply added & ~E_NOTICE

Its driving me craaaaaaazy... something so simple is not working!

So the only solution I currently have is to edit all the .php files requested by the user.

Options: ReplyQuote
Re: WAMP notice warnings
Posted by: stevenmartin99 (Moderator)
Date: May 28, 2012 03:34PM

I promise you it's not commented

The other line is in there somewhere setting it back to EALL

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: WAMP notice warnings
Posted by: samsoum (89.108.182.---)
Date: May 29, 2012 11:08AM

FYI & everyone else who had my problem I uninstalled and reinstalled everything again. For some magical reason it is working now. Thanks Steven.

Options: ReplyQuote


Sorry, only registered users may post in this forum.