Re: CakePHP site, all pages locked out to non-admins
This sounds like the default deny message by the Auth component.
(http://book.cakephp.org/view/1250/Authentication)
Putting Auth in the components array locks you out of every action by
default. Look if the Auth component is in your app_controller or some
other controller. To disable Auth for all/some actions, read about the
allow() function (http://book.cakephp.org/view/1257/allow)
Max
Am 01.09.2010 20:04, schrieb Skip Evans:
> Hey all,
>
> I'm pretty new to CakePHP, but a long time PHP coder, and am doing
> some maintenance work on an existing Cake site. Right now, any attempt
> to access a page results in a message displayed that says "You are not
> authorized to access that location.".
>
> I've been searching docs, the web, etc, and believe perhaps the
> original programmer, who of course is MIA, implemented something with
> "function afterFilter()" or some other mechanisms that locks all the
> pages out.
>
> This was originally done to protect sections during development, but
> the site is now ready for some live testing operations like PayPal e-
> commerce stuff I've built in and I need to release the site from this
> protections.
>
> Any help would be greatly appreciated.
>
> If it turns out we need to contract a Cake expert for a few hours I
> think the client will go for that.
>
> Skip
>
> Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
>
> You received this message because you are subscribed to the Google Groups "CakePHP" group.
> To post to this group, send email to cake-php@googlegroups.com
> To unsubscribe from this group, send email to
> cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home