Another Goob who can't get the tool to work

Discussion in 'Co-op Advertising Network' started by randfish, Dec 9, 2004.

  1. #1
    I believe I have done all of the steps properly

    Site Details:
    avatarfinancial.com
    PHP based site

    1. Have the code on the bottom of each page on the site
    2. Have the .htaccess file with the "AddType application/x-httpd-php .php .htm .html"
    3. Have permission to write to ad_networks.txt - appears to be empty...
    4. Have ad_network.php with the req'd code...

    Not sure why I can't validate - thanks for your help!
     
    randfish, Dec 9, 2004 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
    Well, the ad_network_ads.txt file isn't being written to... Maybe there is an error and the server is suppressing them. Try adding this:
    error_reporting(E_ALL);
    PHP:
    and see if anything happens.
     
    digitalpoint, Dec 9, 2004 IP
  3. randfish

    randfish Peon

    Messages:
    185
    Likes Received:
    32
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Sorry Shawn - which file should I add that to and where?

    Thanks
     
    randfish, Dec 9, 2004 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
    You could add it to the beginning of your ad_network.php file if you want.
     
    digitalpoint, Dec 9, 2004 IP
  5. randfish

    randfish Peon

    Messages:
    185
    Likes Received:
    32
    Best Answers:
    0
    Trophy Points:
    0
    #5
    OK - added it to the top of ad_network.php, still not seeing anything.

    I checked the permissions on the txt file and they are 777...
     
    randfish, Dec 9, 2004 IP
  6. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #6
    At the end of the ad_network.php file, add this:
    echo ad_network[0];
    PHP:
    Then call the ad_network.php file directly (in a browser) and see if anything at all prints.
     
    digitalpoint, Dec 9, 2004 IP
  7. randfish

    randfish Peon

    Messages:
    185
    Likes Received:
    32
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Nope, nothing prints at all - avatarfinancial.com/ad_network.php
     
    randfish, Dec 9, 2004 IP
  8. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #8
    Well shoot, I don't know to be honest... almost like it simply can't get an ad from the ad server. I checked to make sure there is connectivity between your server and the ad server, and it's fine. I'm not really sure at this point.
     
    digitalpoint, Dec 9, 2004 IP
  9. randfish

    randfish Peon

    Messages:
    185
    Likes Received:
    32
    Best Answers:
    0
    Trophy Points:
    0
    #9
    DOh! That blows - I'll ask someone who's more familiar with PHP and our server to take a look - maybe he can find something... Do you have any ideas or suggestions about where to start looking?
     
    randfish, Dec 9, 2004 IP
  10. flawebworks

    flawebworks Tech Services

    Messages:
    991
    Likes Received:
    36
    Best Answers:
    1
    Trophy Points:
    78
    #10
    For giggles; try removing the "AddType application/x-httpd-php .php .htm .html" from your htaccess file. If the site is already php based; you shouldn't need it.
     
    flawebworks, Dec 9, 2004 IP
  11. mopacfan

    mopacfan Peon

    Messages:
    3,273
    Likes Received:
    164
    Best Answers:
    0
    Trophy Points:
    0
    #11
    Shoulda been using ASP........

    Sorry, had to throw that in there :)
     
    mopacfan, Dec 9, 2004 IP
  12. randfish

    randfish Peon

    Messages:
    185
    Likes Received:
    32
    Best Answers:
    0
    Trophy Points:
    0
    #12
    Ok, changed .htaccess back- but still nothing. I appreciate your help - is it possible my host could be blocking ads.digitalpoint.com from serving pages/info?
     
    randfish, Dec 9, 2004 IP
  13. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #13
    You could test it... see if this script works on your server...
    <?php
    readfile('http://ads.digitalpoint.com/network.php');
    ?>
    PHP:
    If it doesn't produce anything, change the URL to something else... like www.microsoft.com and see if it shows anything.
     
    digitalpoint, Dec 9, 2004 IP
  14. randfish

    randfish Peon

    Messages:
    185
    Likes Received:
    32
    Best Answers:
    0
    Trophy Points:
    0
    #14
    Nothing shows for either of those... Microsoft or digitalpoint - very strange.
     
    randfish, Dec 9, 2004 IP
  15. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #15
    Looks like they are just blocking URLs for fopen(), but not returning an error saying so (normally it will tell you that's the case).
     
    digitalpoint, Dec 9, 2004 IP
  16. randfish

    randfish Peon

    Messages:
    185
    Likes Received:
    32
    Best Answers:
    0
    Trophy Points:
    0
    #16
    Do you think I can get them to change it... It's Aplus webhosting - aplus.net
     
    randfish, Dec 9, 2004 IP
  17. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #17
    Wouldn't hurt to ask I guess...
     
    digitalpoint, Dec 9, 2004 IP
  18. randfish

    randfish Peon

    Messages:
    185
    Likes Received:
    32
    Best Answers:
    0
    Trophy Points:
    0
    #18
    OK, they say they'll do it - they do actively block these things and supress error reporting (great :()

    They need the IP address (which I assume is the IP of digitalpoint.com - 216.9.35.56) and the port - which must be 8080 since it's web. Hopefully this can help other users in the future who may have this issue.
     
    randfish, Dec 9, 2004 IP
  19. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #19
    The ad server's IP is 216.9.35.57 on port 80 (80 is the normal web port).
     
    digitalpoint, Dec 9, 2004 IP
  20. randfish

    randfish Peon

    Messages:
    185
    Likes Received:
    32
    Best Answers:
    0
    Trophy Points:
    0
    #20
    According to my webhost, they opened Port 80 for the IP address 216.9.35.57 but still no dice... I'm really lost here.

    I was able to get some information from the IP - take a look at avatarfinancial.com/index2.php - it's pulling something (gobbledy gook) with the code
    It's the stuff right after the first paragraph...

    BTW Made a donation yesterday - I just don't feel right getting this service for free :)
     
    randfish, Dec 10, 2004 IP