No clue what I'm doing wrong

Discussion in 'Co-op Advertising Network' started by jcambert, Jan 12, 2005.

  1. #1
    I'm not a programmer, but, I can't figure out what I'm doing wrong. I followed the instructions, to a "t" and, I inserted the code at the bottom, right bellow the "partner sites"

    Can someone PLEASE help meout?
    JP
     
    jcambert, Jan 12, 2005 IP
  2. Smyrl

    Smyrl Tomato Republic Staff

    Messages:
    13,740
    Likes Received:
    1,702
    Best Answers:
    78
    Trophy Points:
    510
    #2
    Have you attempted to validate once code in place on each place? If it does not validate what error are you getting?

    It would help others to know on what type a site you are attempting to install ad network. PhpBB, VBulletin, asp site, html site, ...

    Shannon
     
    Smyrl, Jan 12, 2005 IP
  3. chachi

    chachi The other Jason

    Messages:
    1,600
    Likes Received:
    57
    Best Answers:
    0
    Trophy Points:
    0
    #3
    yeah, and WHERE the site is. Post as much information you can, so that people here can help
     
    chachi, Jan 12, 2005 IP
  4. jcambert

    jcambert Banned

    Messages:
    33
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    thanks guys/gals. I tried validating and got the failed error. The site is

    Unlimited Perfumes "dot" cooooom

    I'd just as soon not type out the actual domain, but, you get the idea. I'm not a programer and don't know much so I won't venture a guess as to what type of site I'm running.

    Any thoughts?
     
    jcambert, Jan 12, 2005 IP
  5. chachi

    chachi The other Jason

    Messages:
    1,600
    Likes Received:
    57
    Best Answers:
    0
    Trophy Points:
    0
    #5
    well, here is what I can see on your page below the open div

    <div align="center"><?php
    ini_set ("include_path", ini_get ("include_path") . ':../:../../:../../../:../../../../');
    include ('ad_network.php');
    echo $ad_network[0];
    ?></a></td>

    Looks like the server is not executing that php code. Your site is all php?
     
    chachi, Jan 12, 2005 IP
  6. jcambert

    jcambert Banned

    Messages:
    33
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    That might be the problem. It's mostly PHP based, but, I have OSCommerce and utilize their templates, which are html based. A portion of each page is PHP and another portion is HTML. I'm guessing that maybe THAT portion is HTML based.

    What can I do to correct this?

    JP
     
    jcambert, Jan 13, 2005 IP
  7. jcambert

    jcambert Banned

    Messages:
    33
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Does this mean nobody knows what's going on?
    JP
     
    jcambert, Jan 13, 2005 IP
  8. chachi

    chachi The other Jason

    Messages:
    1,600
    Likes Received:
    57
    Best Answers:
    0
    Trophy Points:
    0
    #8
    I don't have any experience with oscommerce, so I can't really help there.
     
    chachi, Jan 13, 2005 IP
  9. jcambert

    jcambert Banned

    Messages:
    33
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Nobody can help? Assuming that the page that I'm putting the ads on is html, but, the site is PHP capable, is there any way to go about it?
     
    jcambert, Jan 14, 2005 IP
  10. DangerMouse

    DangerMouse Peon

    Messages:
    275
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #10
    Are you editing the template with OScommerce? My guess is that you're inserting the network code as a string into a php section of the page...

    If you can edit you template (index.php) in a text editor try that...
     
    DangerMouse, Jan 14, 2005 IP
  11. jcambert

    jcambert Banned

    Messages:
    33
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #11
    That's just it. The template itself (called sts_template) is an html file, not a PHP file.
    Anyone else care to take a stab at it?
    JP
     
    jcambert, Jan 16, 2005 IP