I searched Drupal and could not find anything on this. I set a site to run "offline" but now I cannot login. I've tried
URL/user/login?destination=login
and
URL/login
to no avail.
Urgh!
/ liza sabater www.culturekitchen.com
That's not a bug, that's the intent. If the site is offline, no one but an already-logged in UID 1 administrator can use the site, on the assumption that UID 1 is doing something tricky that requires exclusive access.
To forceably un-lock the site, try running this SQL command on your database:
UPDATE variable SET value = 's:1:"0";' WHERE name='site_offline'
That changes the offline flag from 1 to 0, and should give you the site back.
Cheers.
On Saturday 02 September 2006 22:58, blogdiva@culturekitchen.com wrote:
I searched Drupal and could not find anything on this. I set a site to run "offline" but now I cannot login. I've tried
URL/user/login?destination=login
and
URL/login
to no avail.
Urgh!
/ liza sabater www.culturekitchen.com
Nevermind :) I cleared the cache and after a few minutes, the site came back. Thanks!
ps : this may be good for the docs.
On 03.Sep.2006, at 12:36, blogdiva@culturekitchen.com wrote:
Thanks Larry,
I ran it but I still can't get in.
Any other suggestions?
On 03.Sep.2006, at 12:24, Larry Garfield wrote:
UPDATE variable SET value = 's:1:"0";' WHERE name='site_offline'
From the Troubleshooting FAQ (http://drupal.org/node/199):
Once you have turned your site off-line using admin>settings>site maintenance, you can log back in by visiting example.com/user or example.com/?q=user and entering the username and password of an account with permission to administer site configuration. User 1 has this ability as a safety net, should you not have this turned on in other administrator account(s).
Thanks Heine.
I should have made the point is I could not log in as user#1 at all.
Having the SQL reset information available in the documentation can come in handy.
Best, liza
On 03.Sep.2006, at 07:26, Heine Deelstra wrote:
From the Troubleshooting FAQ (http://drupal.org/node/199):
Once you have turned your site off-line using admin>settings>site maintenance, you can log back in by visiting example.com/user or example.com/?q=user and entering the username and password of an account with permission to administer site configuration. User 1 has this ability as a safety net, should you not have this turned on in other administrator account(s). -- [ Drupal support list | http://lists.drupal.org/ ]
On 9/3/06, blogdiva@culturekitchen.com blogdiva@culturekitchen.com wrote:
Thanks Heine.
You are welcome
I should have made the point is I could not log in as user#1 at all.
Please set your site to offline maintenance again, then logout. Now, try to use the URL ?q=user to login to your site as UID #1.
If it doesn't work, please file an issue..
Having the SQL reset information available in the documentation can come in handy.
Feel free to add it to the SQL snipptes page: http://drupal.org/node/41586