Loading...

Knowledge Base

How to enable debug reports for Pretashop?

Introduction

This tutorial is for teaching how to enable debug mode for Prestashop sites.

 

Procedure

There are 2 ways to enable these reports, depending on the version you are using:


For PrestaShop v1.4 to v1.5.2

  1. Open config/config.inc.php
  2. On line 29, you will find this line: @ini_set('display_errors','off');
  3. Replace it with: @ini_set('display_errors','on');


For PrestaShop v1.5.3 and later versions (including 1.6 and 1.7)

  1. Open config/defines.inc.php
  2. On line 28, you will find this line: define('_PS_MODE_DEV_', false);
  3. Replace it with: define('_PS_MODE_DEV_', true);


You can revert the change by changing the relevant values back to their original values.

Loading...