Page 1 of 1

Drupal: Default theme - and unable to login

Posted: Fri Jun 01, 2012 1:13 pm
by ^rooker
[PROBLEM]
After a server reboot, a Drupal site suddenly was behaving odd:
1) The theme was reverted back to the default "garland" theme.
2) I was unable to login: A valid login simply returned me to the same login page as if nothing happened.

Wrong username/password combinations however, gave an error message.

Weird...
I've checked apache/htaccess, but everything was fine - even the rewrite rules.

[SOLUTION]
The tables "session" and "variable" in the MySQL database was marked as "in use" - and unable to be browsed or accessed.

So I've used "PhpMyAdmin" to repair that table - as explained in a HowTo on hostingformular.net.

PhpMyAdmin showed a warning vor the "variable" table, but still I was able to login now:
Table Op Msg_type Msg_text
variable repair warning Number of rows changed from 165 to 164
After logging in, I had to re-set the timezone and re-assign the default theme - and then everything was back to normal! :D