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.
| Comment | File | Size | Author |
|---|---|---|---|
| bootstrap_undefined_variable_session.patch | 529 bytes | kumo |
Comments
Comment #1
tostinni commentedI don't get anymore these Session messge with a fresh cvs checkout.
Comment #2
moshe weitzman commentedplease reopen if this is still happenning.