Skip to content Skip to sidebar Skip to footer

Debugging Made Easy: How to Show Errors in OpenCart

Debugging Made Easy How To Show Errors In Opencart

To show debug errors in OpenCart, you can do the following:

  1. Log in to the admin panel of your OpenCart store.
  2. Go to System > Settings
  3. Click on the Edit button next to your store.
  4. Go to the Server tab
  5. Under the Debug section, set Display Errors to “Yes”.
  6. Click on the Save button to save your changes.

This will enable OpenCart to display error messages, which can be helpful when troubleshooting issues with your store. But it’s important to remember that displaying errors can reveal sensitive information about your store and should only be used in a development environment.


If you have CPanel access you can also show errors by following method

In OpenCart, you can also show debug errors by editing the config.php file located in the root directory of your OpenCart installation.

  1. Open the config.php file using a text editor.
  2. Find the following line of code: define(‘DEBUG’, false);
  3. Change the value from false to true: define(‘DEBUG’, true);
  4. Save the changes to the config.php file.