views:

127

answers:

1

I'm setting resources.frontController.throwExceptions = 1 (or true) in my application.ini but that doesn't seem to force the FrontController to throw exceptions. I can see exceptions (output on the webpage) when I explicitly set 'protected $_throwExceptions = true;' in Front.php in Zend library. Any idea why the config setting doesn't work?

A: 

I am going to have a stab in the dark and guess that you're using APPLICATION_ENV to determine the section the INI to load.

To see the exception messages in the view (i.e. on the web page), you need to be displaying exceptions.

By default, only the development section has resources.frontController.params.displayExceptions = 1

So, if this is the case, APPLICATION_ENV must be set to development.

Cez