1.11M Members

Disable php warning message

 
0
 

hi,

The problem i am facing is Notice messages in my website when i upload site on domain. I tried to sort it out by applying error_reporting(0) in php and code in htaccess file to disable error reporting. But problem is still there as shown in my website www.bathroomfurniturestore.co.uk

Please do recommend, what should i do now? How can i disable this error reporting messages.

 
0
 

In your php.ini file look for "display_errors" and set it to Off. If you don't have access to the php.ini file, then at the START of your php file put:
ini_set("display_errors","Off");

Isn't it about time forums rewarded their contributors?

Earn rewards points for helping others. Gain kudos. Cash out. Get better answers yourself.

It's as simple as contributing editorial or replying to discussions labeled or OP Kudos

You
This article has been dead for over six months: Start a new discussion instead
Post:
Start New Discussion
Tags Related to this Article