• Resolved spacebase

    (@nadiamyre)


    I am trying to upload media (photos) and get this error message: Unable to create directory wp-content/uploads/2012/11. Is its parent directory writable by the server?

    What do I do?

Viewing 7 replies - 16 through 22 (of 22 total)
  • Is there not a way to permanently fix this?? Instead of having to go back and change it afterwards each time you want to upload photos?

    Changing permissions to 777 is very dangerous!!
    Here i provide a good solution!

    https://cycentum.miraiserver.com/en/Memos/WordPressPermission.html

    Thanks cycentum, that was exactly what I needed!

    Do NOT just change file permissions to 0775 or 0777. That’s a terrible solution because it introduces several security vulnerabilities.

    The solution mentioned by cycentum works well. Check the user which Apache or Nginx is running as, and make sure the user owns (or has write access to) the folder and files. The user is typically specified in /etc/apache2/envvars (for Apache) or /etc/nginx/nginx.conf (for Nginx).

    frankstebbing

    (@frankstebbinggmailcom)

    Hello. As a newbie I’m not sure of the protocol here – but my question seems to be related to the above – but I’m still not understanding how to fix it.

    Mac 10.8.4 user; Xamp installed and running as a local host, default WP 3.6 theme loaded and working locally. When I go to upload my zipped theme (wpex-adapt.zip – 826Kb) I get error: “Unable to create directory wp-content/uploads. Is its parent directory writable by the server?”

    I’ve been Googling around forums for 6 hours now, but answers either do not work or are too technical for me to action. Thanks in advance…

    I went to Settings/Media and unchecked the box that says “Organize my uploads into month- and year-based folders”. Seems to have solved the problem.

    @j-p8g – this worked for me as well.

    tommyg73

    (@tommyg73)

    What solved it for me was changing the path.
    The thing for me was that I transfered the site to a different hosting provider (which obviously had different directory structure and site path).
    I searched my PHPMyAdmin for “path” and found the option named “upload_path” and changed it. Now upload works like a charm.

Viewing 7 replies - 16 through 22 (of 22 total)
  • The topic ‘Unable to create directory wp-content/uploads’ is closed to new replies.