Re: error messages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux