Re: error messages

From: Date: Fri, 05 Oct 2007 20:27:06 +0000
Subject: Re: error messages
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-262849@lists.php.net to get a copy of this message
2007. 10. 5, péntek keltezéssel 12.57-kor tedd ezt írta: > At 10:38 PM -0700 10/4/07, tbt wrote: > >Hi > > > >I'm a newbie to php and i would like to know a way of viewing runtime errors > >on the browser. Currently when an error occurs nothing is displayed on the > >browser. Is there any way of viewing all error messages on the browser > >itself. > > > >Thanks > > tbt: > > Welcome to the jungle. > > What Paul said is correct, but you must also realize that not all > errors will be shown even with the error reporting on. > > For example, just leaving a ";" from a line termination will cause > the browser window to display nothing. > > This was the hardest thing I had to get used to in programming php > and still have problem with editing large amounts of code. > > So, I suggest that you go in baby steps, test frequently, back-up > what worked, and comment out sections of code to eventually isolate > the offending statement(s). > > I long for the time where my editor said "Offending syntax on line 236". my editor still says "parse error" and shows me the line number... ;) greets Zoltán Németh > > Cheers, > > tedd > > -- > ------- > http://sperling.com > http://ancientstones.com > http://earthstones.com >

« previous php.general (#262849) next »