{"id":84986,"date":"2018-07-03T04:00:32","date_gmt":"2018-07-03T08:00:32","guid":{"rendered":"https:\/\/www.templatemonster.com\/help\/?p=84986"},"modified":"2018-07-03T04:00:32","modified_gmt":"2018-07-03T08:00:32","slug":"how-to-enable-debug-mode-display-errors-in-prestashop-1-7","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/how-to-enable-debug-mode-display-errors-in-prestashop-1-7.html","title":{"rendered":"How to enable Debug mode (display errors) in PrestaShop 1.7"},"content":{"rendered":"<p>Hello, our support team is ready to present you a new tutorial that shows how to enable <strong>Debug mode<\/strong> (display errors) in PrestaShop 1.7. <\/p>\r\n<p>You might need to enable debug mode if you have: <\/p>\r\n<ul class=\"list\">\r\n\t<li><p>Blank screen on the website;<\/p><\/li>\r\n\t<li><p>Error 500;<\/p><\/li>\r\n\t<li><p>Untypical shop behavior<\/p><\/li>\r\n<\/ul>\r\n<h3 class=\"custom\">Enabling Debug Mode Automatically<\/h3>\r\n<ol>\r\n\t<li><p>Navigate to <strong>Advanced Parameters > Performance<\/strong> section in your PrestaShop admin panel<\/p>\r\n\t\r\n<a class=\"darkbox\" href=\"\/help\/wp-content\/uploads\/2018\/07\/enable_debug_mode_prestashop_1.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2018\/07\/enable_debug_mode_prestashop_1.png\" alt=\"\" width=\"600\" height=\"390\" class=\"alignnone size-full wp-image-84987\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2018\/07\/enable_debug_mode_prestashop_1.png 600w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2018\/07\/enable_debug_mode_prestashop_1-150x98.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2018\/07\/enable_debug_mode_prestashop_1-300x195.png 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/a>\r\n\t\r\n\t<\/li>\r\n\t<li><p>In Debug Mode section, set the <strong>Debug mode<\/strong> option to <strong>Yes<\/strong> and save the changes<\/p>\r\n\t\r\n<a class=\"darkbox\" href=\"\/help\/wp-content\/uploads\/2018\/07\/enable_debug_mode_prestashop_2.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2018\/07\/enable_debug_mode_prestashop_2.png\" alt=\"\" width=\"532\" height=\"297\" class=\"alignnone size-full wp-image-84988\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2018\/07\/enable_debug_mode_prestashop_2.png 532w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2018\/07\/enable_debug_mode_prestashop_2-150x84.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2018\/07\/enable_debug_mode_prestashop_2-300x167.png 300w\" sizes=\"(max-width: 532px) 100vw, 532px\" \/><\/a>\t\r\n\t\r\n\t<\/li>\r\n<\/ol>\r\n<h3 class=\"custom\">Enabling Debug Mode Manually<\/h3>\r\n<ol>\r\n\t<li><p>Connect to server via FTP or via hosting cpanel. Open your PrestaShop installation directory, navigate to  <strong>config<\/strong> director and open<strong>defines.inc.php<\/strong>file.<\/p><\/li>\r\n\t<li><p>Find the following code (line 29 approximately):<\/p>\r\n\t\t<pre class=\"brush:php\">\r\ndefine('_PS_MODE_DEV_', false);<\/pre>\r\n\t<\/li>\r\n\t<li><p>Edit the code:<\/p>\r\n\t\t\r\n\t\t<pre class=\"brush:php\">\r\ndefine('_PS_MODE_DEV_', true);<\/pre>\r\n\t<\/li>\r\n\t<li><p>Save the changes and refresh the site.<\/p><\/li>\r\n<\/ol>\r\n\r\n<p>Now you need to navigate to a frontend\/backend page you had issues on, press F5 to refresh the page and see the error(s) that occur.<\/p>\r\n<p>Browse our new <a href=\"https:\/\/www.templatemonster.com\/prestashop-themes.php\" title=\"PrestaShop Themes\" target=\"_blank\">PrestaShop Themes<\/a> and learn more about their usability.<\/p>","protected":false},"excerpt":{"rendered":"<p>Hello, our support team is ready to present you a new tutorial that shows how to enable <strong>Debug mode<\/strong> (display errors) in PrestaShop 1.7<\/p>\n","protected":false},"author":56,"featured_media":84989,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[732],"tags":[2670,2387,1477],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/84986"}],"collection":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/users\/56"}],"replies":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/comments?post=84986"}],"version-history":[{"count":4,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/84986\/revisions"}],"predecessor-version":[{"id":85000,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/84986\/revisions\/85000"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media\/84989"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=84986"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=84986"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=84986"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}