10/06/2010, 11:11
|
| | Fecha de Ingreso: agosto-2009
Mensajes: 138
Antigüedad: 15 años, 3 meses Puntos: 0 | |
Respuesta: undefined method isValid() en Auth.php Esta solucionado ya , se me tenia error en model-mappers-user. authenticate().
ahora lo raro es que al hacer login me da.$result->isValid() false .FAILURE_IDENTITY_NOT_FOUND:
pero al hacer un print_r($this->_mapper); me da
Default_Model_Mapper_User Object ( [_identity:protected] => admin [_credential:protected] => admin [_table:protected] => usuarios [_adapter:protected] => Zend_Db_Adapter_Pdo_Mysql Object ( [_pdoType:protected] => mysql [_numericDataTypes:protected] => Array ( [0] => 0 [1] => 1 [2] => 2 [INT] => 0 [INTEGER] => 0 [MEDIUMINT] => 0 [SMALLINT] => 0 [TINYINT] => 0 [BIGINT] => 1 [SERIAL] => 1 [DEC] => 2 [DECIMAL] => 2 [DOUBLE] => 2 [DOUBLE PRECISION] => 2 [FIXED] => 2 [FLOAT] => 2 ) [_defaultStmtClass:protected] => Zend_Db_Statement_Pdo [_config:protected] => Array ( [charset] => utf8 [host] => localhost [username] => root [password] => root[dbname] => bas[persistent] => [options] => Array ( [caseFolding] => 0 [autoQuoteIdentifiers] => 1 ) [driver_options] => Array ( ) ) [_fetchMode:protected] => 2 [_profiler:protected] => Zend_Db_Profiler Object ( [_queryProfiles:protected] => Array ( ) [_enabled:protected] => [_filterElapsedSecs:protected] => [_filterTypes:protected] => ) [_defaultProfilerClass:protected] => Zend_Db_Profiler [_connection:protected] => [_caseFolding:protected] => 0 [_autoQuoteIdentifiers:protected] => 1 [_allowSerialization:protected] => 1 [_autoReconnectOnUnserialize:protected] => ) )
y es raro porque si tengo una tabla usuarios con username de campo admin y password admin y role admin...
Seguire probando gracias y si alguien ve algo raro es de gran ayuda el comentario gracias... |