I need help!! oscommerce don´t work

Discussion in 'Co-op Advertising Network' started by gratiszzzz, Dec 16, 2004.

  1. #1
    If i put:

    ini_set ("include_path", ini_get ("include_path") . ':../:../../:../../../:../../../../');
    include ('ad_network.php');
    echo $ad_network[0];
    echo " | ";
    include ('ad_network.php');
    echo $ad_network[1];
    echo " | ";
    include ('ad_network.php');
    echo $ad_network[2];
    echo " | ";
    include ('ad_network.php');
    echo $ad_network[3];
    echo " | ";
    include ('ad_network.php');
    echo $ad_network[4];

    in the "include/footer,php" the web don´t load

    i speak english very bad but i think you understand these

    Can you help me, please?
     
    gratiszzzz, Dec 16, 2004 IP
  2. gratiszzzz

    gratiszzzz Peon

    Messages:
    17
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Hi

    anyone can help me, it's urgent please
     
    gratiszzzz, Dec 16, 2004 IP
  3. T0PS3O

    T0PS3O Feel Good PLC

    Messages:
    13,219
    Likes Received:
    777
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Post URL, post full code so we can see...

    Did you follow all instructions?
     
    T0PS3O, Dec 16, 2004 IP
  4. gratiszzzz

    gratiszzzz Peon

    Messages:
    17
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    url is kikepc.com

    Now is don´t put the code because when i put the code in includes/footer.php the web don´t load. I follow the instructions

    I dont understand...
     
    gratiszzzz, Dec 16, 2004 IP
  5. T0PS3O

    T0PS3O Feel Good PLC

    Messages:
    13,219
    Likes Received:
    777
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Not sure.. The code probably clashes with OSC code. You might have to make a module for it of some sort.
     
    T0PS3O, Dec 16, 2004 IP
  6. schlottke

    schlottke Peon

    Messages:
    2,185
    Likes Received:
    63
    Best Answers:
    0
    Trophy Points:
    0
    #6
    The simplest way to call from the catalog is to create an include to a blank php file in one of the include files and then call the adnetwork from that file.
     
    schlottke, Dec 16, 2004 IP
  7. gratiszzzz

    gratiszzzz Peon

    Messages:
    17
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #7
    don´t work
     
    gratiszzzz, Dec 16, 2004 IP
  8. Lucky Bastard

    Lucky Bastard Peon

    Messages:
    406
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #8
    When I did it for my oscommerce store I had to put the ad network files in the servers root directory not in the oscommerce include directory. I modified (edit: hacked) the code later so that it would read the required ad network files (including .txt) from the oscommerce includes folder.

    Just put the ad network files in the root directory. Hope that helps.
     
    Lucky Bastard, Dec 19, 2004 IP