How to find Fatal Error / Error 500 / Server error in opencart

To find what is causing the error 500/ internal server error / this page isn’t working, try the following

The issue could be related to htaccess file or some broken code in the program

Try adding this code to your index.php file, just after the opening php tag <?php

ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);

Now you should be able to see and get a hint what is causing the issue.

Note: Remove the added code after debugging to disable error display in a production environment.