How/where to add co-op code for drupal site ?

Discussion in 'Co-op Advertising Network' started by poseidon, Apr 26, 2006.

  1. #1
    hi,

    I am having a drupal site(pusbutton theme). I have set everyething as reqired. I also added the code
    <?php
    ini_set ("include_path", ini_get ("include_path") . ':../:../../:../../../:../../../../');
    include ('ad_network_238.php');
    echo $ad_network;
    ?>

    on the footer section of my site(drupal has settings->Footer area :) ) but when I tried to valiadate it said "Site failed automatic validation as of 2006-04-26 (make sure URL and site type is correct - if everything is correct, make a request in the forum for assistance)." I also tried to put the code by making a block and additing it to the left hand side but when I add the code, the block displayed the full php code :( like normal text.

    I am sure my .htaccess is fine(drupal already have php support I guess).

    Also are static links good or rotating links ? which one shud I go for.

    Thanks
     
    poseidon, Apr 26, 2006 IP
  2. cianuro

    cianuro Peon

    Messages:
    1,857
    Likes Received:
    106
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You need to turn caching off. Validate your site, then turn it back on again.
     
    cianuro, Apr 26, 2006 IP
  3. poseidon

    poseidon Banned

    Messages:
    4,356
    Likes Received:
    246
    Best Answers:
    0
    Trophy Points:
    0
    #3
    how to turn off caching ? are u talking about browser behavior ? or do I need to modify some drupal settings ? I think u r talking about drupal..let me try..

    Edit - well I did tried to turn off caching in drupal but still it did give the same error. I have also put the line in .htacces about php files stil no effect..what shud be the permissions of the two files ? I have put them in my public_html directory.
     
    poseidon, Apr 26, 2006 IP