Mombu the Php Forum

Go Back   Mombu the Php Forum > Php > Shouldn't script errors show in my browser?
User Name
Password
REGISTER NOW! Mark Forums Read




Reply
1 3rd July 16:36
phpmail
External User
 
Posts: 1
Default Shouldn't script errors show in my browser?



Try cranking your error reporting level up in php.ini

http://uk2.php.net/manual/en/ref.err...rror-reporting

Check the display_errors directive while you're at it. Don't forget to
restart the webserver.

Also, sometimes errors don't show because they're embedded in HTML. Eg
<font face="<? echo($fake_variable); ?>"> would return
<font face="<br /><b>Notice</b>: Undefined variable: fake_variable in
<b>file.php</b> on line <b>1</b><br />">

And you'll have to examine the un-parsed HTML to find the error.
  Reply With Quote


 


2 3rd July 16:36
rfox
External User
 
Posts: 1
Default Shouldn't script errors show in my browser?



Yeah, that did it, thanks
  Reply With Quote
Reply


Thread Tools
Display Modes




666