I can´t access

jabadco - February 27, 2007 - 02:04

hello
I did the order to be offline with my drupal. I did logout and now I can´t access to login as administrator.
What can I do?
I worked hard with all the information and I am scared to lose all my job.

Can someone help me?

thanks a lot

javier

FAQ

Steven - February 27, 2007 - 02:08

Spend 5 seconds locating the FAQ to get your very common answer, and stop wasting everyone's time.

--
If you have a problem, please search before posting a question.

hi Steven I was writing a

jabadco - February 27, 2007 - 02:15

hi Steven
I was writing a message telling that I had found the answer...but you are so fast :-)

If you think you are wasting time, I don't know what the hell are you doing here.

Take care

aps...the solution is

UPDATE variable SET value = 's:1:"0";' WHERE name= 'site_offline';
DELETE FROM cache WHERE cid = 'variables';

if someone have this problem.

A good way back after site_offline (admin kicked out)

mic - May 21, 2007 - 16:34

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)

 
 

Drupal is a registered trademark of Dries Buytaert.