Re: Auth Component - I'm going crazy

2008-08-27 Thread shabba
I also had this problem its caused because your not allowing a certain page. Action, my problem was that I had a element that was dynamically loading data. Instead I created a new layout just for the login that solved the problem. Here is what my app controller looks like. class AppController ext

Re: Auth Component - I'm going crazy

2008-08-26 Thread RichardAtHome
Sounds like the Auth component is redirecting you away from a protected page, to another protected page - hence the loop. In your Users controller do you have a login action? On Aug 26, 9:19 am, luigi7up <[EMAIL PROTECTED]> wrote: > I'll try this. I read about this but I thought they were talkin

Re: Auth Component - I'm going crazy

2008-08-26 Thread luigi7up
I think I know what's causing the problem. I have a ELEMENT that is calling index() action of users_controller to get some data from users model and in index() function I have: $users = $this->paginate(); if(isset($this->params['requested'])) { return $users; } $this->set('users', $users);

Re: Auth Component - I'm going crazy

2008-08-26 Thread luigi7up
What about this: Also another confusing part with this problem is that my other controllers also stop working with same output eventhough component Auth is included only in users_controller. User model is in association with articles model but I think that articles_controller shoud with or withou

Re: Auth Component - I'm going crazy

2008-08-26 Thread luigi7up
I'll try this. I read about this but I thought they were talking about other databases and not MySql. thx... On Aug 26, 8:57 am, aranworld <[EMAIL PROTECTED]> wrote: > I have had situations in which I was unable to use a column named > "password" and had to instead use something like "passwd".  I

Re: Auth Component - I'm going crazy

2008-08-26 Thread luigi7up
I tried few great tutorials but I'll try this one too. thanx On Aug 25, 9:36 pm, "Chris Hartjes" <[EMAIL PROTECTED]> wrote: > On Mon, Aug 25, 2008 at 3:32 PM, luigi7up <[EMAIL PROTECTED]> wrote: > > I found few posts about this problem but none of them resolves my > > problem. > > Really hard to

Re: Auth Component - I'm going crazy

2008-08-25 Thread aranworld
I have had situations in which I was unable to use a column named "password" and had to instead use something like "passwd". I believe it is a reserved keyword issue with MySQL? Not sure if it was just related to an older version, but you might at least try changing the column name. -Aran On A

Re: Auth Component - I'm going crazy

2008-08-25 Thread Chris Hartjes
On Mon, Aug 25, 2008 at 3:32 PM, luigi7up <[EMAIL PROTECTED]> wrote: > I found few posts about this problem but none of them resolves my > problem. Really hard to diagnose without seeing any code. Have you tried looking at this fantastic tutorial on using the Auth component? http://www.littleha

Auth Component - I'm going crazy

2008-08-25 Thread luigi7up
Ola, everyone... //Using RC2 version of CakePHP I'm building simple application that allows users to write articles. So there are their corresponding models and controllers. Few days ago I made custom Login/register part of application that writes username to session etc. but now I decided to u