1,105,578 Community Members

Disable php warning message

Member Avatar
Posting Whiz
327 posts since Apr 2009
Reputation Points: 5 [?]
Q&As Helped to Solve: 48 [?]
Skill Endorsements: 0 [?]


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.

Member Avatar
Veteran Poster
1,131 posts since Dec 2007
Reputation Points: 55 [?]
Q&As Helped to Solve: 246 [?]
Skill Endorsements: 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:

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