Fixing Wordpress Image Upload Errors

 -  1 Comment

While creating this blog I came across an error whenever trying to upload an image using the Wordpress media uploader. The error indicated that the uploader could not create the directory where the uploaded media would be stored and that I should check the permissions on the parent directory. I checked the permissions and everything seemed to be ok. I searched Google for some help and noticed that many, many other people were experiencing the same issue.

I tried the various fixes suggested by others who were having the same problem. Changing directory permissions didn’t help. Adding settings to the .htaccess file to disable mod_security didn’t help either. I tried several other suggestions without success. I then came across a post that said the path to the upload directory that is specified in the Wordpress settings dashboard *should not* begin with a forward slash. I checked my settings and there was in fact a forward slash at the beginning of the path. I removed it, saved the change, and then was able to successfully upload an image with the uploader.

Seems like a bug to me, but I’m glad I was able to find a workaround.

1 Comment »
  1. [...] I wrote about a problem I had with the Flash-based media uploader that is bundled with WordPress. The fix for the problem wasn’t very obvious, but it was [...]

    Pingback by Flash Player Update Breaks WordPress Media Uploader » Ryan Wentzel Photography - The Blog — November 20, 2008 @ 9:46 pm

RSS feed for comments on this post. TrackBack URL

Leave a comment

Please join in on the discussion. If this is your first time leaving a comment it will be held for moderation until I approve it.