Drupal Tutorials and Blog Posts

How to get your Drupal Site Back Online after Setting it to Off-line

December 12, 2010 | Written by Nick Savov

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

tutuploadsmedia_1292211722170.png

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

tutuploadsmedia_1292211814287.png

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

tutuploadsmedia_1292212261287.png

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

tutuploadsmedia_1292212363559.png

Go to the Site Maintenance Section by clicking on Operating in off-line mode

Set to Online

tutuploadsmedia_1292212528872.png

Pretty simple here. Just set it to Online and save.

Mission Accomplished

tutuploadsmedia_1292212630863.png

You can check your site now and see that it is back online!


 

Comments  

 
#1 Betty 2011-01-26 11:04
Zajebiocha!
Fajnie, że jest to fajnie opisane!!!
POMOGŁO!!!
;o)
 
 
#2 Dean 2011-03-07 13:33
Big Thank You from a noob admin.

I just did this and was able to get back in.

Thanks
Dean
 
 
#3 iowawebco 2011-03-07 15:55
Serdecznie zapraszamy, Betty! :)
 
 
#4 iowawebco 2011-03-07 15:56
You're very welcome, Dean! :)

If you're looking to accelerate your learning, you might be interested in some of our classes:
www.ostraining.com/.../

Kind regards,
Nick
 
 
#5 Ensemble 2012-01-12 12:58
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?
 
 
#6 iowawebco 2012-01-12 13:59
Hi and welcome, Ensemble!

We would love to get into a discussion with you on this. If you are a student at OSTraining.com, please log into the support forum (www.ostraining.com/.../) 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 www.ostraining.com/online

Kind regards,
Nick
 
 
#7 Sue Foltin 2012-01-18 15:05
I have tried this and still no login... just the site. There is an error message regarding the mysqli dbname@some_unk nownIPaddress and The password: YES). What does this all mean?
 
 
#8 iowawebco 2012-01-18 17:05
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 OSTraining.com, please log into the support forum (www.ostraining.com/.../) 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 www.ostraining.com/online

Kind regards,
Nick
 

Add comment