My site is developed in Drupal 7. Recently I have put my site to maintenance mode. And now I need to put this site back to live.
Unfortunately I am not able to login as admin and 'Go Online'(Because of some modifications in the user login form). I have also tried to update the 'site_offline' variable by database query. But this also did not work. To my surprise, there was no variable like 'site_offline' in db. Why is this so?
Can anybody help to get this issue solved? Any help or suggestions will be a greatly appreciated.
I also faced the same issue, and I add following statement to the end of the settings.php file. And it worked.
$conf['maintenance_mode'] = 0;