$this->auth->authorize = 'controller';

On 10月30日, 上午4时09分, "Martin Schapendonk" <[EMAIL PROTECTED]>
wrote:
> After updating to pre-beta r5875, my app fails after login with:
>
> Call to a member function isAuthorized() on a non-object in
> path\to\cakephp\cake\libs\controller\components\auth.php on line 414
>
> I have an isAuthorized() function in AppController, which I thought
> would be enough to prevent this error. I tried adding an
> isAuthorized() function to every single controller as well, but the
> error is still the same.
>
> Any help is greatly appreciated.
>
> Regards,
>
> Martin
>
> --
>   Martin Schapendonk, [EMAIL PROTECTED]


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to