Knowledgebase

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. 

  • 9 Users Found This Useful
Was this answer helpful?

Related Articles

Improving your Prestashop site's speed

Prestashop has a variety of settings that can be tweaked in order to increase your site's speed....

SEO Tips for PrestaShop 1.6 and 1.7

Are you looking to improve the SEO of your Prestashop website? If so we have compile 10 tips that...

Resetting a PrestaShop Module

Why would you need to reset a PrestaShop module? Sometimes accidents happen and modules get...

Switch the default category grid view to list

You don't like the default grid view Prestashop uses in Categories? There is a simple way to...

Translating Prestashop Modules

If you need to translate any text that is part of a module, the quickest way to do it is from the...