2.13.2.11. Enabling Debug Mode in Joomla!
To enable debug mode in Joomla! 2.5 / 3.0 +:
- Enabling error output:
- Find the line with the parameter
$error_reporting
:public $error_reporting = 'default';
- In the found line, replace
default
onmaximum
so that it looks like this:public $error_reporting = 'maximum';
- Enabling Debug Console:
- Find the line with the parameter
$debug
:public $debug = '0';
- In the found line, replace
0
on1
so that it looks like this:public $debug = '1';
- Save your changes.
- Reproduce the error on the site.
After identifying the source of errors on the site and eliminating their causes, it is recommended to disable the debug mode by returning the changed lines to their original state.
To enable debug mode in Joomla! 1.5:
- Find the line with the parameter
$error_reporting
:var $error_reporting = '-1';
- In the found line, replace
-1
on6143
so that it looks like this:var $error_reporting = '6143';
- Save your changes.
- Reproduce the error on the site.
After identifying the source of errors on the site and eliminating their causes, it is recommended to disable the debug mode by returning the changed line to its original state.
To enable debug mode in Joomla! 1.0:
- Find the line with the parameter
$mosConfig_error_reporting
:$mosConfig_error_reporting = '-1';
- In the found line, replace
-1
on6143
so that it looks like this:$mosConfig_error_reporting = '6143';
- Save your changes.
- Reproduce the error on the site.
After identifying the source of errors on the site and eliminating their causes, it is recommended to disable the debug mode by returning the changed line to its original state.