Account won't validate.

Discussion in 'Co-op Advertising Network' started by ThomasT, Apr 18, 2005.

  1. #1
    Hi there,

    I have added the co-op code to my site, ads are showing on every page, but it won't validate.

    Could someone please check.

    Ads not found on http://nettmarked.no/

    Site failed automatic validation as of 2005-04-18 (make sure URL and site type is correct


    Thanks,
    Thomas
     
    ThomasT, Apr 18, 2005 IP
  2. T0PS3O

    T0PS3O Feel Good PLC

    Messages:
    13,219
    Likes Received:
    777
    Best Answers:
    0
    Trophy Points:
    0
    #2
    It won't work on redirected base URLs I believe.

    Try .../classifieds/ as your base url.
     
    T0PS3O, Apr 18, 2005 IP
  3. ThomasT

    ThomasT Active Member

    Messages:
    5
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    66
    #3
    Thanks, I appreciate the fast response.

    The site is completely based on a cgi file, this is why index.php was setup to redirect to it.

    Since the output of the main page the cgi file produces doesn't change, I have now removed the redirection, and copied the html it produces to the index.php file, but it still won't validate.

    Any other suggestions?

    -Thomas
     
    ThomasT, Apr 18, 2005 IP
  4. T0PS3O

    T0PS3O Feel Good PLC

    Messages:
    13,219
    Likes Received:
    777
    Best Answers:
    0
    Trophy Points:
    0
    #4
    You only have 2 pages showing in the site: command so the API might well be returning 0.
     
    T0PS3O, Apr 18, 2005 IP
  5. ThomasT

    ThomasT Active Member

    Messages:
    5
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    66
    #5
    Thanks again.

    Google has 59 pages indexed, but 57 of them are omitted :(, guess they don't like the category pages the script produces.

    Off to add some more static SE friendly pages.


    -Thomas
     
    ThomasT, Apr 18, 2005 IP
  6. michail1

    michail1 Peon

    Messages:
    86
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Also, ads are not really being displayed. I looked at your site on several pages. I haven't once seen any of the ads rotate. They are always the same 5 in the same order.
     
    michail1, Apr 19, 2005 IP
  7. ThomasT

    ThomasT Active Member

    Messages:
    5
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    66
    #7
    There are no problems with rotation when I try.
     
    ThomasT, Apr 19, 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
    Are you using PHP? It doesn't look like your server is setting the $_SERVER['REMOTE_ADDR'] variable properly (for whatever reason).
     
    digitalpoint, Apr 19, 2005 IP
    yfs1 likes this.
  9. ThomasT

    ThomasT Active Member

    Messages:
    5
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    66
    #9
    Hi Shawn,

    I am using PHP and cgi.

    PHP is used on the main page (http://nettmarked.no), and some other pages, cgi is used on the classified listing pages.

    This is the PHP code used.
    
    <?php
    $_SERVER['REMOTE_ADDR'] = $_REQUEST['ip'];
    include ('php/ad_network_229.php'); 
    echo $ad_network;
    ?>
    
    Code (markup):
     
    ThomasT, Apr 20, 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
    Sorry, don't know anything about the CGI stuff... only the pure PHP version.
     
    digitalpoint, Apr 20, 2005 IP