#8778 closed defect (bug) (invalid)
Can post text but no images
Reported by: | twop | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 2.7 |
Component: | Import | Keywords: | image error unable to creat directory writable by server? |
Focuses: | Cc: |
Description
I have been using wordpress with no problems. About 1 month ago I tried to make a post and it works fine until I try to upload a photo. When I try to upload it I get this message:
Unable to create directory /home/twop/public_html/blog/wp-content/uploads/2009/01. Is its parent directory writable by the server?
I have searched all over the forums and online and all I find is everyone suggesting the same thing of changing the permissions. I have tried this and it doesn't work. I just upgraded to the most recent version of wordpress today to see if that would help but the problem persists.
Change History (2)
#2
@
15 years ago
UPDATE:
I was playing with some of the settings that weren't mentioned in any of the posts I found on the forums and was able to fix the problem. When logged into Wordpress dashboard(wp-admin url page) I went to settings>miscellaneous. I changed 'Store uploads in this folder' to 'wp-content/uploads' (mine was this by default but I made sure it was this since I read it could cause this problem if it wasn't this), then I unchecked the 'Organize my uploads into month- and year-based folders' box. Unchecking this box and saving the changes is what solved my problem.
[Please note, Support questions are for the support forums, not the bug tracking trac]
Changing the permissions on the folder are what you need to do.
If changing the permissions do not work, Then its a server configuration which WordPress cannot work with.
chmod /uploads/ /uploads/2009/ and /uploads/2009/01 to 0777 and try again, create /2009/ and /2009/01 if they do not exist first.