When running my app after upgrade to 1.8.1 I got exception 'No adapter found
for Zend_Session_SaveHandler_DbTable'. During debugging I discovered that
before bootstrapping any resources Zend_Application sets options via
setOptions, which internally construct Zend_Session_SaveHandler_DbTable. But
in this moment there is no default db adapter, because bootstrapping did not
start -> no resources was executed, but I have to Db resource to be
executed. Am I the only who meet this?

Fatal error:  Uncaught exception 'Zend_Db_Table_Exception' with message 'No
adapter found for Zend_Session_SaveHandler_DbTable' in
Z:\home\root\www\system\library\Zend\Db\Table\Abstract.php:667
Stack trace:
#0 Z:\home\root\www\system\library\Zend\Db\Table\Abstract.php(652):
Zend_Db_Table_Abstract->_setupDatabaseAdapter()
#1
Z:\home\root\www\system\library\Zend\Session\SaveHandler\DbTable.php(401):
Zend_Db_Table_Abstract->_setup()
#2 Z:\home\root\www\system\library\Zend\Db\Table\Abstract.php(286):
Zend_Session_SaveHandler_DbTable->_setup()
#3
Z:\home\root\www\system\library\Zend\Session\SaveHandler\DbTable.php(205):
Zend_Db_Table_Abstract->__construct(Array)
#4
Z:\home\root\www\system\library\Zend\Application\Resource\Session.php(59):
Zend_Session_SaveHandler_DbTable->__construct(Array)
#5
Z:\home\root\www\system\library\Zend\Application\Resource\ResourceAbstract.php(93):
Zend_Application_Resource_Session->setSaveHandler(Array)
#6
Z:\home\root\www\system\library\Zend\Application\Resource\ResourceAbstract.php(72):
Zend_Appli in Z:\home\root\www\system\library\Zend\Db\Table\Abstract.php on
line 667<br />

PS Sorry for my english.
-- 
View this message in context: 
http://www.nabble.com/Zend_Application%3A-setOptions%28%29-before-bootstrap%28%29-tp23536214p23536214.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to