Since activeCollab 2.0, activeCollab can be put into a special Maintenance mode. When activeCollab is in maintenance mode, only people set as Administrators will be able to use it. All the other users will receive a Service Unavailable message.

1. Enabling Maintenance Mode

To enable Maintenance Mode, please click the Maintenance Mode icon in the Administration section:

Set Enable Maintenance Mode to Yes and click Submit, to instantly make the system unavailable to all non-administrative users. Additionally, you can provide maintenance message to users by setting a Maintenance Message value. This message is used to explain why the system is unavailable and when it will be back online. HTML is not supported, but activeCollab will preserve line breaks and automatically detect links.

2. System Maintenance Mode

On top of the regular Maintenance Mode, activeCollab also has a System Maintenance Mode:

The System Maintenance Mode is a specific mode used when you want to block access to the entire system and don't want anyone to be able to log in, even administrators.

This mode is useful when you are upgrading activeCollab, for example. Because this mode is dependent on a single file, activeCollab will display whatever message you set while other files are being upgraded.

The System Maintenance Mode mode can be turned on by setting the MAINTENANCE_MESSAGE option in the config/config.php file to whatever message you want to display to your users. For example:

define('MAINTENANCE_MESSAGE', "We are upgrading the system to the latest version. It'll be back online in the next couple of hours.");

When you want to turn it off, simply remove MAINTENANCE_MESSAGE declaration from the configuration file.