Re: 1064: You have an error in your SQL syntax;

2008-06-19 Por tema Alejandra Pizzi
Hola Arantxa, te cuento q el error q te muestro es el generado con Debug=2 Les paso más detalles DboSource::showQuery() - CORE\cake\libs\model\datasources\dbo_source.php, line 440 DboSource::execute() - CORE\cake\libs\model\datasources\dbo_source.php, line 166 DboSource::fetchAll() -

Re: 1064: You have an error in your SQL syntax;

2008-06-19 Por tema Arantxa Grajal
Hola, en algún punto, está llamando a la función validateLogin como si fuese una instrucción SQL. Como tienes la función login?? UsersController::login() - APP\controllers\users_controller.php, line 25 2008/6/19 Alejandra Pizzi [EMAIL PROTECTED]: Hola Arantxa, te cuento q el error q te

Re: 1064: You have an error in your SQL syntax;

2008-06-19 Por tema Alejandra Pizzi
la tengo así: //igual al ejemplo function login() { if(empty($this-data) == false) { if(($user = $this-User-validateLogin($this-data['User'])) == true) { $this-Session-write('User', $user);

Re: 1064: You have an error in your SQL syntax;

2008-06-19 Por tema Arantxa
Hola, a ver... la funcion validateLogin, esta en el modelo user, no?? lo digo pq en la lista de errores, tienes AppModel::validateLogin() - [internal], line ?? UsersController::login() - APP\controllers\users_controller.php, line 25 por lo q creo q, de $this-User-validateLogin en el controller

1064: You have an error in your SQL syntax;

2008-06-18 Por tema Alejandra Pizzi
Hola a todos!! espero que me ayuden, porq la verdad es no sé por qué me aparece este error. Tengo instalado el XAMPP y con eso manejo todos mis proyectos Cake. Quiero saber qué me pasa con este error: 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL

Re: 1064: You have an error in your SQL syntax;

2008-06-18 Por tema Arantxa Grajal
proyectos Cake. Quiero saber qué me pasa con este error: 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'usuarioEsUnico' at line 1 [*CORE\cake\libs\model\datasources\dbo_source.php*, line *440