View Single Post
  #9   (View Single Post)  
Old 9th November 2010
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
 
Join Date: Apr 2008
Location: Netherlands
Posts: 2,243
Default

The default error_reporting was set to:
Code:
error_reporting = E_ALL & E_NOTICE & E_DEPRECATED
Changing this to
Code:
error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED
Obviously the first one is not right, I overlooked the missing tildes in my earlier examinations of php.ini But as far as I understand it it should still work?

I also don't quite understand why the error_reporting() function doesn't work ...
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote