In app_controler.php i have
class appControler extends Controler
{
function beforeFilter()
{
App::Import('Model','User');
$this->User=&new User();
$this->User->login();
}
}
But I get 2 simmilar looking warnings:
warning (2): pg_query() [function.pg-query] Query failed: ERROR: syntax
error at or near "login"
LINE 1: login
and
warning (512): SQL Error: ERROR: syntax error at or near "login"
LINE 1: login
What am i doing wrong ??
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" 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
-~----------~----~----~----~------~----~------~--~---