PrestaShop Debug Mode

When your PrestaShop website has a blank screen or a 500 internal server error, you can debug it with PrestaShop debug mode. PrestaShop has a nice little utility built in that will show you exactly what is causing the error. Also, what is great about PrestaShop is there is a very active community, so if you do not know how to fix the error you can post the error message to the PrestaShop forums and more than likely someone will know and assist you. 


To turn on debug mode you need to be familiar with how to FTP into your site. We recommend using FileZilla for FTP, it is the most popular FTP program.

Once you FTP into your site, you will want to find the config directory and enter into it. Inside that directory there is a file called defines.inc.php, refer to the screenshot below. Right click on the file and choose edit.

 

 PrestaShop Debug Mode

 

Once you start editing the file it will look like this the screenshot below. You will want to change the part with the arrow that says false, to true. Then save the file and Filezilla will ask if you want to upload it. Choose yes.

 PrestaShop Debug Mode

 

Now if you reload the part of your site that was having the issue, you should see an error message like below. From that error message you can start to figure out what is wrong. If not you can either post on the forum or contact us about support for your PrestaShop store. 

Was this answer helpful?

 Print this Article

Also Read

Change your shop's Logos

To change your shop's logo, simply go to Preferences -> Themes. Scroll to highlighted area of...

Allowing iFrames in PrestaShop

Prestashop will not allow you to embed iframes within any html field, by default. We can,...

Enabling PNG (transparent) images

If you need to upload transparent images to your shop, you first need to enable the PNG format...

Setting free shipping over a certain amount/weight

Prestashop lets you configure an amount, or weight, over which an order will have free shipping....

Disabling the HTML Purifier

If you are struggling with Prestashop when trying to add specific HTML code, just to see it being...