Jump to content

[Solved]How to turn on error reporting,config.inc.php?


Recommended Posts

My prestashop is 1.5.4.1.

I need to troubshoot my website and I read somewhere that enabling the error reporting will allow the message to display in the browser to give you an idea of there the problem may lie.

 

1- Navigate to the PrestaShop 1.5 root folder.

2- From there, navigate the path /config/config.inc.php

3- Open up the config.inc.php file in the text editor.

4- Find the line of code that reads "@ini_set('display_errors', 'off')" This is line 29 by default in PrestaShop 1.5.

5- Change it to read "@ini_set('display_errors', 'on')".

 

Problem: I did Find/Replace the "@ini_set('display_errors', 'on')" in config.inc.php without success. It's not there. Any idea?

Thank you.

Edited by bruce-rez (see edit history)
Link to comment
Share on other sites

Bill Dalton/eTiendas.co

Thank you for the info.

I could find the code in /config/defines.inc.php and I changed to true and uploaded again.

I opened my website,navigated to different pages but nothing happens in the screen, I see nothing. Am I missing something or this is normal?

Link to comment
Share on other sites

  • 2 years later...

I am getting Same issue in Prestashop v1.5.6 English Version.

 

I have Done 

  1. open file: config/defines.inc.php 
  2. change false-->true
    But i am not getting any error only its showing white screen after enabling debug mode. but i am not able to save product and also not able to use save and stay. Getting error 500 internal server error.

Can any one please help me to solve the issue. my site is http://www.slmobileprice.com 

 

Thanks,

Somit Srivastava

Link to comment
Share on other sites

×
×
  • Create New...