Jump to content


Photo

how to enable error reporting?


  • Please log in to reply
2 replies to this topic

#1 DaveLinger

DaveLinger
  • Members
  • PipPipPip
  • Advanced Member
  • 268 posts
  • LocationWV, USA

Posted 31 July 2006 - 01:09 AM

Tried searching, but got many different ways. I just want to slap a line of code in before the rest of the page to see what's up. No luck in the FAQ either, might want to add that.
http://www.DaveLinger.com
dave at linger dot com

#2 Drumminxx

Drumminxx
  • Members
  • PipPipPip
  • Advanced Member
  • 92 posts
  • LocationUSA

Posted 31 July 2006 - 02:03 AM

you can enable it in the php.ini or use this on top of your php page

error_reporting(E_ALL);

for more info look up error_reporting on php.net
:: gucci.com ::
:: blockbuster.com ::

--------------------

#3 wildteen88

wildteen88
  • Staff Alumni
  • Advanced Member
  • 10,482 posts
  • LocationUK, Bournemouth

Posted 31 July 2006 - 09:15 AM

adding error_reporting(E_ALL); may not work if you have the display_errors directive is turned off.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users