By purnellbp on
I was showing my boss Drupal this morning and I set the site to offline. I then logged myself out. When I tried to log back in to the site just the “offline” notice appears with no option to login. Can someone instruct me on how to get logged back in?
Comments
Have you tired logging in as
Have you tired logging in as the first created user, this will give you the administrator access, and you can then bring the site back on-line.
How am i supposed to try?
I don't even see a form field to login with. No matter what part of my site i try and go to all i get is the same OFFLINE message.
try yoursite.com/admin or
try
yoursite.com/admin or yoursite.com?q=admin
Tried the obvious stuff already
It's messed up that the login screen doesnt even come up when you try yoursite.com/admin or yoursite.com?q=admin
Any other suggestions? I jsut need to get to the admin page to put the page back online.
try yoursite.com?q=user -
try yoursite.com?q=user - that should give you the login page
AH HAAAAAAAA
Thanks paul-c, you da man. That was the simple answer i was looking for.
You're welcome
You're welcome. That ?q=admin link never works for me for some reason...
If you have access to
If you have access to PHPMyadmin, then go to the "variable" table and look for the "site_offline" attribute.
Yours will read (s:1:"1";)
Set it to (s:1:"0";)
This should hopefully switch the site back to on-line.
No workie
Switched the variable value to what you said and it didnt work. So i switched it back. I looked around the other variables and im really not sure what there all for but is there another one i can change to try and get a login field on the offline message page.
This may help
I don't know if you already have solved the problem but I will tell you how any ways.
:After changing the site to off line inorder for you to bring up the login window you must use the link
http://www.yoursite.com/?q=user/
Ethan Neuen
Issue solved
went to http://mysite.com/?q=user while site was offline. Able to login there.
for future reference
The handbook contains a Troubleshooting FAQ that answers this and several other common questions.
-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide -|- Black Mountain
-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide