Jump to content


Photo

Error reporting


  • Please log in to reply
2 replies to this topic

#1 onlyican

onlyican
  • Members
  • PipPipPip
  • Advanced Member
  • 921 posts
  • LocationHants - UK

Posted 25 September 2006 - 05:29 PM

This is going to be the last post from me for a while, well I hope

I have just about finished this website
I have a function running, so everytime a MySQL query fails, the info is stored in a text document

But how can I do the same thing every time a php error shows

Fatel Errors and Normal Errors

Any suggestions

Tell me the problem, I will try tell you the solution

#2 Daniel0

Daniel0
  • Staff Alumni
  • Advanced Member
  • 11,956 posts

Posted 25 September 2006 - 05:35 PM

Have a look at set_error_handler() and error_log().

#3 onlyican

onlyican
  • Members
  • PipPipPip
  • Advanced Member
  • 921 posts
  • LocationHants - UK

Posted 25 September 2006 - 06:12 PM

ok, but error_log requires the function to be called

For a fatel error, the error_log will not execute
Tell me the problem, I will try tell you the solution




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users