@crush - thanks for the suggestion. I have looked at that file and most of
the others looking for repeated function declarations - but can't see
anything like that.
On Thursday, 20 December 2012 11:34:06 UTC, crush wrote:
>
> Hey,
>
> I had this error:
>
> Fatal error: Class declarations may not be nested in
> /srv/www/website/public_html/lib/Cake/Controller/CakeErrorController.php on
> line 31
>
> and finally tracked it down to the beforeFilter existing on the users
> controller twice:
>
> public function beforeFilter() {
> parent::beforeFilter();
> $this->Auth->allow('add');
> }
>
> I deleted the second one and everything started working properly.
>
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
Visit this group at http://groups.google.com/group/cake-php?hl=en.