[Solar-talk] Missing output from a thrown exception

Paul M Jones pmjones at paul-m-jones.com
Tue Apr 29 08:34:13 CDT 2008


Hi Dmytro,

First major question is, are you using add-ons to PHP like XDebug,  
eAcclerator, APC, and so on?  If so, turn those off first.  Try  
throwing an exception directly in your bootstrap; if you don't see the  
exception, then it's something about your PHP setup preventing the  
exception from showing.


> Can somebody give me a bit of hand with this problem I'm having.  
> Exceptions thrown in any of my page controllers do not output  
> anything to the browser. So, I've set up a really simple application  
> to cut away as much as possible of my code and see what could be  
> causing this. This is what I managed to work out so far....
>
> My config.php sets all the usual parameters:
>
> 	'error_reporting' => 'E_ALL | E_STRICT',

Probably a typo in the email, but the value here should *not* be in  
quotes.  It should be something like (E_ALL | E_STRICT), not 'E_ALL |  
E_STRICT'.

I looked at your class and bootstrap code; a quick glance didn't  
reveal anything glaringly wrong.


-- pmj


More information about the Solar-talk mailing list