Wordpress Flash Uploader Fix

thumbThis has been a commonly requested fix, and I know that many people (myself included) have had issues with the Flash Uploader in Wordpress 2.7.  Therefore, I browsed the internet and the Wordpress forums until someone finally posted a fix.  The issue was not with Flash Player as theorized, but instead something with the upgrade.  The Flash Uploader wouldn’t load the “Select Files” button, and therefore all images would have to be uploaded with the Browser Uploader.

Alright, well let’s take a look at the fix.

Okay, this is a pretty quick fix.

  1. Download the Wordpress zip file from Wordpress: http://wordpress.org/latest.zip
  2. Next, extract that zip file to your desktop.
  3. Now, open your FTP client and connect to your server that is hosting Wordpress.
  4. Navigate to /wp-includes/js/
  5. Re-upload /swfupload/ from your desktop (in the same directory) and replace the files currently on your server.
  6. Clear your browser cache.

And you’re done!  Hopefully this helps out the people who are puzzling over it.  If you have a better solution, please let me know, but this is the best solution I’ve been able to find.  Hopefully the Wordpress developers fix this issue in later versions.

Thanks for reading, and happy blogging!

If you enjoyed this post, make sure you subscribe to my RSS feed!
Related Posts

24 Responses to “Wordpress Flash Uploader Fix”

  1. Taylor Gerring Says:

    It seems to me, that the only file missing was /wp-includes/js/swfupload/swfupload.swf

    After I uploaded that file, I just closed and re-opened the “Add image” modal. No clearing of cache necessary!


  2. Brukhar Says:

    Thanks for the feedback Taylor. I just included that step as a precaution, depending on the browser it might keep the previous version in cache. But it might not be truly necessary. :)


  3. TimurAlhimenkov Says:

    I really liked this post. Can I copy?
    Thank you in advance.

    Sincerely, Your Reader.


  4. Brukhar Says:

    Timur, you may, just please link back to the original post. Thanks for asking. :)


  5. Frank Says:

    I can’t believe this worked. After messing around with it for weeks.. this is all that had to be done. Lame.

    Thanks!


  6. Brukhar Says:

    I was annoyed to find it was that simple too, Frank, but at least its solved now!


  7. David Says:

    Doesn’t work for me on 2.7.1…still can’t do batch uploads.


  8. Brukhar Says:

    Yeah, this fix was for an older version. I haven’t had a problem with 2.7.1, can you describe what the problem is with the uploader in detail? I will try to figure out what’s wrong.


  9. David Says:

    Thanks for your speedy reply.

    This is the same error as with earlier versions — in Wordpress, uploading via the Flash Uploader returns an “HTTP Error” and the message “An error occurred in the upload. Please try again later.”

    The Apache logs have 401 return codes, like this:

    httpd-p.cvcbike.org-access-log.2009-03-05-00_00_00:216.240.60.130 – - [04/Mar/2009:18:24:17 -0800] “POST /wp-admin/async-upload.php HTTP/1.1″ 401 401 “-” “Adobe Flash Player 9″

    I’m attempting to upload from a Mac running OS 10.5.6 and Firefox 3.0.6.

    Other posts have mentioned adding lines to the .htaccess file. I’ve tried that but it had no effect.

    Thanks in advance for any clues.


  10. Brukhar Says:

    Hmm…does the Browser Uploader work? The issue with the old versions was that something with the permissions was getting messed up, or something in the old Wordpress Flash uploader didn’t get updated properly. The only two things I could think of would be to reupload that particular folder, or to re-set the permissions on that folder. It could be that your Mac is changing the file permissions without your knowledge.


  11. David Says:

    Yes, Browser Upload works fine. I don’t see any obvious permissions issues on the server side, but just checking: what ownership and permissions should be set?

    thanks


  12. Brukhar Says:

    I’m not sure, I will check when I get home and see what I have set on the server.

    When you upgraded, did you use the Wordpress automatic upgrade or did you manually update?


  13. David Says:

    I did the automatic upgrade.

    Another possibility (or not) is the Flash version. As I mentioned earlier, I’m on a Mac running OS X 10.5.6 and Firefox 3.0.6. I have no idea what Flash version is running (indeed, I don’t even know how to check for Flash version). I don’t recall ever downloading or upgrading Flash from Adobe.

    This browser does run Adblock Plus v.1.0.1, but I do not believe it is the problem. I get the same behavior when I disable Adblock, and also from Safari, which doesn’t run Adblock (and cleared caches on both browsers).


  14. Brukhar Says:

    Try updating Flash to see if that fixes it, but I don’t think it would be the problem. Primarily the fix that I posted above deals with the issue where the “Upload” button does not appear. Since it is giving you Apache log errors, it sounds more like a server-side issues, but I’m just guessing at this point.

    Try these articles, see if they solve it:
    http://wordpress.org/support/topic/164999
    http://thethemeblog.com/wordpress/a-solution-to-http-error-using-wordpress-flash-uploader-problem
    http://www.chewie.co.uk/general/wordpress-image-upload-http-error/

    Hopefully those help!


  15. David Says:

    OK, so updating Flash on the Mac side did not help. Same errors as in my first post above.

    Thanks much for these links. I’ve tried the first two without any luck. I’ve also tried the third one; it does work, but that’s because it installs a plugin *that disables the flash uploader.*

    Defaulting to the browser uploader is fine as a fallback, but I’m trying to debug why flash uploader doesn’t work.

    thanks


  16. Brukhar Says:

    Sorry I could be of more help, David. :(


  17. Jesse Says:

    hi guys… the pesky HTTP error… just happened to me and I figured it out for me at least.

    I had a password set on my domain through htpsswd… I removed that and images upload with the flash normally…

    hope that helps or leads others in the right direction, thanks!


  18. Erik Says:

    Thanks, this fix worked! Just have to upload the files… don’t need to clear the cache.


  19. Greg Says:

    Thanks, this worked for me.


  20. David Says:

    Yup, same here. This is working now; thanks for the tip.

    So it seems that the flash uploader does not function when Apache password protection is enabled.


  21. Aditya Says:

    Thanks, its working! :)


  22. Laura Says:

    Thanks so much! It’s been really annoying to be restricted to uploading one image at a time.

    It works perfectly now.


  23. Brukhar Says:

    You’re welcome everyone!


  24. Trish Says:

    I have a similar problem, though with 2.8.4. The flash uploader isn’t even shown as an option; all I get is the Browser uploader. It’s not a plugin issue; I only have one running and I had this problem before installing it (it’s the Twitter Tools plugin, btw). I don’t get any error messages; flash uploader simply isn’t there. I don’t use Chrome; I don’t use IE (I use Firefox). Any thoughts?


Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>