error message

Discussion in 'Co-op Advertising Network' started by fryman, Jun 16, 2005.

  1. #1
    Shawn, I am getting the following error

    Fatal error: Cannot redeclare file_get_contents_an() in /home/gadget/public_html/TEST/ad_network_289.php on line 4


    Do you know what could be causing it?
     
    fryman, Jun 16, 2005 IP
  2. T0PS3O

    T0PS3O Feel Good PLC

    Messages:
    13,219
    Likes Received:
    777
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You're probably including the php file twice.

    A redeclare error happens when a "function function_name_x" happens twice. That's not allowed.
     
    T0PS3O, Jun 16, 2005 IP
  3. fryman

    fryman Kiss my rep

    Messages:
    9,604
    Likes Received:
    777
    Best Answers:
    0
    Trophy Points:
    370
    #3
    Wow, this was just driving me crazy. I had been trying to set up the code on a new site... started out at 1:00 a.m.... it is now 6:21 a.m. but I finally got it working

    I just hate leaving things unfinished... even if it means that I have to stay up until the sun starts going out :D

    Oh, well, I guess I'll go get some sleep now.
     
    fryman, Jun 16, 2005 IP
  4. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #4
    Yep.. T0PS is exactly right... somehow you are including the ad_network.php twice.
     
    digitalpoint, Jun 16, 2005 IP