1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

wp theme editor problem

Discussion in 'Content Management' started by cashwealth, Feb 17, 2008.

  1. #1
    Guys,

    In my "theme editor" I'm getting this at bottom:
    "If this file were writable you could edit it."

    I can't edit sidebar, footer etc because even I put code or links in I'm not able to update/save changes. I know this is permission problem but how can be fixed??
    thx.

    cw
     
    cashwealth, Feb 17, 2008 IP
  2. Crynos

    Crynos Peon

    Messages:
    733
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Go in with an FTP client and change the permissions on the files to 777, then you'll be able to edit them. I recommend you change the permissions back afterwards though, you don't want to leave any exploits open.
     
    Crynos, Feb 17, 2008 IP
  3. cashwealth

    cashwealth Peon

    Messages:
    869
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thx, change it on admin, content..etc??
     
    cashwealth, Feb 17, 2008 IP
  4. Crynos

    Crynos Peon

    Messages:
    733
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #4
    You should just have to change it on the actual theme files, eg. if you want to edit the footer.php of your theme, just change the permissions on the footer.php.
     
    Crynos, Feb 17, 2008 IP
  5. cashwealth

    cashwealth Peon

    Messages:
    869
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #5
    not working...changed it to 777...nothing
     
    cashwealth, Feb 17, 2008 IP
  6. Crynos

    Crynos Peon

    Messages:
    733
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Really? The correct files? That always fixed it for me when I got the error. I don't know what else it could be other than permissions.
     
    Crynos, Feb 17, 2008 IP
  7. arwen54

    arwen54 Active Member

    Messages:
    632
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    60
    #7
    Actually you don't have to ever use 777 in your permission change...because like Crynos said it leaves you vulnerable.
    666 is what you need to use to make the file writable.

    once you change the permissions, you must reload/refresh your page so that the changes will be implemented.
     
    arwen54, Feb 18, 2008 IP