slpwkr Posted February 14, 2007 Share Posted February 14, 2007 Hi, I have problem with my godaddy account. There are alot of warning messages in some of my pages. I tried to turn it off using php.ini file but its not working. Are there any other ways to turn it off? Thank you. Quote Link to comment Share on other sites More sharing options...
DeathStar Posted February 14, 2007 Share Posted February 14, 2007 try fixing the errors on those pages? Quote Link to comment Share on other sites More sharing options...
slpwkr Posted February 14, 2007 Author Share Posted February 14, 2007 Its not Error messages, it's warning messages. My problem is not fixing the warning messages but to configure php.ini or .htaccess so that all the warning message will not appear. Quote Link to comment Share on other sites More sharing options...
ToonMariner Posted February 14, 2007 Share Posted February 14, 2007 put an '@' in front of the parameter the warning is displaying... Quote Link to comment Share on other sites More sharing options...
slpwkr Posted February 14, 2007 Author Share Posted February 14, 2007 Thanks but my problem is not in the code but in the configuration. Quote Link to comment Share on other sites More sharing options...
ToonMariner Posted February 14, 2007 Share Posted February 14, 2007 yes so put an '@' in there it surpresses warnings alternatively use ini_set('error_reporting', 1); that will only output fatal errors. I think 0 or null switches them all off. Quote Link to comment Share on other sites More sharing options...
slpwkr Posted February 19, 2007 Author Share Posted February 19, 2007 where will I put ini_set('error_reporting', 1); ? Quote Link to comment Share on other sites More sharing options...
superuser2 Posted February 19, 2007 Share Posted February 19, 2007 At the beginning of all your pages. If you have a common include, this is the place to put it. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.