Jump to content


Photo

PHP Errors not being reported


  • Please log in to reply
1 reply to this topic

#1 hach-que

hach-que
  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 25 September 2006 - 01:17 AM

Whenever I create a script in PHP, and it doesn't work, PHP doesn't output any errors ANYWHERE (not to any log file or anything), all I get is a blank page.  How do I fix this problem? ( I have display_errors "on" )  [move]???[/move]

#2 wildteen88

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

Posted 25 September 2006 - 11:18 AM

Make sure you have error reporting set to E_ALL too. If you want your PHP to errors to be logged you'll have to turn on the log_errors directive and setup the error_log setting too to point to an error log file

Also amke sure you are eddting the correct php.ini to by running the phpinfo function in a script and checking that Configuration File (php.ini) Path is set to the correct path of your php.ini. ALso make sure you are restarting the server too when you make the changes to php.ini




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users