Jump to content


Photo

*SOLVED* Off PHP Warning Message


  • Please log in to reply
4 replies to this topic

#1 laavanya14

laavanya14
  • Members
  • PipPip
  • Member
  • 16 posts

Posted 15 April 2006 - 05:07 PM

Hi Guys,

How do I off the php warning message from being displayed?

thank you very much.

#2 wildteen88

wildteen88
  • Staff Alumni
  • Advanced Member
  • 10,482 posts
  • LocationUK, Bournemouth

Posted 15 April 2006 - 05:14 PM

If you are getting warning messages then you will want to get them sorted out otherwise you script will not work as you expect it to.

If you want to turn your errors off you'll need to access to your php.ini file and turn display_errors (located near line 357) to Off.

#3 laavanya14

laavanya14
  • Members
  • PipPip
  • Member
  • 16 posts

Posted 15 April 2006 - 05:42 PM

[!--quoteo(post=365118:date=Apr 15 2006, 12:14 PM:name=wildteen88)--][div class=\'quotetop\']QUOTE(wildteen88 @ Apr 15 2006, 12:14 PM) View Post[/div][div class=\'quotemain\'][!--quotec--]
If you are getting warning messages then you will want to get them sorted out otherwise you script will not work as you expect it to.

If you want to turn your errors off you'll need to access to your php.ini file and turn display_errors (located near line 357) to Off.
[/quote]

hi thanks for the reply.
is it possible i can only turn off errors just from one particular script??

#4 laavanya14

laavanya14
  • Members
  • PipPip
  • Member
  • 16 posts

Posted 15 April 2006 - 07:15 PM

[!--quoteo(post=365123:date=Apr 15 2006, 12:42 PM:name=Laavanya)--][div class=\'quotetop\']QUOTE(Laavanya @ Apr 15 2006, 12:42 PM) View Post[/div][div class=\'quotemain\'][!--quotec--]
hi thanks for the reply.
is it possible i can only turn off errors just from one particular script??
[/quote]


solved it :P
just put error_reporting(0) for that page :D

#5 wildteen88

wildteen88
  • Staff Alumni
  • Advanced Member
  • 10,482 posts
  • LocationUK, Bournemouth

Posted 15 April 2006 - 07:20 PM

Just curious by waht was the error message? But anyway glad you found out what to do.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users