ZF-4077: Zend_Session_SaveHandler_DbTable Error when using Oracle


When using Zend_Session_SaveHandler_DbTable I get the following errors:

Fatal error: Uncaught exception 'Zend_Session_Exception' with message 'Zend_Session::start() - /sites/ Error #8 Undefined variable: alias Array /sites/ Error #2 Missing argument 2 for Zend_Db_Adapter_Oracle::quoteTableAs(), called in /sites/ on line 998 and defined Array /sites/ Error #8 Undefined variable: alias Array' in /sites/… Stack trace:

0 /sites/ Zend_Session::start()

1 /sites/ require('/sites/jetbowli...')

2 {main}

thrown in /sites/ on line 432

This is how I am starting the session: Zend_Db_Table_Abstract::setDefaultAdapter($db); $config = array( 'name' => 'SESSIONS', 'primary' => 'SES_SESSION_ID', 'modifiedColumn' => 'SES_MODIFIED', 'lifetimeColumn' => 'SES_LIFETIME', 'dataColumn' => 'SES_DATA' );

//set the save handler for Zend_Session Zend_Session::setSaveHandler(new Zend_Session_SaveHandler_DbTable($config));

//start your session Zend_Session::start();

I am using the "oracle" adapter to connect to the database.


Fixed in SVN11560 for Oracle and SVN9537 for Pdo_Oci

Changing issues in preparation for the 1.7.0 release.