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