Not Validating

Discussion in 'Co-op Advertising Network' started by dyn4mik3, Jan 17, 2005.

  1. #1
    My site failed validation today - I updated the php file and the ads are showing but its still failing validation. Another one of my sites works though.

    The site that doesn't work is:
    http://www.vietnamjournal.org

    Thanks for any advice.
     
    dyn4mik3, Jan 17, 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
    Are you including the ad_network.php file as a file? Make sure it's not a URL.
     
    digitalpoint, Jan 17, 2005 IP
  3. dyn4mik3

    dyn4mik3 Peon

    Messages:
    126
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    This is the code I'm using to for the ad network (copied from my footer.php):

    include ('ad_network.php');
    echo ('Ads: ');
    echo implode (' | ', $ad_network);
     
    dyn4mik3, Jan 17, 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
    How is the footer being included?
     
    digitalpoint, Jan 18, 2005 IP
  5. dyn4mik3

    dyn4mik3 Peon

    Messages:
    126
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #5
    from my index.php file - similar include statement.

    include('footer.php')
     
    dyn4mik3, Jan 18, 2005 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
    Try adding this to the end of your ad_network.php file:

    echo "<!-- $_SERVER[REMOTE_ADDR] -->";
    PHP:
    and tell me when you have done it.
     
    digitalpoint, Jan 18, 2005 IP
  7. dyn4mik3

    dyn4mik3 Peon

    Messages:
    126
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Added it just now.
     
    dyn4mik3, Jan 18, 2005 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
    You can go ahead and take it off. It looks like you might have a front-end web server that is proxying all the web requests. Because of that, your "real" web server (and therefore the ad_network.php script) sees the user's IP address as an internal/non-routable IP address...

    192.168.2.201 in my case when I looked.
     
    digitalpoint, Jan 18, 2005 IP
  9. dyn4mik3

    dyn4mik3 Peon

    Messages:
    126
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #9
    So that means I'm pretty much stuck?
     
    dyn4mik3, Jan 18, 2005 IP
  10. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #10
    Pretty much yeah, unfortunately.
     
    digitalpoint, Jan 18, 2005 IP
  11. dyn4mik3

    dyn4mik3 Peon

    Messages:
    126
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #11
    I'm in contact with the webhosting - what do they need to do to get it to work?
     
    dyn4mik3, Jan 21, 2005 IP
  12. dyn4mik3

    dyn4mik3 Peon

    Messages:
    126
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #12
    Sorry to keep asking, but what do I need to do to fix the proxy issue?

    I'm in contact with the web hosting so I can fix the problem if I know what to do. Thanks.
     
    dyn4mik3, Jan 22, 2005 IP
  13. dyn4mik3

    dyn4mik3 Peon

    Messages:
    126
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #13
    Shawn, my friend changed ad_network.php to work with web proxies (as long as it still shows the ads) - do you want the code?
     
    dyn4mik3, Jan 31, 2005 IP
  14. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #14
    No thanks...
     
    digitalpoint, Jan 31, 2005 IP