How to enable Prestashop DEV mode from file system (FTP)

Prestashop version: 1.7.7.0-1.7.8.8.

This is about Prestashop ecommerce solution if you need debugging.

DEV mode shows errors that might occur in your shop. It is also recomended that php setting show errors. (File in root of the shop directory php.ini). Only Prestashop site admins are able to see errors when logged in into the shop.

display_errors = On

Open server files and go to:
/shop_directory/config/defines.inc.php
replace false with true
define(’PS_MODE_DEV’, true);
Save file

I had this situation that I upgraded my Prestashop from 1.7.8.5 to 1.7.8.8. Of course I upgraded one version forward at the time. But one of these versions did something to my shop and I couldn’t log in as admin to my shop. This is where I wanted to see if DEV mode would help. But I couldn’t log in. So I found this file in server where you can manually turn DEV mode on or off.

Scroll to Top