You must set the ad network .txt file to be writable.

Discussion in 'Co-op Advertising Network' started by toddieg, Apr 27, 2005.

  1. #1
    Hi,

    I am setting up the co-op for the first time and get this error message

    "You must set the ad network .txt file to be writable."

    I've tried chmodding the text file to 666, 755 and 777 with no luck.

    Any ideas?

    Thanks,

    Todd

    ps. the domain is www.westcoastsurfing.com
     
    toddieg, Apr 27, 2005 IP
  2. SEbasic

    SEbasic Peon

    Messages:
    6,317
    Likes Received:
    318
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Are you sure the permissions are actually being registered?
     
    SEbasic, Apr 27, 2005 IP
  3. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #3
    Try setting the path to the .txt file to the full file path.
     
    digitalpoint, Apr 27, 2005 IP
  4. fryman

    fryman Kiss my rep

    Messages:
    9,604
    Likes Received:
    777
    Best Answers:
    0
    Trophy Points:
    370
    #4
    It has to be at least 666

    Check in your code that you are calling the right .php file, it sounds like you aren't
     
    fryman, Apr 27, 2005 IP
  5. toddieg

    toddieg Peon

    Messages:
    252
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    0
    #5
    ok, i changed the reference to the text file to an absolute path, and now there is no error message, just blank space (no ads either)

    how can i test to see if the server really accepted the chmod? is there a way i can try and write to the file?
     
    toddieg, Apr 27, 2005 IP
  6. SEbasic

    SEbasic Peon

    Messages:
    6,317
    Likes Received:
    318
    Best Answers:
    0
    Trophy Points:
    0
    #6
    If you restart your FTP program then go back and try to change it again, it shouldn't have changed from 666.

    (You can edit CHMOD with SmartFTP)
     
    SEbasic, Apr 27, 2005 IP
  7. toddieg

    toddieg Peon

    Messages:
    252
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    0
    #7
    ya, the file is definitely set at 777 still, but still no love... i'll try and ask my server hosts if they know what's up. thanks.
     
    toddieg, Apr 27, 2005 IP
  8. SEbasic

    SEbasic Peon

    Messages:
    6,317
    Likes Received:
    318
    Best Answers:
    0
    Trophy Points:
    0
    #8
    SEbasic, Apr 27, 2005 IP
  9. fryman

    fryman Kiss my rep

    Messages:
    9,604
    Likes Received:
    777
    Best Answers:
    0
    Trophy Points:
    370
    #9
    put this up on your page <? echo 'hello' ?>


    If you don't see "hello" on your page it means you aren't parsing. (this is, in case you are using htm pages)
     
    fryman, Apr 27, 2005 IP
  10. toddieg

    toddieg Peon

    Messages:
    252
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    0
    #10
    i can see the 'hello' ... i was pretty sure that was going to work seeing how i saw the original error message.... (it might be a permissions problem w/the text file im thinking)
     
    toddieg, Apr 27, 2005 IP
  11. Drakier

    Drakier Peon

    Messages:
    14
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #11
    I posted this on another thread, but it might apply here as well..

    Another problem I commonly see on PHP systems is that the txt file will NOT be generated for you properly.. depending on permissions of the directory itself.

    If this is the case, you muse CREATE a blank file named the same as your AD file and then upload it and set its permissions.

    So if you've checked and double checked, and still can't find what is wrong, try making the file yourself (blank) and then upload/set permissions and see if it works. Worked for me.
     
    Drakier, Sep 9, 2005 IP