Problems, need help? Have a tip or advice? Post it here.
4 posts Page 1 of 1
Hi all,
As per the title - is it possible for an admin user to login and make changes while a site is in maintenance mode?
I have recently taken ownership of a CouchCMS site which, I have setup a copy on our development server and have put it in maintenance mode, but I can't access the login form (I just get the maintenance mode screen).

Do any of you have any suggestions?

Regards,
Denis
Hi,

The 'maintenance' mode doesn't apply to admins.
Please access the admin-panel directly by typing its URL in the address bar (e.g. http://yoursite.com/couch/) and you should get the login prompt.

Hope this helps.
Thanks KK.

I had tried that, but am redirected to the maintenance mode screen:
http://xyz.com/couch/

Any suggestions?
I had a look at the site and can see that 'extended users' addon is being used (the login page redirects to http://xyz/users/login/?redirect=%2Fcouch%2F).

I could also see that you are using an older (1.x) version of Couch - things have changed in the later version where this is no longer an issue.

For your version, you'll have to temporarily disable 'extended users' by editing 'couch/addons/extended/config.php' file.
Find the line highlighted in red below -
// Names of the required templates
$t['users_tpl'] = 'some value';
$t['login_tpl'] = 'some value';
..;

and then comment it out (by prefixing it with double slashes) as follows
// Names of the required templates
$t['users_tpl'] = 'some value';
// $t['login_tpl'] = 'some value';
..;

Now access http://xyz.com/couch/ and you should get the default login page.

Hope this helps.
4 posts Page 1 of 1
cron