How to "turn on" or "turn off" the Error report in Joomla

Joomla Views: 401 Added Date: August 29, 2023 ordasoft Like
Joomla News: How to

How to "turn on" or "turn off" the Error report in Joomla

For each error, the Joomla CMS displays a Joomla error detail page or "404 error page".

joomla 404 error page

But sometimes situations occur on the site that the Joomla developer did not foresee, and a lot of warnings and notifications appeared on your site.

How to "turn off" the Error report in Joomla

Please check: you can't fix real errors with this method - only to hide them. To hide all Errors, Warrings and Notices please:

  • 1. Go to Joomla Admin → System → Global Configuration. joomla global configuration
  • 2. Tab "System" and turn off "Debug System". joomla global configuration system debug
  • 3. Tab "Server" and set "Error Reporting" to "Default" or "None". joomla global configuration server error report

How to "turn on" the Error report in Joomla

To show all errors - you need to do the same as before, only vice versa.

  • 1. Go to Joomla Admin → System → Global Configuration. joomla global configuration
  • 2. Tab "System" and turn on "Debug System". joomla global configuration system debug
  • 3. Tab "Server" and set "Error Reporting" to "Maximum" or "Development"(Joomla 3). joomla global configuration server error report

How to "turn on" the Error report in Joomla, for developers

If your site doesn't work correctly, but you don't see any errors and you "turn on" error report in Joomla global settings:

  • 1. Check if you have error.php file on your template folder: {website}/templates/{your-template}/
  • 2. Copy error.php file from {website}/templates/system/ to your template folder: {website}/templates/{yuor-template}/
  • 3. Turn off Joomla cache. Go to Joomla Admin → System → Global Configuration → System, and turn off System Cache. joomla global configuration system cache
  • 4. Turn off all joomla cache and optimization plugins. Go to Joomla Admin → System → Manage → Plugins. In Joomla 3 you need go to Joomla Admin → Extensions → Plugins joomla system manage plugins
  • 5. Clear all cache.
    - In Joomla 3: System → Clear Cache and System → Clear Expired Cache.
    - In Joomla 4: System → Maintenance → Clear Cache.
  • 6. Turn off cache on your hosting and any optimization and speed up tools.
  • 7. In Browser for refresh cache, please press: Ctrl + F5. In Browser (chrome), please press F12, select tab "Network" and there select "Disable cache" checkbox, reload page.
  • 8. Reload your page.


Reviews (0):

Rate this: 
Send