Re: Include Auth component for Missing Controllers/Actions?

2009-01-13 Thread Mark
beforeFilter and beforeRender don't seem to get called for AppError, but I don't see how that would help anyway. It's not the filter methods I need to get called, just a component I need included. Mark On Jan 12, 1:08 am, "Dr. Loboto" wrote: > I call $this->controller->beforeFilter() and > $th

Re: Include Auth component for Missing Controllers/Actions?

2009-01-13 Thread Mark
app_controller and app_error are sitting in the "app" folder. I have no child beforeFilter()s. On Jan 12, 12:27 am, Miles J wrote: > Where did you place your appcontroller? Also try doing a > parent::beforeFilter() in child beforeFilter()s. --~--~-~--~~~---~--~~ Y

Re: Include Auth component for Missing Controllers/Actions?

2009-01-12 Thread Dr. Loboto
I call $this->controller->beforeFilter() and $this->controller- >beforeRender() in AppError manually. Don't know is it right way, but it works. On Jan 12, 9:08 am, Mark wrote: > It seems as though AppController is not included when there is an > error. Is there any way to change this behavior? M

Re: Include Auth component for Missing Controllers/Actions?

2009-01-12 Thread Miles J
Where did you place your appcontroller? Also try doing a parent::beforeFilter() in child beforeFilter()s. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@

Include Auth component for Missing Controllers/Actions?

2009-01-11 Thread Mark
It seems as though AppController is not included when there is an error. Is there any way to change this behavior? Most notably, I need the Auth component to be included. I'm trying to add my own AppError class, but it needs to extend ErrorHandler, so I don't know how to get it to include AppCont