Need someone to iron out the errors

Discussion in 'PHP' started by MKInfo, Jan 13, 2007.

  1. #1
    I have recently moved a site to a new server and it is throwing up errors.
    I need someone to fix them.They are not effecting the site but they are annoying me.I want to see my error log at 0kb
    If anyone is interested in doing this please post here.I will ONLY give this job to a DP member who has good rep and loadsa posts.

    Thanks
    MK
     
    MKInfo, Jan 13, 2007 IP
  2. Icheb

    Icheb Peon

    Messages:
    1,092
    Likes Received:
    31
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Dude, just post the errors here.
     
    Icheb, Jan 13, 2007 IP
  3. The Reckoning

    The Reckoning Peon

    Messages:
    862
    Likes Received:
    36
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Find the source of the error, since you claim it's not affecting the site, add a "@" before the line that is producing the error. Should eliminate it from displaying or logging to error_log.
     
    The Reckoning, Jan 13, 2007 IP
  4. MKInfo

    MKInfo DP Guard Dog

    Messages:
    1,481
    Likes Received:
    97
    Best Answers:
    0
    Trophy Points:
    140
    #4
    Ok
    This seems to be the main one :
     
    PHP Notice:  Undefined variable:  defaultDesc in /home/admin/mysite.com/html/_inc/common.php on line 5
    
    Code (markup):
    Need any more info?
    Thanks
    MK
     
    MKInfo, Jan 14, 2007 IP
  5. Chemo

    Chemo Peon

    Messages:
    146
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I disagree that the use of error suppression is correct. It should not be suppressed but instead fixed properly.

    Bobby
     
    Chemo, Jan 14, 2007 IP
  6. Icheb

    Icheb Peon

    Messages:
    1,092
    Likes Received:
    31
    Best Answers:
    0
    Trophy Points:
    0
    #6
    The code around that line would help. :p
     
    Icheb, Jan 14, 2007 IP