Closed Thread
Results 1 to 3 of 3

Thread: Turn Off Php Errors

  1. #1
    sagar.poison30 is offline x10Hosting Member sagar.poison30 is an unknown quantity at this point
    Join Date
    Aug 2011
    Posts
    16

    Turn Off Php Errors

    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

  2. #2
    cybrax's Avatar
    cybrax is offline x10 Elder cybrax is on a distinguished road
    Join Date
    Aug 2009
    Location
    UK
    Posts
    699

    Re: Turn Off Php Errors

    PHP Code:
    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 by cybrax; 11-19-2011 at 11:46 AM.
    The code must flow.
    Project 157: Latest UK Jobs direct to your mobile phone
    New Domain under construction: Lovelogic.net
    home for some new projects that we can't keep here ;)


  3. #3
    sagar.poison30 is offline x10Hosting Member sagar.poison30 is an unknown quantity at this point
    Join Date
    Aug 2011
    Posts
    16

    Cool Re: Turn Off Php Errors

    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..?

Closed Thread

Similar Threads

  1. Turn on mod_rewrite please
    By matrixik in forum Free Hosting
    Replies: 1
    Last Post: 09-09-2011, 08:24 AM
  2. turn a low 12 cents into $20.46
    By greenvalley in forum Earning Money
    Replies: 3
    Last Post: 03-21-2011, 04:26 PM
  3. how do i turn off the welcome page?
    By anonmouse in forum Free Hosting
    Replies: 1
    Last Post: 04-14-2010, 10:55 PM
  4. How to turn of php:open_basedir
    By nitin800 in forum Free Hosting
    Replies: 1
    Last Post: 01-31-2010, 10:34 AM
  5. Turn the PC off or leave it on?
    By mygorillanet in forum Crossfire
    Replies: 149
    Last Post: 06-01-2008, 08:47 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers