Blog

Some Image Uploads Not Working in Wordpress 2.5

I’m doing some testing on the new release (very nice so far, I’ll have a more complete review soon) and realized my images were being corrupted by WP’s new uploader tool. A quick Google search revealed the answer:

Add this to your .htaccess file

<IfModule mod_security.c>
SetEnvIfNoCase Content-Type \
"^multipart/form-data;" "MODSEC_NOPOSTBUFFERING=Do not buffer file uploads"
</IfModule>
<IfModule mod_gzip.c>
mod_gzip_on No
</IfModule>

Worked like a charm, but I’m still unclear why some have this problem and some don’t. Phil Barron goes into more detail.

Popularity: 1% [?]

5 Responses »

  1. Merci said:

    Thanks you for the tip, Darren. I’m just wary of touching the htaccess file anymore ;-) Thanks to the trackback, I’m using the no-flash uploader plugin for now, it’s perfect for me. More power to you!

    --April 4, 2008 @ 5:58 pm
  2. Sage said:

    I have been adding and removing the htacess file all night with everyone’s different code. I still get a Fatal error message.
    Fatal error: Call to undefined function wp_constrain_dimensions() in /home2/newyorka/public_html/wp-admin/includes/image.php on line 173

    I have also removed size constraints in the settings /miscellaneous and allowed full URL
    still the same message. I’m on a Mac in 10.5 safari and FF
    Help please
    Thanks.

    --April 21, 2008 @ 12:11 am
  3. April Summer said:

    Excellent post. *stumbles*

    --April 28, 2008 @ 9:22 am



Trackbacks & Pingbacks

  1. » No Flash Uploader Plugin WPLover ~ Bite-sized WordPress news, and then some.:

    […] the release of 2.5 came the Flash Uploader functionality, which unfortunately cause some problems in people’s […]

    --April 3, 2008 @ 3:49 am
  2. Fullt Hus » Problemer med opplasting av bilder i WP 2.5:

    […] Her er i alle fall den presenterte løsningen: Some Image Uploads Not Working in Wordpress 2.5 […]

    --April 10, 2008 @ 6:53 am


Leave a comment

(required)

(required)



  • rssRSS feed for comments on this post.