Turn Off Php Errors

Status
Not open for further replies.

sagar.poison30

New Member
Messages
16
Reaction score
0
Points
0
Hi i want to turn off all the php generated errors that occur when i run scripts.like in here it looks very bad
http://sagarzz.elementfx.com/extcal/calendar.php
please help me do it.. thanks
 

cybrax

Community Advocate
Community Support
Messages
764
Reaction score
27
Points
0
PHP:
error_reporting(0);

Add the above line of code to all scripts, this will turn off ALL error reporting. For other more specific versions of this command see php.net

You are getting the error because the servers now run PHP version 5.3 and some commands are in the process of being 'Deprecated' , that is to say phased out/ no longer used/ removed/ and may not work work at all in later version updates.
 
Last edited:

sagar.poison30

New Member
Messages
16
Reaction score
0
Points
0
thanks for this.. if it dint work ill still be happy because i got a reply so fast from you.. this is very good support from your side.. keep it up.. thanks again..

---------- Post added at 12:34 PM ---------- Previous post was at 12:29 PM ----------

close the thread my problem was solved.. by the way did you visit the link..?
 
Status
Not open for further replies.
Top