In this article you will read something about debuging modules and other shop problems. This article should be taken as an introduction to self-troubleshooting in the own store. This tutorial works in all versions of prestashop, in 1.5 too.
Turning error reporting on in PrestaShop:
By default, in PrestaShop this feature is disabled for safety reasons. Here is how to turn on PHP errors in shops based on PrestaShop:Open and edit config.inc.php file
you must open this file and edit one setting parameter:
@ini_set('display_errors', 'off');
As you probably see and as we say, the display_errors value is set to off by default. You must turn it on. How to do that? just change it to:
@ini_set('display_errors', 'E_ALL');
and save the config.inc.php file. Thats all!
Did you know that display_errors parameter can have other values? Read more in official article about turning on error reporting in prestashop
Brak komentarzy:
Prześlij komentarz