2.14.2.11. Enable debug mode in Joomla!

  1. Open the site configuration file configuration.php in the built-in file manager editor or in any FTP client.
  2. Enabling error output:
    1. Find the line with the $error_reporting parameter:
      public $error_reporting = 'default';
    2. In the located line, replace default with maximum so that it looks as follows:
      public $error_reporting = 'maximum';
  3. Enabling debug console:
    1. Find the line with the $debug parameter:
      public $debug = '0';
    2. In the found line, replace 0 with 1 so that it has the following form:
      public $debug = '1';
  4. Save the changes.
  5. Reproduce the error on your site.

After identifying the source of errors on the site and eliminating their causes, it is recommended to disable debug mode by returning the modified lines to their original state.

  1. Open the configuration file of the site configuration.php in the built-in editor of the file manager or any FTP client.
  2. Find the line with the $error_reporting parameter:
    var $error_reporting = '-1';
  3. In the found line, replace -1 with 6143 so that it looks as follows:
    var $error_reporting = '6143';
  4. Save the changes.
  5. Reproduce the error on your site.

After identifying the source of errors on the site and eliminating their causes, it is recommended to disable debug mode by returning the modified line to its original state.

  1. Open the configuration file of the site configuration.php in the built-in editor of the file manager or any FTP client.
  2. Find the line with the $mosConfig_error_reporting parameter:
    $mosConfig_error_reporting = '-1';
  3. In the found line, replace -1 with 6143 so that it looks as follows:
    $mosConfig_error_reporting = '6143';
  4. Save the changes.
  5. Reproduce the error on your site.

After identifying the source of errors on the site and eliminating their causes, it is recommended to disable debug mode by returning the modified line to its original state.

Content