I have a site that went into offline mode inexplicably, and following the steps at http://drupal.org/node/56995 doesn't get it our of offline mode. I did not put it in offline mode and other instances of drupal running on the same server are working fine.

select * from variable where name= 'site_offline';

produces 0 rows, as does

select * from cache where cid = 'variables';

First, anybody seen this before, and second, if http://drupal.org/node/56995 doesn't work, what should I do?

TIA,

Mark

Comments

markj’s picture

For some reason, the db permissions I defined for that drupal instance stopped working. As soon as I regranted access to the user/password in my settings.php file, the site came back online. No idea why the mysql permissions stopped working though. Other drupals on my site using the same db but different credentials continued to work, so I concluded early on in my troubleshooting that the db server was up and operational.

stephenplatz’s picture

Could you elaborate about re-granting permissions to the user/password in the settings.php file? I think I am having the same problem as you described, but I'm not clear about your fix. Thanks

markj’s picture

I reapplied the GRANT statement found at http://drupal.org/getting-started/6/install/create-database (under "Create a database from the command line", point 3).