Ads not found

Discussion in 'Co-op Advertising Network' started by hubel, Jan 14, 2005.

  1. #1
    Ads not found at www.resources.eu.com but are clearly there. Has been working fine until now. ad_network file was updated a week ago. Any ideas?
     
    hubel, Jan 14, 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
    Your ad_network.php needs to be included as a file, not a URL (I'm assuming that's the problem).
     
    digitalpoint, Jan 14, 2005 IP
  3. hubel

    hubel Grunt

    Messages:
    382
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    168
    #3
    Okay you have lost me a bit there and I'm not really sure what you mean.

    Below is the code in the footer that calls for the ads:

    <?php
    ini_set ("include_path", ini_get ("include_path") . ':../:../../:../../../:../../../../');
    include ('ad_network.php');
    echo $ad_network[0];
    ?></font> | <?php
    ini_set ("include_path", ini_get ("include_path") . ':../:../../:../../../:../../../../');
    include ('ad_network.php');
    echo $ad_network[1];
    ?>

    This has been working fine for weeks now and I haven't changed anything on the site.

    Have you changed anything at your end which would cause this to happen?

    Thanks
     
    hubel, Jan 15, 2005 IP
  4. expat

    expat Stranger from a far land

    Messages:
    873
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Resources.eu.com - 2004 - This site is brought to you in association with:
    Warning: file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/resource/public_html/ad_network.php on line 37

    Warning: file_get_contents(http://ads.digitalpoint.com/network.php?b=www.resources.eu.com&type=link): failed to open stream: Permission denied in /home/resource/public_html/ad_network.php on line 37


    http://www.resources.eu.com/suggest_resource.php

    this may explain it
    expat
     
    expat, Jan 15, 2005 IP
  5. hubel

    hubel Grunt

    Messages:
    382
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    168
    #5
    I'm not seeing the same error as you but thanks for looking.

    Is the error that you saw generated a problem at my end or digitalpoints?

    Thanks
     
    hubel, Jan 15, 2005 IP
  6. expat

    expat Stranger from a far land

    Messages:
    873
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    0
    #6
    well looking at it maybe at DP but not sure.

    What the message you get when you validate? It should show which file fails.
    It's usually one page one hasen't thought of as it is different and doesen't contain the standard footer for one reason or another.

    M
    PS you don't need to have include more than once. Below works fine

    <?php
    ini_set ("include_path", ini_get ("include_path") . ':../:../../:../../../:../../../../');
    include ('ad_network.php');
    echo "any text before the ads ".$ad_network[0]." | ".$ad_network[1]." | ".$ad_network[2]." | ".$ad_network[3]." | ".$ad_network[4];
    ?>
     
    expat, Jan 15, 2005 IP
  7. hubel

    hubel Grunt

    Messages:
    382
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    168
    #7
    It is telling me Ads not found on http://www.resources.eu.com/
     
    hubel, Jan 15, 2005 IP
  8. hubel

    hubel Grunt

    Messages:
    382
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    168
    #8
    Still can't get the site validated. Ads are all there and have been for weeks with no changes on my part. Is it time to give up and remove the ads altogether?
     
    hubel, Jan 16, 2005 IP