Solved

Server error while uploading file in Wordpress

Posted on 2009-07-05
3
420 Views
Last Modified: 2012-05-07
While uploading a file in Wordpress 2.8 I got this error:
[Mon Jul 06 07:25:21 2009] [error] [client 193.138.70.59] mod_security: Access denied with code 500. Error processing request body: Multipart: final boundary missing [hostname "sub.domain.net"] [uri "/subdomain/wp-admin/async-upload.php"]
The upload folder is CHMOD 777 so I don't follow
0
Comment
Question by:rhandalthor
  • 3
3 Comments
 

Author Comment

by:rhandalthor
ID: 24782837
I found this:


mod_security: Access denied with code 500. Error processing request body: Multipart: final boundary missing [severity "EMERGENCY"]

This error message from ModSecurity means that the request body was not
properly constructed or something was wrong with the file upload (most
likely that the client timed out and did not fully complete the upload).

Other possible reasons for this -

1) If the end of the final boundary is missing a CRLF
2) If the size specified in the Content-Length header is too small. In
this case, Apache would cut off the end of the file.

Known bugs
If you are using Apache with mod_security this will not work, you need to put the following in your .htaccess file to disable mod_security:

SecFilterEngine Off
SecFilterScanPOST Off

Disabling mod_security isnt allowed on some shared hosts, and only do this if you know what you are doing.

So editing the .htacces is what i will do next

What does "the request body was not properly constructed" mean?
0
 

Author Comment

by:rhandalthor
ID: 24801708
I have asked my ISP, but no answer so far. No answers here yet either. Anybody?
0
 

Accepted Solution

by:
rhandalthor earned 0 total points
ID: 24893683
I turned of mod_security which was not really needed for this website and that fixed it.
SecFilterEngine Off

SecFilterScanPOST Off

Open in new window

0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Hi, in this article I'm going to teach you how to run your own site, and how to let people in (without IP). I'll talk about and explain each step... :) By the way, everything in this Tutorial is completely free and legal. This article is for …
If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
The purpose of this video is to demonstrate how to Test the speed of a WordPress Website. Site Speed is an important metric of a site’s health. Slow site speed can result in viewers leaving your site quickly and not seeing your content. This…
The purpose of this video is to demonstrate how to prevent comment spam on a WordPress Website. This will be demonstrated using a Windows 8 PC. Plugin Akismet will be used. Go to your WordPress login page. This will look like the following: myw…

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now