Studyon Minte9.com
ZF 1.0




Sha1 error



Don't set utf8 for newer versions of Mysql.

$db = Zend_Db::factory(_DB_ADAPTER, array( 'host' => _DB_HOST, 'username' => _DB_USERNAME, 'password' => _DB_PASSWORD, 'dbname' => _DB_DATABASE, 'profiler' => true, 'port' => _DB_PORT )); //$db->query('SET NAMES utf8'); // --- Look Here --- // $db->setFetchMode(Zend_Db::FETCH_OBJ); Zend_Db_Table::setDefaultAdapter($db); Zend_Registry::set('dbAdapter', $db);


http://stackoverflow.com/questions/4576637/the-supplied-parameters-to-zend-auth-adapter-dbtable-failed-to-produce-a-valid-s