• Resolved thenomadicone

    (@thenomadicone)


    I am trying to get wordpress running for a friend. The blog itself installed and in general he seems to have access to everything he needs except this. Whenever he attempts to upload new media he gets the following message:

    “Unable to create directory wp-content/uploads/2013/03. Is its parent directory writable by the server?”

    Disabling Organize my uploads into month- and year-based folders merely changes the message to:

    “The uploaded file could not be moved to /home/<login name>/public_html/wp-content/uploads.”

    I have done heavy searching of both these forums as well as the internet at large for any solutions. Most of them seem to be for old versions of wordpress going all the way back to 4 years ago with no solid solution and everyone having the same or similar issues. There have been solutions here and there that I’ve tried but none have worked.

    So far I have:
    – Checked the ownership (he owns the directories, changing the ownership to apache did nothing)
    – Verified permissions (everything is 755)
    – Tried it with 777 (this works but as soon as I turn it back to 755 it stops working)
    – Looked through all the wordpress options for anything that might help (there were some suggestions involving setting a direct path in the miscellaneous menu area but that area doesn’t seem to exist in 3.5.1)

    As it stands I’m completely stumped. I have full root access to the server so I can do anything I need to but I can’t seem to find out what it is that needs to be done to let him upload images to his blog.

    Any help would be massively appreciated.

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

    (@jonwicks25)

    the reason 755 might not be working is because of the settings your host has. If you contact them and speak to them they may be able to resolve the issue.

    Thread Starter thenomadicone

    (@thenomadicone)

    What do you mean by the settings my host has? What settings in particular? I essentially am the host as this is a VPN I’m running from which I’m trying to host his blog. Do you mean this is something with the OS itself (I’m running centOS if that helps)? What settings might I need to change to get this fixed?

    Thread Starter thenomadicone

    (@thenomadicone)

    Ok thanks to some awesome people on #wordpress (LindsayMac and Freeed) I was able to get this resolved. For anyone who is in the same boat send in a support ticket telling your host what’s going on. In my case my server was using DSO as a php handler instead of suPHP, it’s quite possible that this is the same for you and your host should be able to solve it for you.

    This may work for you? I’ve just had the same issue on a couple of my blogs. I read the usual chmod 777, alter .htaccess file posts and NONE of that is required. I’ve finally cracked it and confirmed it on a couple of my broken blogs. It’s an EASY fix! In your blog go to Settings > Media and if it shows Store Uploads in this folder line then the path specified is wrong causing the error. Underneath it will also show ‘Default is wp-content/uploads’. So just change that line to be wp-content/uploads and Save and then your plugin, image or theme upload issue will be fixed.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Unable to create directory.’ is closed to new replies.