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 |
Jump to:
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
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
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
Better would be not to allow you to switch users if the site is in maintenance mode.
#4
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
http://drupal.org/node/112107