• Resolved colinodle

    (@colinodle)


    So this is now my second wordpress site in the work. My first one ran so smooth without ease. Now i’m having issues this time around. I originally had a bad theme issue that i had re FTP my theme from a new download to get it all to work. Now that it’s all there file wise I’m trying to upload media or a pic to a background and i’m getting this message…

    “maybe.jpg” has failed to upload due to an error
    Unable to create directory /home/ducemanc/public_html/wp-content/uploads/2011/09. Is its parent directory writable by the server?

    Does anyone have a clue..?

Viewing 12 replies - 1 through 12 (of 12 total)
  • Fix#

    > FTP your site.
    > Go to Directory /home/ducemanc/public_html/wp-content/
    Change the permission of the upload folder as below
    7 5 5
    user group world
    r+w+x r+x r+x
    4+2+1 4+0+1 4+0+1 = 755

    The permission mode is computed by adding up the following values for the user, the file group, and for everyone else. The diagram shows how.

    Read 4 – Allowed to read files
    Write 2 – Allowed to write/modify files
    eXecute1 – Read/write/delete/modify/directory

    The same is true for /wp-content/cache/ and maybe /wp-content/uploads/ (if you’re using MultiSite you may also need to do this for /wp-content/blogs.dir/)

    Thread Starter colinodle

    (@colinodle)

    makes sense. Is there a reason I never had to do this the first time around?

    Thread Starter colinodle

    (@colinodle)

    Also im a noob so don’t laugh when i ask you this but I’m using filezilla so ware would i located whatever it is I’m adding these codes to

    It depends on the servers on which you have hosted. They might have updated some patches for Apache or PHP, that forced restricted permissions.

    Right click the directories you want to change and choose file attributes…

    Thread Starter colinodle

    (@colinodle)

    thats been done it’s still having errors

    Try changing permission to 777 or
    Log into your WordPress Admin account.
    Go to ‘Media’ Settings options from the ‘Settings’ menu.
    In the Media Settings put wp-content/uploads in the “Store uploads in this folder” text box.

    Save the Changes by hitting the “Save Changes” button.

    if its not ‘Media’ then it would be ‘Miscellaneous’ for older version of wordpress.

    Thread Starter colinodle

    (@colinodle)

    hmm still nothing iv tried it all and i have the newest wordpress

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    colinodle – Make sure you changed the permissions for all folders.

    If you set it on home/ducemanc/public_html/wp-content/uploads/, you may ALSO need to set it on home/ducemanc/public_html/wp-content/uploads/2011 and home/ducemanc/public_html/wp-content/uploads/2011/09

    Going forward it should be okay, but you may need to do that first bit manually.

    Thread Starter colinodle

    (@colinodle)

    thank you all so much it works now i had two files that the permissions didn’t match up

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

The topic ‘Directory not writeable by server?’ is closed to new replies.