Not validating ARRRG! (an irate pirate impression)

Discussion in 'Co-op Advertising Network' started by kyle422, Apr 2, 2005.

  1. #1
    Alright, I have ads on all my pages but now it is not validating. It's an xhtml site with some php pages as well. I use a passthru.php to put the ads on the site.
    My passthru looks like this MATEY (pirate again)
    if (!function_exists('file_get_contents')) {
    function file_get_contents($url) {
    $handle = fopen($url, 'r');
    $string = fread($handle, 4096000);
    fclose($handle);
    return $string;
    }
    }
    
    include ('ad_network.php');
    echo preg_replace ("/<\/body>/i", '<DIV class="ads">'.'<a href="http://www.digitalpoint.com/tools/ad-network/?s=1905" rel="nofollow">Sponsored Ads</a>'.'>>' .$ad_network .'-<a href="http://www.elistingpros.com/">Real Estate News</a>'.'</div></body>', file_get_contents(str_replace ('../', '', $_REQUEST['file'])));
    PHP:
    I have the update ad_network.php file (// Last update: Mar 31, 2005 2:28 pm)
    And here is my error message. "Ads not found on http://www. myfloridahomesforsale .com/

    Logout | Setup Instructions | Edit Account Settings

    Account not not yet activated. | Site failed automatic validation as of 2005-04-02 (make sure URL and site type is correct - if everything is correct, make a request in the forum for assistance).
    "
     
    kyle422, Apr 2, 2005 IP
  2. kyle422

    kyle422 Peon

    Messages:
    290
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Did my pirate impression scare all the helpful people off, or was it the pink text? :)
     
    kyle422, Apr 2, 2005 IP
  3. fryman

    fryman Kiss my rep

    Messages:
    9,604
    Likes Received:
    777
    Best Answers:
    0
    Trophy Points:
    370
    #3
    I think THIS scared them away

    Might as well post it in Chinese and maybe I'll understand it better :D
     
    fryman, Apr 2, 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
    Where is your ad_network .txt file?
     
    digitalpoint, Apr 2, 2005 IP
  5. kyle422

    kyle422 Peon

    Messages:
    290
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #5
    On the root directory /
     
    kyle422, Apr 2, 2005 IP
  6. kyle422

    kyle422 Peon

    Messages:
    290
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #6
    LOL. I'm pretty new at all this so I don't know how to describe this stuff too well. Most of my pages are static xhtml. I have some dynamic pages that are created through mySQL using PHP. I use a passthru.php to place the coop ads on all the pages so I don't have to do everypage manually. Does that clear it up for you? Or is it strange how I have my site set up? either way :p
    :D
     
    kyle422, Apr 2, 2005 IP
  7. neterslandreau

    neterslandreau Peon

    Messages:
    279
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #7
    neterslandreau, Apr 3, 2005 IP
  8. Dastar

    Dastar Active Member

    Messages:
    391
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    88
    #8
    I'm having the same problem....... :confused:
     
    Dastar, Apr 3, 2005 IP
  9. Dastar

    Dastar Active Member

    Messages:
    391
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    88
    #9
    At first, I thinking it was a problem with the Google API showing no returned results, but then realized that the site just wasn't validating at all (even with ads on the page).
     
    Dastar, Apr 3, 2005 IP
  10. kyle422

    kyle422 Peon

    Messages:
    290
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #10
    Yeah, I got a new API key just to check, and still not validating. I can occassionally get it to validate, like every 20 clicks on the "Validate Site" link, but it gives me zero weight, and if I try to validate again it just goes back to "ads not live on www. mysite .com".
    I want to cry. :(
     
    kyle422, Apr 3, 2005 IP
  11. kyle422

    kyle422 Peon

    Messages:
    290
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #11
    Weird, no changes to any files and I come back after eating dinner and now my site validates????? Not as much weight as I had before. Oh well at least it validated.
     
    kyle422, Apr 3, 2005 IP
  12. Dastar

    Dastar Active Member

    Messages:
    391
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    88
    #12
    <Makes note to self to eat next time site won't validate>
     
    Dastar, Apr 3, 2005 IP
  13. kyle422

    kyle422 Peon

    Messages:
    290
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #13
    LOL.
    empty stomach = no validation = sad webmaster
    full stomach = validation = sleepy time
    :D
     
    kyle422, Apr 3, 2005 IP