This tutorial is for teaching how to enable debug mode for Prestashop sites.
There are 2 ways to enable these reports, depending on the version you are using:
For PrestaShop v1.4 to v1.5.2
- Open config/config.inc.php
- On line 29, you will find this line: @ini_set('display_errors','off');
- Replace it with: @ini_set('display_errors','on');
For PrestaShop v1.5.3 and later versions (including 1.6 and 1.7)
- Open config/defines.inc.php
- On line 28, you will find this line: define('_PS_MODE_DEV_', false);
- Replace it with: define('_PS_MODE_DEV_', true);
You can revert the change by changing the relevant values back to their original values.