Locked out of site by maintenance mode (solved)

flippingheck
flippingheck's picture

Joined: 2009-06-08
Posts: 25
Posted: Mon, 2009-06-15 07:58

Logged out of G2 and now can't get back in as it's in maintenance mode. I have the setting in config.php set to false but to no avail. I just keep seeing the /maintenance.html file. Is there something I'm missing? Thanks.

/*
* Maintenance mode. You can disable access to the site for anyone but
* site administrators by setting this flag. Set value below to:
* true (without quotes) - to use a basic notification page; themed
* view with admin login link when codebase is up to date, but a
* plain unstyled page when codebase has been updated but upgrader
* has not yet been run.
* url (with quotes) - provide a url where requests are redirected in
* either case described above. Example: '/maintenance.html'
* false (without quotes) - maintenance mode off
*/
$gallery->setConfig('mode.maintenance', false);

 
flippingheck
flippingheck's picture

Joined: 2009-06-08
Posts: 25
Posted: Mon, 2010-07-26 17:55

Found the answer on another post. Used -

main.php?g2_view=core.UserAdmin&g2_subView=core.UserLogin

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Mon, 2010-07-26 18:11

Were you really locked out for over a year?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
flippingheck
flippingheck's picture

Joined: 2009-06-08
Posts: 25
Posted: Mon, 2010-07-26 20:01

Ha ha. No. I just came across my old post today and realised that the link that I had left didn't work. So I've edited it and left the answer I used.
Sorry, probably should have made a new reply on reflection. :)

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Mon, 2010-07-26 20:18

No problem, hopefully it does help someone in the future. Thanks for correcting that.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here