Could not setup database


Fatal error: Uncaught exception 'Zend_Exception' with message 'No entry is registered for key 'db'' in /home/ebook/library/Zend/Registry.php:147 Stack trace: #0 /home/ebook/application/bootstrap/Bootstrap.php(181): Zend_Registry::get('db') #1 /home/ebook/library/Zend/Application/Bootstrap/BootstrapAbstract.php(669): Bootstrap->_initDbProfiler() #2 /home/ebook/library/Zend/Application/Bootstrap/BootstrapAbstract.php(622): Zend_Application_Bootstrap_BootstrapAbstract->_executeResource('dbprofiler') #3 /home/ebook/application/bootstrap/Bootstrap.php(2111): Zend_Application_Bootstrap_BootstrapAbstract->_bootstrap(NULL) #4 /home/ebook/library/Zend/Application/Bootstrap/BootstrapAbstract.php(586): Bootstrap->_bootstrap(NULL) #5 /home/ebook/library/Zend/Application.php(355): Zend_Application_Bootstrap_BootstrapAbstract->bootstrap(NULL) #6 /home/ebook/application/application.php(29): Zend_Application->bootstrap() #7 /home/ebook/public/index.php(36): require('/home/ebook/app...') #8 {main} thrown in /home/ebook/library/Zend/Registry.php on line 147