Validation fails. Ads do appear on page indicated

Discussion in 'Co-op Advertising Network' started by jeff123, Jan 10, 2005.

  1. #1
    jeff123, Jan 10, 2005 IP
  2. a389951l

    a389951l Must Create More Content

    Messages:
    1,885
    Likes Received:
    65
    Best Answers:
    0
    Trophy Points:
    140
    #2
    Have you updated to the latest ad_network.php?
     
    a389951l, Jan 10, 2005 IP
  3. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #3
    Are you using the normal PHP code (unchanged)? It doesn't look like it for some reason.
     
    digitalpoint, Jan 10, 2005 IP
  4. jeff123

    jeff123 Well-Known Member

    Messages:
    251
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    108
    #4
    Here's what I'm using (on php5). It is essentially the same as original code. The changes are
    1. Removed function definitions because I have php5
    2. hard coded path to ad_file
    3. $adline = implode(" | ", $ad_network);

    This same code works (validates) on another site I tried.

     
    jeff123, Jan 10, 2005 IP
  5. jeff123

    jeff123 Well-Known Member

    Messages:
    251
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    108
    #5
    Sorry.

    Looks like I found the problem.

    $adline is being created too soon. Must have introduced this bug on upgrading.

    Will test right away.
     
    jeff123, Jan 10, 2005 IP
  6. jeff123

    jeff123 Well-Known Member

    Messages:
    251
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    108
    #6
    Site validates now but it has a weight of ZERO. It is a P R 3 site. Let me read the forum and see if I'm missing something.
     
    jeff123, Jan 10, 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
    Pages Google knows about for that site are Supplemental.
     
    digitalpoint, Jan 10, 2005 IP