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
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
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);
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
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
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
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
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
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