Thursday, October 1, 2009

Re: 10.2 Simple Acl controlled Application tutorial problem

Someone else posted 2 days ago about the same problem :-)

Change the line with App::objects() to use:

Configure::listObjects('controller');

On Thu, Oct 1, 2009 at 6:15 AM, Marcelo <marcelo.benzaquen@gmail.com> wrote:
>
> Hi everyone, I'm doing the cakephp.org acl tutorial and I'm stuck in
> the section
>
> 10.2.6 An Automated tool for creating ACOs  link:http://
> book.cakephp.org/view/647/An-Automated-tool-for-creating-ACOs
>
> there is a function that suppose to add acos based on the controllers
> or something like that, when i run that function on the browser i get
> the following error:
>
> Fatal error: Call to undefined method App::objects() in C:\wamp\www
> \cakeacl\controllers\groups_controller.php on line 78
>
> I really appreciate if anyone can help me with this. thank you all in
> advance
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

No comments: