Drupal: Default theme - and unable to login

Linux howto's, compile information, information on whatever we learned on working with linux, MACOs and - of course - Products of the big evil....
Post Reply
User avatar
^rooker
Site Admin
Posts: 1483
Joined: Fri Aug 29, 2003 8:39 pm

Drupal: Default theme - and unable to login

Post 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
Jumping out of an airplane is not a basic instinct. Neither is breathing underwater. But put the two together and you're traveling through space!
Post Reply