My Error Fixed! Error: "You must set the ad_network_ads_xxx.txt file to be writable"

Discussion in 'Co-op Advertising Network' started by dailybread, Feb 7, 2008.

  1. #1
    My Error Fixed! You must set the ad_network_ads_xxx.txt file to be writable

    Error: You must set the ad_network_ads_159.txt file to be writable (check file name as well).

    This error happens when you don’t have permissions (666) set correctly OR the file is not being found.

    The problem I had was the latter because my VBulletin forums were not set in the root directory. It was set up as www.mywebsite.com/forums/index.php

    I put both of the files in the /forums/ directory –
    ie:
    www.mywebsite.com/forums/ad_network_159.php
    www.mywebsite.com/forums/ad_network_ads_159.txt

    After I was sure I did everything right (which I thought at the time) I got the error
    “You must set the ad_network_ads_159.txt file to be writable (check file name as well).”

    The problem was that the “ad_network_159.php” script was looking for the “ad_network_ads_159.txt” file in the root directory.
    ie:
    www.mywebsite.com/ad_network_ads_159.txt

    so instead of changing the php code I just moved the file here, to the root directory of my site, confirmed the 666 perimissions, and the ads started showing.

    PS: If this helps someone, you already know how to say thank. :D
     
    dailybread, Feb 7, 2008 IP
  2. voltolio

    voltolio Greenhorn

    Messages:
    56
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #2
    I am having the same problem. I have tried 755, 766 & 777 on every folder in the file, including the root. I also put ad_network_ads_219.txt in every subfolder (including the root) and set the same permissions as noted. This is in a wordpress blog. The ad_network_ads_219.php is being found & executed (per the 'make writable' message), but still, can't make the .txt writable.
     
    voltolio, Apr 7, 2008 IP
  3. voltolio

    voltolio Greenhorn

    Messages:
    56
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #3
    False alarm. The .txt filename was missing ..._ads_... in it. Sorry about this fiasco. Thanks for your help! Now I can try & figure out the no validation - seems to be plenty of info here on that.
     
    voltolio, Apr 7, 2008 IP