Posted by SyntheticShield on February 11, 2007 at 6:14pm
Can anyone tell me how to get back into my site. I selected the off line status for my developement site on my test server and its kicked me out of the admin side to and I dont see a way to log into the backend. I went to http://localhost/mysite/admin and it still shows me the off line message. How do you work on a Drupal site if, when you select the off line status, you cant get to the admin side?
Comments
FAQ
See the relevant entry in the Troubleshooting FAQ: How to login once you have turned your site off-line for maintenance.
You need to login as a user with the "administer site configuration" permission, or just the user with the user id 1. Clear your cookies before attempting to login again.
--
The Manual | Troubleshooting FAQ | Tips for posting | How to report a security issue.
--
The Manual | Troubleshooting FAQ | Tips for posting | How to report a security issue.
Thank you very much, I
Thank you very much, I appreciate it.
Ive been using Joomla for a while and have been playing around with Drupal and I guess I gotta get used to the new way of doing things. I have some of the documentation printed out, though I guess I didnt get the right stuff or search well enough.
Scotty Hall
Bartlesville, OK
A good way back after site_offline (admin kicked out)
I am one of those that changing the variable site_offline in the database didn't give me back access.
So here is the solution :
You only need to make a small edit in the settings.php files (located in /sites/default/ )
<?php
/**
* Variable overrides [...]
*/
$conf = array(
'site_offline' => '0'
);
?>
Michael Lessard
webmaster of Siriel-Media - world citizens sharing news about "policies of mass destruction" (crimes against humanity, crimes of war and violent policies against civilian populations)
Michael Lessard
webmaster of Quebec City 'democracy in action' calendar (Drupal6) and the Siriel-Media - news about "policies of mass destruction" (old Drupal4), and a many oth
I have the same issue
I have the same issue but it did not work for me
http://drupal.org/node/769878
"We must become the change we want to see" [quote: Mahatma Gandhi]
Thanks
Thanks, I was thrown out by the site after putting it in Off mode and this tip got me back!!!
Thanks again.
:-) user not admin
go to http://yourHost/yourDrupalSite/user (not admin).
login page ok
I get the login page, but now i get the message:
Sorry, unrecognized username or password. Have you forgotten your password?
Any other way around this?
If you have access to the database
If you have access to the database, you could simply change the off-line status there, or change your password and follow the suggestions above.
------
Felix web Creations | Think Happy!
Forward Therapy : Solution-focused Hypnotherapy Northampton
Yes i have access to the database
But i have no idea of what/where to do it.
I am very new to Drupal, and i don't have a web/programming/database background or much knowledge.
any hints?
Sorry, didn't mean to leave
Sorry, didn't mean to leave incomplete instructions.
If you are using phpmyadmin, it couldn't be simpler! Go the the users table (click the far left icon to get there, not the text) and click the pencil icon next to the admin user.
On the line that says 'pass varchar(32)' select the drop-down menu in the functions column and choose MD5. Then, at the end of the row change the password to whatever you want.
This should allow you to get back in, if you're using the wrong password.
------
Felix web Creations | Think Happy!
Forward Therapy : Solution-focused Hypnotherapy Northampton
Thanks for preventing me
Thanks for preventing me from having a real bad day! Worked like a charm.
All good things must come to an end, enjoy them before they do!
All good things must come to an end, enjoy them before they do!
Check out DreamHost.com for down to earth hosting. If you like, use 'KarmaSpread' to save some $. 10% of my referral goes to charity.
Thanks
I never knew the MD5 trick
~ Mike Usry
SEO Firm
PhpMyadmin access, but unable to change off-line status.
I tried by simply clicking to variable, and change site_offline back from "1" to "0".
The off_line message just stays, and I'm still not getting in.
I probably missed some more step? (My database experience is rather limited).
Even changing the off_line messeage didn't "get through" to Drupal, while still visible in PhpMyAdmin.
Eventually I got in by some Voodo. No trace of the data base changes ie still site_offline. And when I changed back from Drupal, it even restored the off_line message. My changes in PhpMyAdmin was in complete vain.
Guess I was supposed to commit something or restart some caching, but I can't figure out how and where.
(mainly) Swedish Drupal sites:
www.idekampanjer.se
FAQ
See the FAQ entry (1st comment on this thread).
--
The Manual | Troubleshooting FAQ | Tips for posting | How to report a security issue.
--
The Manual | Troubleshooting FAQ | Tips for posting | How to report a security issue.
Aha. Thanks for a quick
Aha. Thanks for a quick response.
I missed the fact that it also covered database hacking details!
(mainly) Swedish Drupal sites:
www.idekampanjer.se
Can not log back in after taking the site offline.
I am learning to use Drupal 7 on a local installation.
After taking the site offline to change a variable in the php (5.3) configuration file, and then clicking on the Go Online link of the admin page, I have been locked out (keep getting the site under maintenance page).
I tried adding the following text to the settings.php, but the I get HTTP 500 internal error message:
<?php
/**
* Variable overrides [...]
*/
$conf = array(
'site_offline' => '0'
);
?>
I also tried without success on the MySQL db (using the MySQL Workbench):
UPDATE variable SET value = 's:1:"0";' WHERE name= 'site_offline';
DELETE FROM cache WHERE cid = 'variables';
Any ideas will be welcomed. Thanks