Re: Debugging



Bruce A. Julseth wrote:
I'm having problems debugging my code. One prevolent problem I have is that if I a syntax error, and run it on localhost, I get nothing but a blank screen. No indication of what the error is. And, as you all know, it ain't easy going through a program looking for, say a colon that should have been a semicolon.

Is there something, somewhere, that I should have turned on to give me an error message?

Thanks....

Bruce




Ensure the php.ini file in your development system has:

display_errors=on
error_reporting=E_ALL

(and ensure you are editing the correct php.ini file).

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@xxxxxxxxxxxxx
==================

.



Relevant Pages

  • Re: sys/conf/DEFAULT[S]
    ... Bruce Evans said: ... > at the end of GENERIC should be a syntax error, ... > back but config aborts before then. ... with his patch. ...
    (freebsd-arch)
  • Re: GMA time
    ... By the way, not that it's necessarily an indication for tomorrow, but ... the brief GMA interview with Bruce today aired at about 7:40 ... but I'm gonna try to wake up by 7;-) ...
    (rec.music.artists.springsteen)