Site Maintainance Module

ramanakallil - April 28, 2008 - 08:46

I logged in as administrator. I made the site off-line under site maintainance and logged out. Now i am not able to enter the site. It gives the message site offline. what should i do? Please can any body clarify.

thanks
ramana

Go to

cog.rusty - April 28, 2008 - 11:02

site maintainance

ramanakallil - April 28, 2008 - 11:41

ye i went there. it shows
Server Configuration

Tools

Your Projects

Your Aliases

now what should i do
thanks
ramana

(no title)

cog.rusty - April 28, 2008 - 11:55

That should show you a login page.

By "yoursite.com" I mean your Drupal site. By "user" I meant the word "user". If it doesn't work then there must be a problem with your setup and I can't say anything more without knowing all the details.

i am working on a localhost.

ramanakallil - April 28, 2008 - 12:06

i am working on a localhost. now i typed http://localhost:8084/mysite/?q=user
It is not going to the login page but giving a message

Site off-line
mysite Site is currently under maintenance. We should be back shortly. Thank you for your patience.

thanks
ramana

Hmm... this was not supposed

cog.rusty - April 28, 2008 - 13:19

Hmm... this was not supposed to be happening in the user page.

Anyway, you can look in the "variable" table in database for an entry with name site_offline and value s:1:"1"; and change the value to s:1:"0";

Another way, without doing anything in the database, is to override that value in your settings.php file:

* To override specific entries in the 'variable' table for this site,
* set them here. You usually don't need to use this feature. This is
* useful in a configuration file for a vhost or directory, rather than
* the default settings.php. Any configuration setting from the 'variable'
* table can be given a new value. Note that any values you provide in
* these variable overrides will not be modifiable from the Drupal
* administration interface.
*
* Remove the leading hash signs to enable.
*/
$conf = array(
'site_offline' => '0',
#   'site_name' => 'My Drupal site',
#   'theme_default' => 'minnelli',
#   'anonymous' => 'Visitor',

(I have uncommented the $conf line and added one line under it)

Then log in to your site, set the site to "online" and restore your setings.php file to what it was before.

Thanks rusty, I have sorted

ramanakallil - April 29, 2008 - 07:58

Thanks rusty,
I have sorted out the problem. what i did was i copied the drupal-6.1 during the installation and named the new folder as mysite and i was accessing through
http://localhost:8084/mysite.
Now i tried the http://localhost:8084/drupal-1.6, then i got the adminstration panel.

by the by thanks for your advice

ramana

 
 

Drupal is a registered trademark of Dries Buytaert.