| 
	
 | 
 Posted by Tom on 06/14/06 22:34 
Also worth noting, the set_error_handler function is great if you want 
to customize your  error reporting.  See the comments on the php.net 
for some ideas. 
 
Tom 
 
 
Harley wrote: 
> Thanks, Tom. Checking those settings in php.ini did reveal the problem. 
> 
> Curiously, if you set display_errors = On AND log_errors = On, you get 
> neither rather than both. 
> 
> Harley 
> 
> "Tom" <klenwell@gmail.com> wrote in message 
> news:1150303995.781435.255320@u72g2000cwu.googlegroups.com... 
> > What's your error reporting setting?  See: 
> > 
> > http://www.php.net/manual/en/ref.errorfunc.php 
> > 
> > and 
> > 
> > http://www.php.net/manual/en/function.error-reporting.php 
> > 
> > Tom 
> > 
> > 
> > Harley wrote: 
> >> Hi, 
> >> 
> >> I've worked with PHP5 for a good while and yet it has one problem that 
> >> frustrates the hell out of me: when I have syntactic or punctuation 
> >> errors 
> >> in a script I get nothing except a blank white page in the browser. No 
> >> message, nothing in the server logs--nothing at all. I've been 
> >> programming 
> >> for 30 years so I know it's not unreasonable to expect some kind of 
> >> indication or message about WHERE the problem is occuring. I have to 
> >> debug 
> >> like I used to in assembly by commenting out chunks until it runs. 
> >> 
> >> I run PHP5 as a DSO on Apache 2 with virtual hosts on a Mandrake 
> >> platform. 
> >> 
> >> Thanks, 
> >> 
> >> Harley 
> >
 
  
Navigation:
[Reply to this message] 
 |