Testing the new database error screens I got a 'Undefined variable: _SESSION in .../bootstrap.inc on line 775.

Attached patch fixes this by moving the $_SESSION['messages'] declaration to the beginning of the drupal_set_messages() function.

CommentFileSizeAuthor
bootstrap_undefined_variable_session.patch529 byteskumo

Comments

tostinni’s picture

I don't get anymore these Session messge with a fresh cvs checkout.

moshe weitzman’s picture

Status: Needs review » Closed (fixed)

please reopen if this is still happenning.