How to enable error reporting in PrestaShop

Once you began working with your PrestaShop store,You will come across errors with time to time.These different errors may be because of server settings or the hosting environment.Sometimes the screen may go white or something won’t look right on the screen. At the point when this happens, the first thing you need to do is to enable the error reporting. This will allow you to see the particular error messages on the screen. From here, you will be able to investigate further.

Login to your cPanel Admin dashboard.

Navigate to the root folder where PrestaShop files are uploaded.

Once in the PrestaShop root folder, double click the folder named config and then open the file named defines.inc.php for editing.

Find the line of code below:

/* Debug only */ define('_PS_MODE_DEV_', false);

Change the false’ to ‘true and then click the Save Changes button to activate the changes.

/* Debug only */ define('_PS_MODE_DEV_', true);

Changed line should read as follows:

/* Debug only */ define('_PS_MODE_DEV_', true);

Now you can return to your site and sort an error message you were having trouble with.