How to get your Drupal Site Back Online after Setting it to Off-line
Perhaps one of most frightening things for novice Drupal adminsitrators is finding out they forgot to set the site back to Online before logging out. In panic, they scream, “How can I get my site back Onine?! I can’t even log in!!!!”
When the site is set to Off-line, there is no login at www.mysite.com, as there usually is. This is to prevent your sites users from logging in as maintenance is done. So let’s quickly show how to log in.
Example of An Online Drupal Site
This is the usual situation where you can easily log into your administrator account and modify the settings to your account.
Example of An Off-line Drupal Site
If you are reading this tutorial, you are likely faced with this situation…no login. Do not panic! There is a simple solution!
www.mysitesurl.com/?q=user
Just type, ?q=user after your site’s root url, e.g. www.mysitesurl.com/?q=user, and this will get you to the hidden login page.
Access Site Maintenance Section
Go to the Site Maintenance Section by clicking on Operating in off-line mode
Set to Online
Pretty simple here. Just set it to Online and save.
Mission Accomplished
You can check your site now and see that it is back online!
{loadposition drupalnewsletter}
Big Thank You from a noob admin.
I just did this and was able to get back in.
Thanks
Dean
You’re very welcome, Dean! 🙂
If you’re looking to accelerate your learning, you might be interested in some of our classes:
[url=http://www.ostraining.com/live-drupal-training/]http://www.ostraining.com/l…[/url]
Kind regards,
Nick
When I log in as user1, and click on “Operating in off-line mode” I get redirected back to the “ofline” page. I still cannot put the site back online.
Any suggestions?
Hi and welcome, Ensemble!
We would love to get into a discussion with you on this. If you are a student at [url=http://ostraining.com]ostraining.com[/url], please log into the support forum ([url=http://www.ostraining.com/support-forum/)]http://www.ostraining.com/s…[/url] and post the question in there, so that one of our support techs can look into it for you. If you’re not a student, I hope you’ll consider becoming one, so that we can give you the attention you deserve. You can find out more about our online class at [url=http://www.ostraining.com/online]www.ostraining.com/online[/url]
Kind regards,
Nick
I have tried this and still no login… just the site. There is an error message regarding the mysqli dbname@some_unknownIPaddress and The password: YES). What does this all mean?
Hi and welcome, Sue!
Sounds like there might be some bigger issues going on. We would love to get into a discussion with you on this. If you are a student at [url=http://ostraining.com]ostraining.com[/url], please log into the support forum ([url=http://www.ostraining.com/support-forum/)]http://www.ostraining.com/s…[/url] and post the question in there, so that one of our support techs can look into it for you. If you’re not a student, I hope you’ll consider becoming one, so that we can give you the attention you deserve. You can find out more about our online class at [url=http://www.ostraining.com/online]www.ostraining.com/online[/url]
Kind regards,
Nick
Being a newbie to Drupal this did frighten me somewhat. Thank you – it worked.
However, you can clear the cookies as php sessions are cookie related and then use a clean URL such as;
[url=http://www.mysite.com/index.php?q=user]www.mysite.com/index.php?q=…[/url]
This worked in FirEfox v10