Setup Help. Warning:fcolse()error ??

Discussion in 'Co-op Advertising Network' started by simplexity, Sep 15, 2005.

  1. #1
    Hello,
    I have just followed the instructions for a php site.
    When i open my page with the php code installed i get the following error.

    Warning: fclose(): supplied argument is not a valid stream resource in /public_html/ad_network_380.php on line 21

    Please help?
     
    simplexity, Sep 15, 2005 IP
  2. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #2
    Try taking off the @ before the fsockopen and see if it's giving you an error when trying to connect.
     
    digitalpoint, Sep 15, 2005 IP
  3. simplexity

    simplexity Peon

    Messages:
    198
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks but now it says:

    Warning: fsockopen(): unable to connect to ads.digitalpoint.com:80 in /public_html/ad_network_380.php on line 7

    Warning: fclose(): supplied argument is not a valid stream resource in /public_html/ad_network_380.php on line 21
     
    simplexity, Sep 15, 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
    Your web server isn't able to contact the ad network ad server. Can you ping the ad server from your server?
     
    digitalpoint, Sep 15, 2005 IP
  5. simplexity

    simplexity Peon

    Messages:
    198
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I discovered the problem.
    I need to enable my host to use port 80 as they had shut it for security reasons
    Thanks, :)
    It should be working soon,
    Simon
     
    simplexity, Sep 16, 2005 IP
  6. simplexity

    simplexity Peon

    Messages:
    198
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #6
    My host has asked for the IP address to connct to?
    COuld you provide me with this?
     
    simplexity, Sep 16, 2005 IP
  7. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #7
    It's in there... ads.digitalpoint.com
     
    digitalpoint, Sep 16, 2005 IP