Stuck in maintenance mode

xieliwei

Joined: 2008-06-19
Posts: 8
Posted: Thu, 2008-06-19 13:10

I've set an external maintenance url but now gallery keeps redirecting me to that url, even when trying to access administration!

I've also checked config.php, which tells me that maintenance is off. I've also searched through the database and can't seem to find a flag that tells it to go into maintenance mode.

All caches have also been cleared in case the redirection was cached.

How do I go about fixing this? I suspect its because I'm trying to access administration using the rewritten address, can anyone provide me the long address to access administration?

I cannot access the maintenance page, the below information is filled out manually.

Gallery version: SVN Trunk 17661
PHP version: 4.4.0
PHPInfo Link: Please ask me personally
Webserver: Apache 2.2.4
Database: MySQL 5.0.51
Operating system: openSuSe 10.3
Browser: Firefox 3.0 Release

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Thu, 2008-06-19 15:50

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

maint page: main.php?g2_view=core.SiteAdmin&g2_subView=core.AdminMaintenance

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
xieliwei

Joined: 2008-06-19
Posts: 8
Posted: Fri, 2008-06-20 02:46

Thanks dave, those links proved useful!

One question, is it possible to use an external maintenance page with rewrite on without having to remember the long addresses?

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Fri, 2008-06-20 04:58

Sure, if you dont' give the admin rule in the setup of the rules.
I have not used G2.3 much so take that with a grain of salt.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
xieliwei

Joined: 2008-06-19
Posts: 8
Posted: Fri, 2008-06-20 05:50

Thanks for the reply.

But I mean I want to be able to access my administration panel via http://www.example.com/admin/ while in maintenance mode, is that possible?

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Fri, 2008-06-20 05:56

I don't know never tried that feature of G2.3

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Fri, 2008-06-20 06:08

Your external link that you provide should have the link to login.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
xieliwei

Joined: 2008-06-19
Posts: 8
Posted: Fri, 2008-06-20 06:25

Good idea, I guess that'll do. Thanks!

 
digipixf0li0

Joined: 2010-01-18
Posts: 2
Posted: Mon, 2010-01-18 20:30

THANK YOU thank you thank you!

 
chris2172

Joined: 2010-01-04
Posts: 1
Posted: Thu, 2010-01-21 08:48

This has just saved my life.
All of my wifes photo's she has ever taken were on her site and by me putting it into maintanance mode stopped everyone from seing them.

 
claidheamdanns
claidheamdanns's picture

Joined: 2005-07-21
Posts: 12
Posted: Thu, 2010-01-28 03:18

Thank you, thank you, thank you ... floridave — you saved my life!

 
vachatterus
vachatterus's picture

Joined: 2009-08-28
Posts: 1
Posted: Sat, 2010-01-30 16:43

Thank you also. Saved a lot of work plus irritation with myself.

Pray, Meditate, Behave