Friday, December 31, 2010

Re: (Acl) Error: aro not found No tree returned.

Hi thanks, Amit. It still can't be resolved I tried your suggestion.
I'm starting installing acl from fresh. Based on what you said should
work (executing in the webpage)..

Rgds,
Maxim

On Dec 31, 2:42 pm, Amit Badkas <amit.sanis...@gmail.com> wrote:
> Hi,
>
> Add following code at the end of myAction() method, so that it won't try to
> render the view
>
> $this->render(false);
>
> Also look at the SQL queries if 'aros' table is populating correctly or not
> by setting debug level to 2.
>
> Hope this helps.
>
> Amit Badkas
>
> PHP Applications for E-Biz:http://www.sanisoft.com
>
> On Fri, Dec 31, 2010 at 11:52 AM, John Maxim <goog...@gmail.com> wrote:
> > I tried executing by going to url: localhost/my_app_name/users/
> > anyAction
>
> > can't load it asks me to check and make sure my file anyaction.ctp is
> > created in views/users
>
> > regards,
> > maxim
>
> > On Dec 31, 12:42 pm, Amit Badkas <amit.sanis...@gmail.com> wrote:
> > > Hi,
>
> > > I meant that you need to access the method myAction() from URL so that
> > the
> > > code in that method will get executed and according to that code, the
> > dummy
> > > records will get populated to 'aros' table.
>
> > > Amit Badkas
>
> > > PHP Applications for E-Biz:http://www.sanisoft.com
>
> > > On Fri, Dec 31, 2010 at 9:40 AM, John Maxim <goog...@gmail.com> wrote:
> > > > Hi Amit...thanks for the reply but.. I don't understand.
>
> > > > In my Users, there is no file named by anyAction..
>
> > > > anyAction function was saved in /controllers/users_controller.php
>
> > > > What do you mean ?..
>
> > > > best regards,
> > > > Maxim
> > > > On Dec 31, 11:33 am, Amit Badkas <amit.sanis...@gmail.com> wrote:
> > > > > Hi,
>
> > > > > Have you executed the code in anyAction() to populate ACL tables with
> > > > dummy
> > > > > data, something like http://
> > > > > <your-domain-here>/<your-app-name-here>/users/anyAction?
>
> > > > > Amit Badkas
>
> > > > > PHP Applications for E-Biz:http://www.sanisoft.com
>
> > > > > On Thu, Dec 30, 2010 at 8:39 PM, John Maxim <goog...@gmail.com>
> > wrote:
> > > > > > Hi everyone,
>
> > > > > > While working on the sample provided from cookbook (link below) I
> > was
> > > > > > going to create an aro where the codes are to be placed in a
> > > > > > controller. I chose users_controller.php and I then verify by
> > typing
> > > > > > on my console:
>
> > > > > > cake acl view aro
>
> > > > > > It resulted in
>
> > > > > > Error: aro not found No tree returned.
>
> > > > > > What's wrong with it ?
>
> >http://book.cakephp.org/view/1245/Defining-Permissions-Cake-s-Databas.
> > > > ..
>
> > > > > > Regards,
> > > > > > Maxim
>
> > > > > > Check out the new CakePHP Questions sitehttp://cakeqs.organdhelp
> > > > 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<cake-php%2Bunsubscribe@googlegroups.com>
> > <cake-php%2Bunsubscribe@googlegroups.com<cake-php%252Bunsubscribe@googlegroups.com>
>
> > > > <cake-php%2Bunsubscribe@googlegroups.com<cake-php%252Bunsubscribe@googlegroups.com>
> > <cake-php%252Bunsubscribe@googlegroups.com<cake-php%25252Bunsubscribe@googlegroups.com>
> > >>For
> > > > more options, visit this group at
> > > > > >http://groups.google.com/group/cake-php?hl=en
>
> > > > Check out the new CakePHP Questions sitehttp://cakeqs.organdhelp
> > 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<cake-php%2Bunsubscribe@googlegroups.com>
> > <cake-php%2Bunsubscribe@googlegroups.com<cake-php%252Bunsubscribe@googlegroups.com>>For
> > more options, visit this group at
> > > >http://groups.google.com/group/cake-php?hl=en
>
> > Check out the new CakePHP Questions sitehttp://cakeqs.organd 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<cake-php%2Bunsubscribe@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

No comments: