{"id":48851,"date":"2015-05-28T01:15:58","date_gmt":"2015-05-28T05:15:58","guid":{"rendered":"http:\/\/www.templatemonster.com\/help\/?p=48851"},"modified":"2017-07-11T06:47:30","modified_gmt":"2017-07-11T10:47:30","slug":"joomla-3-x-how-to-enable-error-reporting","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/joomla-3-x-how-to-enable-error-reporting.html","title":{"rendered":"Joomla 3.x. How to enable error reporting"},"content":{"rendered":"<p>\r\n<p>This tutorial shows how to enable error reporting in Joomla 3.x.<\/p>\r\n<p><a href=\"http:\/\/www.youtube.com\/watch?v=-dFU8U67iow?width=1280&amp;height=720\" rel=\"prettyPhoto\">Joomla 3.x. How to enable error reporting<\/a><\/p>\r\n<p> <strong>&#8220;Error Reporting&#8221;<\/strong> field in your Joomla Configuration Settings is responsible for controlling the display of errors on your Joomla website. <\/p>\r\n<p>On any production Joomla website, the error reporting should be set to <strong>&#8220;None&#8221;<\/strong>. This means that no errors are displayed on your website, regardless of the default settings on your hosting account.<\/p>\r\n<p>When Joomla is first installed, its default error reporting is<strong> &#8220;System Default&#8221;<\/strong>, this means that any error reporting in the global (or local) php.ini file will be inherited by your Joomla application.<\/p>\r\n<p> The error reporting should be changed from<strong> &#8220;None&#8221;<\/strong> to anything else only when you are seeing a blank page on your website and\/or you are debugging your website.<\/p>\r\n<p>It&#8217;s more practical to change the error reporting in Joomla<strong> configuration.php file<\/strong> directly.<\/p>\r\n<ol>\r\n<li>\r\n<p>First of all, open your cpanel<strong> file manager section<\/strong> and look for <strong>configuration.php<\/strong> file in the root of your<strong> public html <\/strong>folder:\r\n\t<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/05\/Joomla_3.x_How_to_enable_error_reporting-1.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/05\/Joomla_3.x_How_to_enable_error_reporting-1-300x138.png\" alt=\"Joomla_3.x_How_to_enable_error_reporting-1\" width=\"300\" height=\"138\" class=\"aligncenter size-medium wp-image-48852\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/05\/Joomla_3.x_How_to_enable_error_reporting-1-300x138.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/05\/Joomla_3.x_How_to_enable_error_reporting-1-150x69.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/05\/Joomla_3.x_How_to_enable_error_reporting-1-1024x470.png 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/05\/Joomla_3.x_How_to_enable_error_reporting-1.png 1248w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n<\/li>\r\n<li>\r\n<p>In <strong> configuration.php <\/strong>file look for this line: <strong>public $error_reporting = &#8216;default&#8217;<\/strong>:<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/05\/Joomla_3.x_How_to_enable_error_reporting-2.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/05\/Joomla_3.x_How_to_enable_error_reporting-2-300x107.png\" alt=\"Joomla_3.x_How_to_enable_error_reporting-2\" width=\"300\" height=\"107\" class=\"aligncenter size-medium wp-image-48853\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/05\/Joomla_3.x_How_to_enable_error_reporting-2-300x107.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/05\/Joomla_3.x_How_to_enable_error_reporting-2-150x53.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/05\/Joomla_3.x_How_to_enable_error_reporting-2-1024x364.png 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/05\/Joomla_3.x_How_to_enable_error_reporting-2.png 1269w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n<\/li>\r\n<li>\r\n<p>Instead of <strong>&#8216;default&#8217;<\/strong> you can set any numerical value of PHP error constants such as:<\/p>\r\n<p><strong>&#8216;E_ALL | E_STRICT&#8217;<\/strong> &#8211;\tAll errors, warnings, notices, and strict standards will be displayed on the website;<\/p>\r\n<p><strong>&#8216;E_ALL&#8217;<\/strong> &#8211; All errors, warnings, notices will be displayed on the website; <\/p>\r\n<p><strong>&#8216;E_ALL &amp; ~E_NOTICE&#8217;<\/strong> &#8211; All errors, warnings, but no notices will be displayed on the website;<\/p>\r\n<p><strong>&#8216;E_ALL &amp; ~(E_NOTICE|E_WARNING)&#8217;<\/strong> &#8211; All Errors. No warnings or notices will be displayed on the website;<\/p>\r\n<p><strong> &#8216;0&#8217;<\/strong> &#8211; No error reporting at all:<\/p>\r\n<p>\t<a href=\"\/help\/wp-content\/uploads\/2015\/05\/Joomla_3.x_How_to_enable_error_reporting-3.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/05\/Joomla_3.x_How_to_enable_error_reporting-3-300x105.png\" alt=\"Joomla_3.x_How_to_enable_error_reporting-3\" width=\"300\" height=\"105\" class=\"aligncenter size-medium wp-image-48854\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/05\/Joomla_3.x_How_to_enable_error_reporting-3-300x105.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/05\/Joomla_3.x_How_to_enable_error_reporting-3-150x52.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/05\/Joomla_3.x_How_to_enable_error_reporting-3-1024x358.png 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/05\/Joomla_3.x_How_to_enable_error_reporting-3.png 1280w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n<\/li>\r\n<\/ol>\r\n<p>Error reporting will allow the administrator to have a more granular control over the level of errors on the site. <\/p>\r\n<p>Feel free to check the detailed video tutorial below:<\/p>\r\n<p><a href=\"http:\/\/www.youtube.com\/watch?v=-dFU8U67iow?width=1280&amp;height=720\" rel=\"prettyPhoto\">Joomla 3.x. How to enable error reporting<\/a><\/p>\r\n<p><\/p>\r\n\r\n<div class=\"inline-banner\">\r\n<a href=\"https:\/\/www.templatemonster.com\/cart.php?addOffer=587\">\r\n<img src=\"\/help\/files\/banners\/inline\/Banner-1-(500-x100).jpg\" \/>\r\n<\/a>\r\n<\/div>","protected":false},"excerpt":{"rendered":"<p>This tutorial shows how to enable error reporting in Joomla 3.x.<\/p>\n","protected":false},"author":71,"featured_media":48858,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[724],"tags":[691,483,1752],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/48851"}],"collection":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/users\/71"}],"replies":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/comments?post=48851"}],"version-history":[{"count":1,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/48851\/revisions"}],"predecessor-version":[{"id":81834,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/48851\/revisions\/81834"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media\/48858"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=48851"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=48851"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=48851"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}