Self-hosted ActiveCollab by defualt runs in production model, but application also supports debug mode. This mode is useful when you are troubleshooting the system.
Once in debug mode, following resources become available:
To enable debug mode, open config/config.php file, and look for a line that declares APPLICATION_MODE. If that declaration exists, make sure that its value is set to debug.
If APPLICATION_MODE declaration does not exist, add these three lines, at the beginning of the configuration file (after <?php openning tag):
1 2 3
ini_set('display_errors', 1); error_reporting(E_ALL); const APPLICATION_MODE = 'debug';
Make sure that APPLICATION_MODE is declared only once. Having it appear twice may break the system because constants can be declared only once.
System should not run in debug mode. It is designed for troubleshooting, and should be disabled as soon as troubleshooting is over. Debug mode can cause several issues when used in production:
In order to disable debug mode, open config/config.php file, find and remove lines that: