This ticket is a copy of a ticket for the legal module (which has the same problem) #834962: Fix session handling issue
---
A side effect of calling session_destroy() in PHP 5.2.X or below is that all the user-defined session save handlers set for the session are also destroyed.
This causes the following error:
Fatal error: session_start() [function.session-start]: Failed to initialize storage module: user (path: /var/lib/php5) in /var/WWW/drupal/includes/bootstrap.inc on line 1676
This is especially problematic under Pressflow with the way they handle cookies.
The attached patch re-initializes the session save handlers after calling session_destroy().
Further reading : https://bugs.edge.launchpad.net/pressflow/+bug/513117 http://bugs.php.net/bug.php?id=32330
| Comment | File | Size | Author |
|---|---|---|---|
| fb_user-session.patch | 503 bytes | a_c_m |
Comments
Comment #1
Dave Cohen commentedThanks. Checked in. Will be in next release.
Comment #3
BManuel commentedI still get this error when I try to logout from my website, while still login at facebook.
Thanks