Re: How to create login page using app_controller.php

2010-06-08 Thread Narendra Padala
I was changed some changes in my app controller after that i got this error message this is code what i am wrote -- app_controller.php --- Auth->userModel = 'Tbluser'; $this->Auth->authorize = 'tblusers'; $this->

Re: How to create login page using app_controller.php

2010-06-08 Thread Jeremy Burns
I think this piece of the guide will help: http://book.cakephp.org/view/1265/AuthComponent-Variables#authorize-1275 Try adding: $this->Auth->authorize = 'controller'; to your app_controller's beforeFilter. Jeremy Burns jeremybu...@me.com On 8 Jun 2010, at 07:50, Narendra Padala wrote: > its

Re: How to create login page using app_controller.php

2010-06-07 Thread Narendra Padala
its not at all showing the index page, its back to the login page only in the debugger no wuery also executed On Tue, Jun 8, 2010 at 12:07 PM, Jeremy Burns wrote: > What errors are you getting? > > Jeremy Burns > jeremybu...@me.com > > > On 8 Jun 2010, at 07:28, Narendra Padala wrote: > > Hi a

Re: How to create login page using app_controller.php

2010-06-07 Thread Jeremy Burns
What errors are you getting? Jeremy Burns jeremybu...@me.com On 8 Jun 2010, at 07:28, Narendra Padala wrote: > Hi am new to cakephp, i am using postgress sql database this is an existing > database here i am not having permissions to change any thing in database. > but i have to wrote user au

How to create login page using app_controller.php

2010-06-07 Thread Narendra Padala
Hi am new to cakephp, i am using postgress sql database this is an existing database here i am not having permissions to change any thing in database. but i have to wrote user authentication using app_controller.php so tried to wrote code like this but it was not working properly please any one can