I can’t upload images since upgrading to WordPress 2.5

When Michie alerted me to her problem with uploading images within the newly upgraded WP 2.5 admin panel, I went investigating.

After taking a look at the first, likeliest culprits (checking to be sure the ‘uploads’ folder existed and had the correct permissions) showed no signs of solution, I turned to the WordPress support forums for possible solutions, and found one right off the bat! (hey, I’d be lost at time without the WP support forums, but finding the right solution on the first search / without trying a zillion unrelated solutions first, is something to cheer about: YAY!)

Referring to this WordPress.org support forum article, which references this solution post by Phil, if you’re getting a error messages like this:

http error…crunching…An error occurred in the upload. Please try again later.

Possible Solution:

Try adding the following lines to your .htaccess file that resides in the root directory where you have your WordPress installed:

<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>

You can leave a response, or pingback from your own site by linking to this article.

3 Responses to “I can’t upload images since upgrading to WordPress 2.5”

  1. eman says:

    there is something wrong with this code, it ruined the dashboard .

Leave a Reply




Pingbacks

Erin Bruce
Cassie Bruce