Problem in installing a script

Discussion in 'PHP' started by Digital_shubhi, Jun 11, 2009.

  1. #1
    Well, I uploaded all the contents and installed a script.
    But now I am getting an error when opening the site.

    Fatal error: Cannot redeclare drawcomment() in /home/digitalu/public_html/latestwallpaperszone.com/_comments.php on line 88
    PHP:
    How to solve it?:rolleyes::confused:

    Help me please.

    - Digital -
     
    Digital_shubhi, Jun 11, 2009 IP
  2. MSID17

    MSID17 Member

    Messages:
    111
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    35
    #2
    its multiple declaration error u must have declared a function twice..:)
    or the script it self has this error find
    Fatal error: Cannot redeclare drawcomment() in /home/digitalu/public_html/latestwallpaperszone.com/_comments.php on line 88

    drawcomment() located in _comments.php on line 88
    remove the multiple declarations.. there u go..your problem is solved.
     
    MSID17, Jun 11, 2009 IP
  3. MSID17

    MSID17 Member

    Messages:
    111
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    35
    #3
    use any editor...u can even use notepad ++..
    or dreamweaver , zend ide, php designer, or anythng that support syntax recognition for php
     
    MSID17, Jun 11, 2009 IP
  4. neegeris

    neegeris Banned

    Messages:
    73
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    use require_once() instead of include()
     
    neegeris, Jun 11, 2009 IP