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% [?]
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 pmI 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
--April 21, 2008 @ 12:11 amstill the same message. I’m on a Mac in 10.5 safari and FF
Help please
Thanks.
Excellent post. *stumbles*
--April 28, 2008 @ 9:22 am