Closed (fixed)
Project:
Remember me
Version:
master
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Feb 2007 at 07:26 UTC
Updated:
23 Feb 2007 at 09:30 UTC
So, the module doesn't work as needed with Drupal 5; that is, user can login, but can't log out; or, a php exception error is thrown.
Now, if we comment out the lines:
session_write_close();
session_set_save_handler("sess_open", "sess_close", "remember_me_sess_read", "sess_write", "sess_destroy", "sess_gc");
session_start();
in function _remember_me_set_lifetime in remember_me.module, the module starts working fine.
Any ideas why?
Comments
Comment #1
doq commentedI have added
to make module work correctly with organic groups module that invokes user_load() in its hook_init(). But it doesn't work with Drupal 5.0 'cos we have specified invalid callback in session_set_save_handler().
Fixed. Commited to the HEAD.
Comment #2
(not verified) commented