Not sure whats going on, I'm testing this new module to allow for sessions to be stored in redis since we need sessions to persist over horizontal scaling of our drupal web heads.

I got in this morning and tired to log out of my drupal account and the page errored.. watchdog shows this in the logs.

 59  02/May 09:09  php       error     Error: Class 'SessionProxy_Helper' not found in session_proxy_user_logout() (line 26 of 
                                       /var/www/drupal/sites/all/modules/session_proxy/session_proxy.module).                  
 58  02/May 09:09  user      notice    Session automatically closed for tesuser by autologout.  

Comments

gateway69 created an issue. See original summary.

phjou’s picture

I have the exact same problem, it seems that the file session.inc is called because functions inside the file are available but the class SessionProxy_Helper is not loaded.

I can't find out why the class is not available when calling hook_user_logout.

I just did a patch to test that the class is available. At least it avoids the fatal error.

phjou’s picture

StatusFileSize
new587 bytes

Just forgotten to indent.