Trying out the latest code on the 6.x-1.x-dev branch, there appears to be a critical bug - any logged in user (except user 1) gets a white screen of death on all pages of the site, due to the user_load() function not being available in hook_boot().

Here is a quick patch that fixes that - it is basically just copied from the 6.x-2.x branch of the module.

CommentFileSizeAuthor
autologout-fix-whitescreen.patch721 bytesDavid_Rothstein

Comments

jvandervort’s picture

Status: Needs review » Fixed

Thanks for the help.
Committed.

MMachnik’s picture

Just wanted to post this here in case it is related or the same issue. This is with the 6.x-3.x-dev branch.

Two days in a row, I have had this occur:

* Am logged into site as user 1.
* Night before, put laptop to sleep. Firefox still running, logged into site.
* Next morning, awaken laptop, go to FF, visit site. Get WSOD with error message:

Fatal error: session_start() [function.session-start]: Failed to initialize storage module: user (path: /tmp) in .../includes/bootstrap.inc on line 1550

* Reload page. I'm not logged in, but the site loads fine now and I can log in.
* watchdog shows a notice, "Session closed for " before the log in notice, but nothing else.

I have only seen this twice now, but it has happened the last two days. I do not know if it happens for users other than user 1.

Any thoughts on what the fix might be in 3.x-dev?

Thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.