problem with .txt file

Discussion in 'Co-op Advertising Network' started by sharpweb, Aug 17, 2005.

  1. #1
    I'm getting the following error:

    You must set the ad network .txt file to be writable (or file is not within path).

    Here's what I've done:
    1) chmod the .txt
    2) registered site URL is http://www.sharpwebservice.com/link_manager/
    3) I've put the files in the same directory (ad_network_351.php and ad_network_351.txt) - http://www.sharpwebservice.com/link_manager/
    4) the site is already php based
    5) i'm trying to get that add to display at the top of this page (will move once I get it working) http://www.sharpwebservice.com/link_manager/

    What have I done wrong? My guess is I have misunderstood where to put the two files (ad_network_351.php and ad_network_351.txt)

    Very frustrating
     
    sharpweb, Aug 17, 2005 IP
  2. fryman

    fryman Kiss my rep

    Messages:
    9,604
    Likes Received:
    777
    Best Answers:
    0
    Trophy Points:
    370
    #2
    .... 404
     
    fryman, Aug 17, 2005 IP
  3. obenix

    obenix Eats an apple a day......

    Messages:
    2,236
    Likes Received:
    180
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Can you double confirm that the ad_network_351.txt permissions have been changed to 666?
     
    obenix, Aug 17, 2005 IP
  4. sharpweb

    sharpweb Guest

    Messages:
    246
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I can triple confirm that
     
    sharpweb, Aug 17, 2005 IP
  5. mcdar

    mcdar Peon

    Messages:
    1,831
    Likes Received:
    110
    Best Answers:
    0
    Trophy Points:
    0
    #5

    Check the script you put in your footer file. You need to change "ad_network.txt" to ad_network_351.txt.

    Caryl
     
    mcdar, Aug 18, 2005 IP
  6. sharpweb

    sharpweb Guest

    Messages:
    246
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #6
    It does have the 351. No problems there. Is it possible that I have an old version of php that isn't compatable?
     
    sharpweb, Aug 18, 2005 IP
  7. frankm

    frankm Active Member

    Messages:
    915
    Likes Received:
    63
    Best Answers:
    0
    Trophy Points:
    83
    #7
    Rewrite the code to include the exact path of your *.txt file. (line 34)

    $ad_file = '/apache/server/yummie/link_manager/ad_network.351.txt";
     
    frankm, Aug 18, 2005 IP
  8. sharpweb

    sharpweb Guest

    Messages:
    246
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #8
    still no luck...any more suggestions?
     
    sharpweb, Aug 22, 2005 IP