Help with site maintainance

mishhh - March 28, 2007 - 15:14
Project:Masquerade
Version:5.x-1.1
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:duplicate
Description

I've hit the "Switch to test user" link by mistake while configuring the site in "site maintainance" mode.

I cannot log back. I tried all the usual methods. What can I do? Change something into the database?

Pls help me:P

#1

stella - March 28, 2007 - 15:26

have you tried navigating directly to www.mydomain.com/user to login back in as the admin user? Or if you're still logged in, you could try www.mydomain.com/logout first perhaps? What else have you tried?

Cheers,
Stella

#2

mishhh - March 28, 2007 - 15:33

I tried to login through www.mysite.com/?q=user but no chance

I didn't try logout but I've managed to resolve it by deleting the session for my admin user from database (sessions table). After this move, now www.mysite.com/?q=user works again...

Only after posting I saw another task request to put a "switch back" link in the "site offline" page. I guess it is a good idea, if it's not hard to implement such a feature.

Thank you anyway for your rapid response. I'm impressed:)

#3

icj - May 3, 2007 - 08:03

Better would be not to allow you to switch users if the site is in maintenance mode.

#4

spydmobile - June 10, 2007 - 19:33

I have had this probelm too, but I disagree with he previous comment to disable switching while in maintenance, this means I cannot masquerade as a test user and see my site maintenance message, rather provide an URL we can load to revert back to ourself.....in the mean time I will go and try to find the database entry that reverts back to normal online mode I guess.....

#5

Gurpartap Singh - January 28, 2008 - 14:03
Status:active» duplicate

http://drupal.org/node/112107

 
 

Drupal is a registered trademark of Dries Buytaert.