Categories

Featured templates

Joomla 3.x. How to enable error reporting

Margarett Ortiz May 28, 2015
Rating: 5.0/5. From 2 votes.
Please wait...

This tutorial shows how to enable error reporting in Joomla 3.x.

Joomla 3.x. How to enable error reporting

Error Reporting field in your Joomla Configuration Settings is responsible for controlling the display of errors on your Joomla website.

On any production Joomla website, the error reporting should be set to “None”. This means that no errors are displayed on your website, regardless of the default settings on your hosting account.

When Joomla is first installed, its default error reporting is “System Default”, this means that any error reporting in the global (or local) php.ini file will be inherited by your Joomla application.

The error reporting should be changed from “None” to anything else only when you are seeing a blank page on your website and/or you are debugging your website.

It’s more practical to change the error reporting in Joomla configuration.php file directly.

  1. First of all, open your cpanel file manager section and look for configuration.php file in the root of your public html folder:

    Joomla_3.x_How_to_enable_error_reporting-1

  2. In configuration.php file look for this line: public $error_reporting = ‘default’:

    Joomla_3.x_How_to_enable_error_reporting-2

  3. Instead of ‘default’ you can set any numerical value of PHP error constants such as:

    ‘E_ALL | E_STRICT’ – All errors, warnings, notices, and strict standards will be displayed on the website;

    ‘E_ALL’ – All errors, warnings, notices will be displayed on the website;

    ‘E_ALL & ~E_NOTICE’ – All errors, warnings, but no notices will be displayed on the website;

    ‘E_ALL & ~(E_NOTICE|E_WARNING)’ – All Errors. No warnings or notices will be displayed on the website;

    ‘0’ – No error reporting at all:

    Joomla_3.x_How_to_enable_error_reporting-3

Error reporting will allow the administrator to have a more granular control over the level of errors on the site.

Feel free to check the detailed video tutorial below:

Joomla 3.x. How to enable error reporting

Professional Joomla Templates
This entry was posted in Joomla! Tutorials and tagged error, joomla, reporting. Bookmark the permalink.

Submit a ticket

If you are still unable to find a sufficient tutorial regarding your issue please use the following link to submit a request to our technical support team. We'll provide you with our help and assistance within next 24 hours: Submit a ticket