Help! I can't get into my site after switching it to 'offline'!

twentyfive8 - April 5, 2007 - 09:33

Boy, do I feel dumb!

I was building my new site, and selected 'Offline' from the site access admin page. Problem is, I logged off, and now I can't get back in!

Is there any way I can circumvent this through the control panel, or do I basically have to re-do the entire site from scratch?

Also: can I embed objects through TinyMCE, such as my chatbot? Tried a few times, and it ain't working ...

Thank you!

getting back in

jansky - April 5, 2007 - 09:44

I'm not 100% sure but you could try to change the file update.php where it says:

**
* @file
* Administrative page for handling updates from one Drupal version to another.
*
* Point your browser to "http://www.example.com/update.php" and follow the
* instructions.
*
* If you are not logged in as administrator, you will need to modify the access
* check statement below. Change the TRUE to a FALSE to disable the access
* check. After finishing the upgrade, be sure to open this file and change the
* FALSE back to a TRUE!
*/

// Enforce access checking?
$access_check = FALSE;
put a TRUE and go to your admin node directly. But I cannot say if it works, I wouldn't try it on my site to give you a green light, sorry!

go to

rogerpfaff - April 5, 2007 - 09:48

www.example.com/user log in as admin and there you are. ;)

Thank you!

twentyfive8 - April 5, 2007 - 14:07

That's the solution -- logging in at www.example.com/user. Muchas gracias!

I'm in the same pickle, but didnt work

volunteermama - August 29, 2007 - 01:33

I'm in the same pickle, but it didnt work....

I get

Error 500 - Internal server error

An internal server error has occured!
Please try again later.

when I go to www.blah.com/user

maybe my upgrade (from 5.1 to 5.2) went wrong ......

any ideas?

works, but why?

volunteermama - August 29, 2007 - 02:17

I tried the solution at:
http://drupal.org/node/137225

and found that commenting those lines and making a new php.ini file worked.... but why? (I use 1and1)

and does this mean I am gonna have other troubles? Should I not upgrade to 5.2?

Roger that

D-A-R-K - February 21, 2008 - 00:14

RGR that mate!

Thanks for the very useful info, much appreciated :)

Thank you!

twentyfive8 - April 5, 2007 - 14:08

That's the solution -- logging in at www.example.com/user. Muchas gracias!

Correct syntax is . . .

Conceptual Guerilla - October 1, 2007 - 16:20

IE works but not Firefox

elvisparsley - October 2, 2007 - 10:54

The method works with IE7, but not with Firefox.

Is there any reason for this?

Can I make it work with Firefox?

sorry to correct you...

corcken - February 10, 2008 - 22:55

... but the right URL would be
www.example.com/?q=user
and NOT
www.example.com/q?=user

Should we address this in the install instructions?

divrom - April 5, 2007 - 10:58

Maybe there needs to be a link to this FAQ in the install instructions: Troubleshooting FAQ: How to login once you have turned your site off-line for maintenance.

This question seems to come up quite regularly (e.g http://drupal.org/node/133910).

The ideal solution would be

coreb - April 5, 2007 - 14:22

The ideal solution would be to document it where they switch the site to offline mode. But that solution would require the users to actually read the instructions. ;)

Serisouly, we should probably look at contributing a patch to the INSTALL file with (at least) the links to the common problems like this.

Alternate solution

seadog - September 21, 2007 - 06:16

I also couldn't get back in using the "www.example.com/user" method. It's because I had clean URLs enabled, and had screwed up the .htaccess file on upload (Dreamweaver will do that to you). So, if the step above doesn't work, try "www.example.com/?q=user" next. Realize that you will need to manually insert "?q=" in every URL until you (1) fix your .htaccess file, or (2) disable clean URLs. it worked for me anyway.

i have the same issue....

kasperjames - November 17, 2007 - 11:13

this sucks...did you figure it out?

Thanks for your help and support:
www.kasperjames.com/

not working for me

rajaiskandarshah - January 10, 2008 - 15:41

tried all of the above and unfortunately it's not working for me.

when i tried "www.example.com/?q=user" i get the following message:

Fatal error: Unsupported operand types in /home/norazila/public_html/eng/includes/form.inc on line 342

not seen this yet on the forum.

Raja Iskandar Shah
Consulting for Malaysian Business
www.norazilaco.biz

/-=-/

pnlnl - January 10, 2008 - 17:29

have you done some cleaning up lately, like deleting files using the file manager... i got a similar message once after doing some cleaning up, but I fixed it quickly by uploading the missing files, do you have a recent backup to your site?.. your problem could be smth completely different but just a suggestion...

I'm glad I'm never the only one.

GearedDesign - February 22, 2008 - 04:24

I did this too! LOL. I love this community. Most every time I have an issue, someone has already asked about it and a solution has been offered. ;D

~ Mystical
Geared Design

Yep, I too felt rather dumb after switching to 'offline'.

boats - March 19, 2008 - 14:33

And I did this too, I'm still such a novice, but thanks for the solutions offered above here. Thanks again to all on this forum so I could 'fix' this problem in 'no time' :).
Boats (new user)
--By the way, my SEAMONKEY had no problems--

It works..

Shally87 - April 29, 2008 - 13:52

Haha..setting it offline without knowing how to make online back.. it's not dumb anyway have turn site offline to construc the page..thanks to the advice.. www.mysite.tld/user did work..

Check you .htaccess file

cneetz - October 14, 2008 - 18:46

If you have recently updated your site and you have setup clean urls, you might have to uncomment the line # RewriteBase / otherwise this will cause everything outside of of your www.example.com to create internal server errors.

Oh my!

teremka - December 2, 2008 - 21:27

First, MySQL couldn't connect. So, I reinstalled MAMP and did killall -9 and that worked. Now, I'm getting the same error as above. Site off-line.

Nothing works. I don't seem to have a .htaccess file (is this a problem?). www.example.com/user OR www.example.com/?q=user don't work, (I'm assuming www.example translates to http://localhost/drupal....)?

Not sure how I got into this mess or how to get out of it.

Ooohhhh

teremka - December 2, 2008 - 21:39

I'm such a dork. Of course it doesn't work! The answer is in the question. Or, rather, I answered my own question. *sigh*
I reinstalled MAMP, which means the drupal database was deleted. So, drupal@localhost doesn't exist...

Silly me.

hi my site has been showing

soniasss - June 6, 2009 - 23:42

hi

my site has been showing the maintenance page for hours. i have tried the sql stuff and still cannot get any further. the /user and /?q=user brings the same page.

anything else i can try?... i just made this site and dont have any backup!

thanks

 
 

Drupal is a registered trademark of Dries Buytaert.