Hello everyone.

For the last few days I'm trying to find out why no object is being saved when 
I authenticate a user. To store my sessions I'm using 
Zend_Application_Resource_Session with the following corrosponding entry in my 
application.ini:

; Session
; http://framework.zend.com/issues/browse/ZF-8636
; http://framework.zend.com/issues/browse/ZF-7000
resources.session.gc_maxlifetime                          = 86400
resources.session.use_cookies                             = 1
resources.session.use_only_cookies                        = 1
resources.session.save_path                               = APPLICATION_PATH 
"/../tmp/session/"
resources.session.use_only_cookies                        = true
resources.session.remember_me_seconds                     = 864000
resources.session.saveHandler.class                       = 
"Zend_Session_SaveHandler_DbTable"
resources.session.saveHandler.options.name                = "session"
resources.session.saveHandler.options.primary.0           = "session_id"
resources.session.saveHandler.options.primary.1           = "save_path"
resources.session.saveHandler.options.primary.2           = "name"
resources.session.saveHandler.options.primaryAssignment.0 = "sessionId"
resources.session.saveHandler.options.primaryAssignment.1 = "sessionSavePath"
resources.session.saveHandler.options.primaryAssignment.2 = "sessionName"
resources.session.saveHandler.options.modifiedColumn      = "modified"
resources.session.saveHandler.options.dataColumn          = "session_data"
resources.session.saveHandler.options.lifetimeColumn      = "lifetime"

The sessions are stored in the database, but I get the following warning when 
dumping the contents of Zend_Auth::getInstance()->authenticate($adapter):

Warning: session_write_close() [function.session-write-close]: Failed to write 
session data (user). Please verify that the current setting of 
session.save_path is correct 
(/opt/local/apache2/htdocs/fmdbv3/application/../tmp/session/) in 
/opt/local/apache2/htdocs/fmdbv3/library/Zend/Session.php on line 0

The path is there and it also has the mode 777. Additionally the following 
fatal error is thrown:

Fatal error: Exception thrown without a stack frame in Unknown on line 0

Maybe something went wrong with my auth adapter which can be found here: 
https://gist.github.com/154cf1aac9a2311ceb70

Any help is appricated.

All the best,
Marcus

Reply via email to