Support » Fixing WordPress » Can't upload media to posts: "Is its parent directory writable by the server?"

  • Lala Diva

    (@jessica-leschnikoff)


    Hi there,

    I’m trying to upload a picture to my blog, and have so far had no problems at all. Suddenly, I’m getting this error:

    Unable to create directory (address of my server and blog follows) Is its parent directory writable by the server?

    I haven’t done anything to permissions here or anywhere else, and I’ve looked at the path that is being used to upload media, and it is the standard wp-content/upload path.

    Can anyone help?

    Thanks

    Jessica

Viewing 4 replies - 1 through 4 (of 4 total)
  • esmi

    (@esmi)

    Forum Moderator

    Did you try searching the forums before posting? Only this has been answered hundred (if not thousands) of times.

    Try changing the permissions on the wp-content directory to 766. If you still have problems, try 767, 775 or 777. Once your uploads are working, change the permissions on wp-content back to 755 again and check that everything still works OK.
    http://codex.wordpress.org/Changing_File_Permissions

    Lala Diva

    (@jessica-leschnikoff)

    Hi Esmi,

    Thanks for the reply, but I’ve already tried all of that and non of it works. Furthermore, I think it might be helpful for people to understand why this happens. I uploaded a picture only a day ago with no problems at all – and suddenly this happens… I’ve made no changes to the blog, added no more plugins… basically nothing has changed…

    Any further ideas?

    Thanks J

    esmi

    (@esmi)

    Forum Moderator

    It happens because Word\press does not have the correct permissions to create folders and/or add images to the wp-content folder on your site. If the situation has changed without any apparent reason in the past few days, perhaps your hosts have changed something on your server?

    Lala Diva

    (@jessica-leschnikoff)

    Hi Esmi,

    Actually, in this case, it was the fault of my hosting providers. They had migrated my website to a different server, and I had to change the server number in the path to my uploads folder via settings – media in the dashboard. It had nothing to do with permissions.

    I have told my hosts that they should have advised me as such, but it was a small oversight and they were knew exactly what to do.

    Problem solved!

    Thanks for your help though – 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Can't upload media to posts: "Is its parent directory writable by the server?"’ is closed to new replies.