Thanks

Seems that these settings affected the installation:

;;; Front Controller Resource Setup ;;;
resources.frontController.throwExceptions = false
resources.frontController.throwErrors     = false

With throw exceptions set as true - it was outputting the Exception at an
earlier stage.

Next question is how to capture exceptions not associated to controller /
action and push that through to the view also.

Any help on that appreciated.

Ian


2009/8/22 keith Pope <[email protected]>

> 2009/8/22 Ian Warner <[email protected]>:
> > My code in my bootstrap
> >
> > As you can see my error handler is in a module
> >
> > I have
> > resources.frontController.moduleDirectory = APPLICATION_PATH "/modules"
> > to load modules
> >
> >         $this->bootstrap('frontController');
> >
> >         $options = array(
> >           'module'     => 'exception',
> >           'controller' => 'index',
> >           'action'     => 'index'
> >          );
> >
> >         $this->getResource('frontController')->registerPlugin(new
> > Zend_Controller_Plugin_ErrorHandler($options));
> >
> > But my exceptions are not being redirected to this view.
> >
>
> Make sure you are not registering the errorHandler twice, I know the
> default one is registered to the default module at 100 I think. You
> may be putting yours lower down. Look through the FC code to see how
> the error handler is registered, and dump the FC to see whats in
> there, your code does look right at first glance though. Also  I think
> there is a method to disable the default error handler, you might want
> to do that too.
>
> --
> ----------------------------------------------------------------------
> [MuTe]
> ----------------------------------------------------------------------
>

Reply via email to