I can´t validate my site

Discussion in 'Co-op Advertising Network' started by roberto, Dec 18, 2004.

  1. #1
    I have this message:

    Ads not found on http://www.easy-home-business.com/

    Account not not yet activated. | Site failed automatic validation as of 2004-12-18 (make sure URL and site type is correct - if everything is correct, make a request in the forum for assistance

    what should I do?

    regards
    Roberto
     
    roberto, Dec 18, 2004 IP
  2. Patient

    Patient Raider

    Messages:
    336
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    123
    #2
    Hi Roberto

    The php is not being processed in that page - you can clearly see it if you view source.

    You have php pages so your choices are:

    1. Rename your html pages php and redirect [301] - problem is you will temporarily lose your PR and therefore have zero weight for a while.

    2. Tell your server to parse php in html files

    To achieve point 2 you will need to create a file named .htaccess and put it in your root folder. In my experience so far the .htaccess file should contain one of the following lines:

    AddType x-mapp-php4 .php3 .php .html .htm
    AddType application/x-httpd-php .htm .html
    AddHandler application/x-httpd-php .htm .html
    AddHandler x-mapp-php4 .php3 .php .html .htm

    Just try them all one at a time until it works.

    PS No nead to call the file 5 times. Just use:

    <?php
    ini_set ("include_path", ini_get ("include_path") . ':../:../../:../../../:../../../../');
    include ('ad_network.php');
    echo $ad_network[0].' '.$ad_network[1].' '.$adnetwork[2].' '.$ad_network[3].' '.$ad_network[4];
    ?>
     
    Patient, Dec 18, 2004 IP
  3. roberto

    roberto Peon

    Messages:
    29
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I have done what you told me and I still can´t validate my site

    regards
    Roberto
     
    roberto, Dec 22, 2004 IP
  4. Patient

    Patient Raider

    Messages:
    336
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    123
    #4
    I can no longer see the php code when I view source.

    Try adding the following before the </body> tag so that we can check whether php is being parsed:

    <?php echo 'hello<br>'; ?>
     
    Patient, Dec 23, 2004 IP
  5. roberto

    roberto Peon

    Messages:
    29
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I have included
    <?php echo 'hello<br>'; ?>
    before the </body> tag

    regards
    Roberto
     
    roberto, Dec 23, 2004 IP
  6. roberto

    roberto Peon

    Messages:
    29
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    this is what my support says:

    We checked your code. It is properly incuding the http://www.easy-home-business.com/ad_network.php file to your index.html page

    The PHP code in your index page is trying to display some adds from an array named the $ad_network. However, currently that include file (ad_network.php) contains no such $ad_network variables defined.

    does this help?

    Roberto
     
    roberto, Dec 23, 2004 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
    digitalpoint, Dec 23, 2004 IP
  8. roberto

    roberto Peon

    Messages:
    29
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Hi

    Now I have deleted all the html code, my home page shows a "hello" and no ads

    regards
    Roberto
     
    roberto, Dec 24, 2004 IP
  9. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #9
    It's not all deleted, if you look at the source, there are still HTML tags. You need to copy the ad_network.php file EXACTLY... don't add anything else to it.
     
    digitalpoint, Dec 24, 2004 IP
  10. roberto

    roberto Peon

    Messages:
    29
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #10
    Now my index.html file says "hello" and "code" but still has no ads

    regards
    Roberto
     
    roberto, Dec 24, 2004 IP
  11. roberto

    roberto Peon

    Messages:
    29
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #11
    I still can´t validate my site, can you send me the code that I should include in my ad_network.php file?

    regards
    Roberto
     
    roberto, Jan 27, 2005 IP
  12. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #12
    You can get it from the setup instructions.
     
    digitalpoint, Jan 27, 2005 IP
  13. roberto

    roberto Peon

    Messages:
    29
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #13
    The setup instructions say that I should only put the word "Code" on the file ad_network.php and that´s what I did, but my website easy-home-business.com at the bottom of the home page only shows the word "Code" and no ads
     
    roberto, Feb 2, 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
    You need to have JavaScript enabled on your browser.
     
    digitalpoint, Feb 4, 2005 IP
  15. roberto

    roberto Peon

    Messages:
    29
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #15
    Javascript is active now and I still receive the message "Ads not found on http://www.easy-home-business.com/" and see nothing else than the word Code and hello at the bottom of my home page
     
    roberto, Feb 6, 2005 IP
  16. roberto

    roberto Peon

    Messages:
    29
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #16
    There´s an improvement, now I still can´t see the ads, but I see:

    <?php ini_set ("include_path", ini_get ("include_path") . ':../:../../:../../../:../../../../'); include ('http://www.easy-home-business.com/ad_network.php'); echo $ad_network[0].' '.$ad_network[1].' '.$adnetwork[2].' '.$ad_network[3].' '.$ad_network[4]; ?>

    >
     
    roberto, Feb 6, 2005 IP