• I have installed WP successfully and am trying to write my first posts. When I try and upload an image from my desktop (.jpg) through the dashboard (in ‘write post’ mode), it doesn’t upload and I get the error message:

    Unable to create directory F:\Inetpub\wwwroot\markallencam.com/wp-content/uploads/2006/06. Is its parent directory writable by the server?

    I can’t find anything in the documentation about this. Any help?

    Mark

Viewing 5 replies - 1 through 5 (of 5 total)
  • You need to change CHMOD of “uploads” (in “wp-content” dir) directory to 777 with your FTP app. If there isn’t such directory as uploads, create one, name it “uploads” and give it permissions (chmod 777).

    Thread Starter tronfrog

    (@tronfrog)

    OK fazi – tried it and didn’t work but I think I may have done it wrong. There is no “uploads” directory in the “wp-content” directory – so I created a file called “uploads” and put the line “chmod 777” in it and uploaded it into the “wp-content” directory. I also tried it a second time, but titled the file “uploads.php” instead of just “uploads.”

    I’m pretty green at this so this is probably a “duh…” question, but did you mean for me to create a FOLDER called uploads (a directory) and put a file in in called “chmod 777” and put it in the wp-content directory.

    A little confused…

    Thanks,
    Mark

    No no no 🙂

    Create folder “uploads” inside folder “wp-content” that’s all rigth.
    But don’t create anything else. You need to give permission (CHMOD) to write in this directory so WP can create sub-directories and save images in it by itself. For WP folder “uploads” must be writable (it is when it has chmod 777 set up).
    How to do this? It depends on what FTP menager you use. For example in Flash FXP: connect with your ftp -> find “uploads” (or create one if there isn’t) in wp-content -> right-click on it -> proporties -> attributes (chmod) -> write 777 in field -> confirm -> all done

    sorry for my english 🙂

    http://codex.wordpress.org/Changing_File_Permissions
    this may help a little about chmods

    i had the same trouble as you and resolved it yesterday. did what these wise WP people say:

    -get a FTP access
    -go to WP-content and then uploads folder
    -get info of that dile (ctrl-i or command-i on mac) and then change the octal number from 745 to 777
    -do the same with the 2006 folder in uploads

    if that doesn’t work means you have no permissions and you’ll have to speak to your server admin

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘image uploader can’t create directory’ is closed to new replies.