My edit view page breaks and says Error in the browser when I try to store
the $database object into registry.
Going from Zend Framework in Action 1.7.1 code to 1.8 and above is confusing
to me :-(
My question is basically this: In ZF 1.7.1 you store the database into
registry like this. But how is this accomplished in ZF 1.8 and above?
1. protected function _initRegDatabase()
2. {
3. $db = Zend_Db::factory($config->db);
4. Zend_Db_Table_Abstract::setDefaultAdapter($db);
5. Zend_Registry::set('db', $db);
6. }
*Edit view page* - Error
http://pastebin.com/m606b344a
application/configs/*application.ini*
http://pastebin.com/m40ec8797
*Bootstrap*
http://pastebin.com/md1f7885