Wednesday, June 24, 2015

How to enable error reporting in PrestaShop

Recently while upgrading PrestaShop I started receiving Internal Server Errors on my shop. After a lot of checking I found out how to enable PrestaShop error reporting. Steps to enable error reporting are as follows :

  1. Login to your hosting admin dashboard, control panel, SSH, or FTP client.
  2. Navigate to the root folder where PrestaShop files are uploaded.
  3. Navigate the path /config/ and open defines.inc.php file in your preferred text editor.
  4. Find the line of code that reads "@ini_set('display_errors', 'off')" and change it to "@ini_set('display_errors', 'on')"
  5. Save the file and sort your error.

No comments:

Post a Comment