Posted on April 3rd, 2008 by Dave in Technology, Tutorials.
Tags: , ,

As I was creating my previous post, I went to upload the preview for my screenshot. Normally, this would go without a hitch except for the awkward changing of the hyperlink after the upload to the location of my screenshot in PV:Gallery. However, the new Wordpress 2.5 apparently has a new system. The control for uploading media is in the form of a pretty sweet Thickbox modal window and is much more AJAX driven than the old one. However, when uploading the preview image, I hit a brick wall. I was given an error as WP processed the upload that “An error occurred in the upload. Please try again later.”

Trying again later, I was given the same error.

Fortunately, I found a great fix for this small bug. All that it requires is editing the .htaccess file in the Wordpress root folder by adding the following code snippet to the beginning of the file:

SecFilterEngine Off

SecFilterScanPOST Off

After reuploading the .htaccess file, the upload worked like a breeze. Even better, this new interface makes it much easier to change where the image is linked to.

Source: Honkiat

One Response to “Fix for Wordpress 2.5 Upload Error”

 Yako
April 13th, 2008 2:48 pm

Hi! I’m a blogger from Spain. I arrive to your website (congratulations, it’s so good!) searching some themes for wordpress. I think your theme is absolutely fresh and elegant, I’d like to use it for the next upgrade of my site if is possible. I have read your page about Haiku but it seems to be out of date. Are you going to release a new version of Haiku for the Wordpress 2.5? Could you inform me about when should it be available? Thank you very much and regards from Spain.

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>