WordPress.org

Forums

[resolved] trouble uploading image (8 posts)

  1. jsingerman
    Member
    Posted 7 years ago #

    Hi- I've just set up WordPress through iPower on my domain. Whenever I try to upload an image for a posting, I get an error message:
    "Unable to create directory" followed by a file path in my domain. And then "Is its parent directory writable by the server?"

    Any idea what is going on?

    Thanks for any help
    Jessica

  2. moshu
    Member
    Posted 7 years ago #

    Any idea what is going on?

    Yes: its parent directory is not writable :)
    Chmod (change the permissions) on the wp-content directory to 777.

  3. jsingerman
    Member
    Posted 7 years ago #

    Thanks- makes sense, only thing is, I don't know how to change permissions- I'm a newbie to this!

  4. moshu
    Member
    Posted 7 years ago #

    The online manual, the Codex is your best friend:
    http://codex.wordpress.org/Changing_File_Permissions

  5. jsingerman
    Member
    Posted 7 years ago #

    thanks! Got it working!

  6. jody3401
    Member
    Posted 7 years ago #

    I am having a similar problem uploading images. I understand that my permissions are probably not correct - the manual I purchased told me to change them to 666 when it appears they need to be 777. I understand that I am making this change to the "uploads" directory ONLY. (Please let me know if this is not correct.)

    Here is my question, which may be stupid but I am REALLY new to this so please have patience. When I try to upload, I get the following error:

    Unable to create directory /home/wordsand/public_html/watj/wp-content/uploads/2007/10. Is its parent directory writable by the server?

    Is the program actually looking for a path beginning with "home"? Or is /home/wordsand/ some sort of general reference to my web site? I would think the actual path should be

    wordsandmusicwi.com/public_html/watj/wp-content/uploads/2007/10

    If the path the program is trying to create is wrong, how do I change it?

    Thanks for the help (and the patience!!)

  7. moshu
    Member
    Posted 7 years ago #

    Don't confuse URL and path - they are two different things!
    this is path
    /home/wordsand/public_html/watj/wp-content/uploads/2007/10.
    and this is URL/URI
    http://www.wordsandmusicwi.com/watj/wp-content/uploads/2007/10

    The wp-content folder is the "parent"

    Edit. to be writable: file - 666
    folder - 777

  8. jody3401
    Member
    Posted 7 years ago #

    Thanks awfully! Obviously, I have a lot of learning to do...

Topic Closed

This topic has been closed to new replies.

About this Topic