Validation Issue

Discussion in 'Co-op Advertising Network' started by CyberBrian, Sep 5, 2005.

  1. #1
    Having trouble with validation. Set everything up in PLESK, .txt file is writable. Code is on the main template. URL: www.restauranttrader.net

    Sorry if the mistake is painfully obvious.

    ~Brian
     
    CyberBrian, Sep 5, 2005 IP
  2. fryman

    fryman Kiss my rep

    Messages:
    9,604
    Likes Received:
    777
    Best Answers:
    0
    Trophy Points:
    370
    #2
    I don't see any ads there
     
    fryman, Sep 5, 2005 IP
  3. CyberBrian

    CyberBrian Peon

    Messages:
    129
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Doesn't the code in #4 of the setup instructions display the ads? I guess I'm missing how to put ads there. Thanks.
     
    CyberBrian, Sep 5, 2005 IP
  4. fryman

    fryman Kiss my rep

    Messages:
    9,604
    Likes Received:
    777
    Best Answers:
    0
    Trophy Points:
    370
    #4
    I don't know what #4 is, but you need to be showing your ads in order to validate
     
    fryman, Sep 5, 2005 IP
  5. CyberBrian

    CyberBrian Peon

    Messages:
    129
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I'm pretty sure this code is where I'm having the problem:

    <?php
    	ini_set ("include_path", ini_get ("include_path") . ':../:../../:../../../:../../../../');
    	include ('ad_network_370.php');
    	echo $ad_network;
    ?>
    Code (markup):
    I plugged it in the footer of the main template but it doesn't show anything. I'll have to play with it tomorrow during lunch....
     
    CyberBrian, Sep 5, 2005 IP
  6. elkiwi

    elkiwi Active Member

    Messages:
    536
    Likes Received:
    34
    Best Answers:
    0
    Trophy Points:
    68
    #6
    This is what you have there:

    <?php ini_set ("include_path", ini_get ("include_path") . ':../:../../:../../../:../../../../'); 
    include ('ad_network_370.php'); 
    echo '<p>Link Partners: ' . $ad_network . '</p>';?>
    Code (markup):
    Did you put the "<p>link partners:" in? if so I'd take it out and just put it before the php code block. It will parse it exactly the same.
     
    elkiwi, Sep 5, 2005 IP
  7. CyberBrian

    CyberBrian Peon

    Messages:
    129
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #7
    elkiwi, I got the "<p>link partners:" from the unofficial coop faq... I just removed it and still nothing...
     
    CyberBrian, Sep 5, 2005 IP
  8. elkiwi

    elkiwi Active Member

    Messages:
    536
    Likes Received:
    34
    Best Answers:
    0
    Trophy Points:
    68
    #8
    I don't know why that block is even showing in your source it's like that page isn't being treated as php or something.

    Sorry I can't be of more help. You'll have to wait for someone who knows a bit more.
     
    elkiwi, Sep 5, 2005 IP
  9. fryman

    fryman Kiss my rep

    Messages:
    9,604
    Likes Received:
    777
    Best Answers:
    0
    Trophy Points:
    370
    #9
    looks like you arenm't parsing php, you'll need to fix that
     
    fryman, Sep 5, 2005 IP
  10. CyberBrian

    CyberBrian Peon

    Messages:
    129
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #10
    parsing php? :confused:
     
    CyberBrian, Sep 6, 2005 IP
  11. GTech

    GTech Rob Jones for President!

    Messages:
    15,836
    Likes Received:
    571
    Best Answers:
    0
    Trophy Points:
    0
    #11
    Hi Brian,

    Sent a PM. I may be able to help with this.
     
    GTech, Sep 7, 2005 IP