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

2010-12-31 Thread John Maxim
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 wrote: > Hi, > > Add following code at the end of myAction() method, so that it

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

2010-12-30 Thread Amit Badkas
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.sa

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

2010-12-30 Thread John Maxim
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 wrote: > Hi, > > I meant that you need to access the method myAction() from URL

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

2010-12-30 Thread Amit Badkas
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 A

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

2010-12-30 Thread John Maxim
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 wrote: > Hi, > > Have you executed the code in

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

2010-12-30 Thread Amit Badkas
Hi, Have you executed the code in anyAction() to populate ACL tables with dummy data, something like http:// //users/anyAction? Amit Badkas PHP Applications for E-Biz: http://www.sanisoft.com On Thu, Dec 30, 2010 at 8:39 PM, John Maxim wrote: > Hi everyone, > > While working on the sample p

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

2010-12-30 Thread John Maxim
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 retur