PKP Bugzilla – Bug 6320
Add "System is down for maintenance" option
Last modified: 2015-03-16 06:39:35 PDT
We are moving to Git Issues for bug tracking in future releases. During transition, content will be in both tools. If you'd like to file a new bug, please create an issue.
When the "installed" parameter in config.inc.php is set to "Off", any page view is automatically redirected to index.php/index/install. It would be nice to refine this a bit. How about the following:
-- don't redirect; but for any page that is not index.php/index/install, display a message such as "The system is currently down for maintenance; please check back shortly."
-- to install/upgrade the system, a user will have to specifically visit index.php/index/install, where they will find the install/upgrade page. (This is actually how Wordpress does it, IIRC.)
The benefit of this approach is that users visiting the site during an upgrade won't accidentally (and confusingly) stumble upon the install page. It's maybe a little less convenient for admins (they have to type in the install URL manually), but I think that's not such a problem.
+1 to this !!
In confidence, I was surprised when I realized how is it working now. :-)
Letting visitors see the install and update page is not a good idea... more than this is a VERY BAD idea. :-D
Maintenance mode page is also useful in magazine migrations when you need to block or redirect former OJS to the new one.
Right now, the only option I know is replacing index.php with your own page.
A text area somewhere in the config pages letting admins add a personalized text will be great.
Thanks for the great job,
This would be easy enough to add to 2.4.