Will only validate 1 in 20 attempts

Discussion in 'Co-op Advertising Network' started by cagintranet, Dec 6, 2005.

  1. #1
    i am trying to validate my site (in my sig), and i know i have the ads showing properly, at the bottom of every page in my directory.

    but only about 1 in 20 times do i get my site to validate. most of the time i get this error talking about a random page it picked up off my site:
    "Ads not found on http*//pghsource.cagintranet.com/directory/189.php"

    ... and that 189.php will change to any numbered page on my site. but when it actually does validate (very rarely) - i still end up with a weight of Zero.

    Can someone please help? Thanks

    Chris
     
    cagintranet, Dec 6, 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
    Is your directory script maybe generating static HTML for your site?
     
    digitalpoint, Dec 6, 2005 IP
  3. cagintranet

    cagintranet Well-Known Member

    Messages:
    328
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    128
    #3
    yes, i think so. since my host (godaddy) doesnt or didnt support mod-rewrite, i had to do an include of the "...index.php?c=200" into a static 200.php file. it took a lot of work, but i got rid of those query strings.

    Shawn, if that is what is doing it, is there any way around this? Thanks
     
    cagintranet, Dec 7, 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
    Hmmm... if your static PHP files generated with the actual PHP code for the ad network instead of the output of the original file it should work.
     
    digitalpoint, Dec 7, 2005 IP
  5. cagintranet

    cagintranet Well-Known Member

    Messages:
    328
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    128
    #5
    unfortuantely i cant go in and modify 1200 pages and ftp them back to the server very easily.

    Basically the code is on the index.php page, which is <included> into the static ##.php pages at the very end.

    i wonder why it validates sometimes, and other times it fails.

    Anyway, Thanks Shawn.
     
    cagintranet, Dec 8, 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
    Probably if the validator triggers the page to be generated.
     
    digitalpoint, Dec 8, 2005 IP