ZF-4077: Zend_Session_SaveHandler_DbTable Error when using Oracle

Issue Type: Bug Created: 2008-08-26T10:39:00.000+0000 Last Updated: 2008-11-13T14:10:29.000+0000 Status: Resolved Fix version(s): - 1.7.0 (17/Nov/08)

Reporter: Jonathan Crossett (crossett) Assignee: Mickael Perraud (mikaelkael) Tags: - Zend_Session

Related issues: - ZF-2825



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.


Posted by Mickael Perraud (mikaelkael) on 2008-10-12T12:07:27.000+0000

Fixed in SVN11560 for Oracle and SVN9537 for Pdo_Oci

Posted by Wil Sinclair (wil) on 2008-11-13T14:10:29.000+0000

Changing issues in preparation for the 1.7.0 release.

Have you found an issue?

See the Overview section for more details.


© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.