{"id":6400,"date":"2019-01-15T13:59:14","date_gmt":"2019-01-15T08:29:14","guid":{"rendered":"https:\/\/www.hiddentechies.com\/blog\/?p=6400"},"modified":"2020-10-09T18:48:10","modified_gmt":"2020-10-09T13:18:10","slug":"enable-debug-mode-prestashop","status":"publish","type":"post","link":"https:\/\/www.hiddentechies.com\/blog\/prestashop\/enable-debug-mode-prestashop\/","title":{"rendered":"How to Enable Debug mode (Error Reporting) in PrestaShop 1.7?"},"content":{"rendered":"<p>Many times, you may face the untypical behavior on your website like blank screen, error 500. In such cases, in order to nail down the cause of the problem, you might need to enable debug mode (error reporting) for outputting debugging information such as warnings, errors etc.<\/p>\n<div style=\"display: block; float: left; width: 100%; padding: 30px 0; background: black; border-radius: 5px; margin: 0 0 25px 0;\">\n<p style=\"text-align: center;\">\n<a href=\"https:\/\/www.hiddentechies.com\/blog\/prestashop\/top-free-prestashop-1-7-5-themes\/\" target=\"_blank\" style=\"color: #fff; font-size: 28px; font-weight: 600;\" rel=\"noopener noreferrer\"> Top Free PrestaShop 1.7.5 Themes for 2019 <\/a>\n<\/p>\n<\/div>\n<p>Before enabling the debug mode, you should disable CCC (Combine, Compress and Cache) and Smarty cache from Back-office. To disable Smarty cache, Go to: <strong>Back-Office > Advanced Parameters > Performance > Smarty<\/strong> and set the <strong>\u201cCache\u201d<\/strong> option to <strong>No<\/strong><\/p>\n<p class=\"ht-sub-heading\">Method: 1. To enable Debug mode (error reporting) follow the below steps:<\/p>\n<ul>\n<li>Go to: <strong>Back-Office > Advanced Parameters > Performance<\/strong><\/li>\n<li>In the Debug Mode Section, set the <strong>\u201cDebug mode\u201d<\/strong> option to <strong>Yes<\/strong><\/li>\n<li>Click the <strong>\u201cSave\u201d<\/strong> button to apply the changes.<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.hiddentechies.com\/blog\/wp-content\/uploads\/2018\/12\/how-to-enable-debug-mode-prestashop.png\" alt=\"how-to-enable-debug-mode-prestashop\" width=\"1344\" height=\"629\" class=\"aligncenter size-full wp-image-6404\" srcset=\"https:\/\/www.hiddentechies.com\/blog\/wp-content\/uploads\/2018\/12\/how-to-enable-debug-mode-prestashop.png 1344w, https:\/\/www.hiddentechies.com\/blog\/wp-content\/uploads\/2018\/12\/how-to-enable-debug-mode-prestashop-300x140.png 300w, https:\/\/www.hiddentechies.com\/blog\/wp-content\/uploads\/2018\/12\/how-to-enable-debug-mode-prestashop-768x359.png 768w, https:\/\/www.hiddentechies.com\/blog\/wp-content\/uploads\/2018\/12\/how-to-enable-debug-mode-prestashop-1024x479.png 1024w, https:\/\/www.hiddentechies.com\/blog\/wp-content\/uploads\/2018\/12\/how-to-enable-debug-mode-prestashop-800x374.png 800w\" sizes=\"(max-width: 1344px) 100vw, 1344px\" \/><\/p>\n<p class=\"ht-sub-heading\">Method: 2. To enable Debug mode (Error reporting) manually follow the below steps:<\/p>\n<ul>\n<li>Connect to your FTP server <strong>Back-Office > Advanced Parameters > Performance<\/strong><\/li>\n<li>Open your PrestaShop root directory.<\/li>\n<li>Go to the <strong>\u201cconfig\/defines.inc.php\u201d<\/strong> file and open it and find the following code:<\/li>\n<pre>\r\n\r\n        if (!defined('_PS_MODE_DEV_')) {\r\n            define('_PS_MODE_DEV_', false);\r\n        }\r\n\r\n<\/pre>\n<p>Replce it with:<\/p>\n<pre>\r\n\r\n        if (!defined('_PS_MODE_DEV_')) {\r\n            define('_PS_MODE_DEV_', true);\r\n        }\r\n\r\n<\/pre>\n<li>Now <strong>Save<\/strong> the changes and refresh the site.<\/li>\n<\/ul>\n<p>Hopefully, this tutorial was helpful for you.<\/p>\n<div class=\"angwp_12010 _ning_cont _ning_hidden _ning_outer _align_center responsive\" data-size=\"custom\" data-bid=\"12010\" data-aid=\"0\" style=\"max-width:800px; width:100%;height:inherit;\"><div class=\"_ning_label _left\" style=\"\"><\/div><div class=\"_ning_inner\" style=\"\"><a href=\"https:\/\/www.hiddentechies.com\/blog?_dnlink=12010&t=1779470487\" class=\"strack_cli _ning_link\" target=\"_blank\">&nbsp;<\/a><div class=\"_ning_elmt\"><img decoding=\"async\" src=\"https:\/\/www.hiddentechies.com\/blog\/wp-content\/uploads\/angwp\/items\/12010\/Banner-2.png\" \/><\/div><\/div><\/div><div class=\"clear\"><\/div>","protected":false},"excerpt":{"rendered":"<p>Many times, you may face the untypical behavior on your website like blank screen, error 500. In such cases, in order to nail down the cause of the problem, you might need to enable debug mode (error reporting) for outputting debugging information such as warnings, errors etc. Top Free PrestaShop 1.7.5 Themes for 2019 Before&#8230; <\/p>\n<div class=\"actions\"><a href=\"https:\/\/www.hiddentechies.com\/blog\/prestashop\/enable-debug-mode-prestashop\/\">Continue Reading<\/a><\/div>\n","protected":false},"author":1,"featured_media":6591,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[221,222,2139],"tags":[607,331],"_links":{"self":[{"href":"https:\/\/www.hiddentechies.com\/blog\/wp-json\/wp\/v2\/posts\/6400"}],"collection":[{"href":"https:\/\/www.hiddentechies.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hiddentechies.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hiddentechies.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hiddentechies.com\/blog\/wp-json\/wp\/v2\/comments?post=6400"}],"version-history":[{"count":13,"href":"https:\/\/www.hiddentechies.com\/blog\/wp-json\/wp\/v2\/posts\/6400\/revisions"}],"predecessor-version":[{"id":11978,"href":"https:\/\/www.hiddentechies.com\/blog\/wp-json\/wp\/v2\/posts\/6400\/revisions\/11978"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.hiddentechies.com\/blog\/wp-json\/wp\/v2\/media\/6591"}],"wp:attachment":[{"href":"https:\/\/www.hiddentechies.com\/blog\/wp-json\/wp\/v2\/media?parent=6400"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hiddentechies.com\/blog\/wp-json\/wp\/v2\/categories?post=6400"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hiddentechies.com\/blog\/wp-json\/wp\/v2\/tags?post=6400"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}