Followed the same tutorial and ran into the same problems.
I had to to these changes in order to get it working:
> In /app/models/user.php
- change line 7 into: function validateLogin($data)
> In /app/controllers/users_controller.php
- change line 15 into: $this->__validateLoginStatus($this->data);
- change line 44 into: function __validateLoginStatus($data)
I might have missed one or more changes needed to get the example
working.
Good luck!
On 22 Feb, 12:30, "Peadar" <[EMAIL PROTECTED]> wrote:
> Hi there, I have been following this turotial on Simple Form
> Authentication in 1.2.x.x.
> (http://bakery.cakephp.org/articles/view/212)
>
> When I attempt to log in it displays the followingerrormessage;
>
> 1064: You have anerrorin your SQL syntax; check the manual that
> corresponds to your MySQL server version for the right syntax to use
> near 'validateLogin' at line 1
>
> Does anyone know why this might be appearing.
>
> Thanks for your time.
>
> Best wishes,
>
> Peadar
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---