Drupal Tutorials and Blog Posts

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

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

 
Betty
#1 Betty 2011-01-26 16:04

Zajebiocha!
Fajnie, że jest to fajnie opisane!!!
POMOGŁO!!!
;o)
 
 
Dean
#2 Dean 2011-03-07 18:33

Big Thank You from a noob admin.

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

Thanks
Dean
 
 
Nick
#3 Nick 2011-03-07 20:55

Serdecznie zapraszamy, Betty! :)
 
 
Nick
#4 Nick 2011-03-07 20: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
 
 
Ensemble
#5 Ensemble 2012-01-12 17: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?
 
 
Nick
#6 Nick 2012-01-12 18: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
 
 
Sue Foltin
#7 Sue Foltin 2012-01-18 20: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?
 
 
Nick
#8 Nick 2012-01-18 22: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
 
 
Gerald
#9 Gerald 2012-02-18 17:23

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;

www.mysite.com/.../

This worked in FirEfox v10
 

Add comment


Security code
Refresh

blog-ad

Start Online Training

Members get access to all our video training. That's 1,142 training sessions in Joomla, Drupal, WordPress and Coding.

Latest Comments

The License for Our Tutorials

All of our tutorials are published under the Creative Commons Attribution-NonCommercial license. This means:

  • You can re-use these tutorials.
  • You can modify these tutorials.
  • You must link back to our original tutorial.
  • You can't use these tutorials commercially.

Click here to read the full license.

Open Source Training is not affiliated with or endorsed by the Joomla, WordPress or Drupal projects.
All product names and trademarks are the property of their respective owners.

Copyright 2013 Open Source Training, LLC. All rights reserved.