HTTP error when uploading images to Wordpress

Category: Wordpress

mace07
Asked:
2013-08-28 6:24 pm EST

Hits: 2,798
I have a client site running Wordpress 3.6. For the last two weeks, when uploading certain jpg and pdf files via the media uploader, they have received a non-descript HTTP ERROR message and the files have not uploaded.

I've seen previous posts (http://www.inmotionhosting.com/support/community-support/wordpress/receiving-http-error-messages-when-uploading-media-on-wordpress) about this being the result of a security rule. I'm using a VPS - can you provide assistance or guidance in how to resolve this issue?

You must login before you can ask a follow up question.

You must login before you can submit an answer.

OTHER ANSWERS

0

Arn
Staff
18,399 Points
2013-08-28 6:57 pm EST
Hello Mace07,

I'm sorry to hear about the problem you're having with Wordpress. The mod security rules changes are a possibility, but I need to know the account URL you're referring to so that I can isolate the issue. There is a possibility it could be something else. Check out this post in the WordPress forums with the same type of error: Wordpress.org Forums - Media Upload broken. In order for us to investigate the issue, we would need a more specific URL, please. There are quite a few Wordpress sites running on our servers, and this particular problem has not been a major issue, so it is possible that it's Wordpress-related.

Also, though it is not recommended, you can go into the cPanel and disable the Mod security - at least temporarily to see if it would affect your uploads. Here's the documentation for doing it, if needed: Disable mod security.

I hope this helps to resolve your problem! Please let us know if you still need further assistance. Please provide the information requested and we can investigate further as needed.

Regards,
Arnel C.

You must login before you can post a comment about this answer.

Thanks, Arnel. Account url is c4studios.com
mace07
11 Points
2013-08-29 9:11 am EST
Hello mace07,

It looks like you already have root access to your server, so you should be able to follow my guide on how to find and disable specific Modsecurity rules on your server to discover which rules are getting triggered.

I saw quite a few going on, some blocking legitimate malicious activity from happening. But more than likely one of those is what's triggering your problem as well. I didn't want to just start disabling things without a way to test. But if you are having any issues getting it to work, please give us permission to go in to the server and adjust these settings for you and we'd be glad to.

- Jacob
JacobIMH
9,968 Points
Staff
2013-08-29 1:02 pm EST
Jacob's article below helped me determine the cause. In modsec2.user.conf - changed the secupload directory to /tmp. That did the trick. Thanks.
mace07
11 Points
2013-08-29 2:04 pm EST
Hello mace07,

Awesome glad to hear that you got it resolved now! Thanks for letting us know what worked for you.

- Jacob
JacobIMH
9,968 Points
Staff
2013-08-29 2:25 pm EST
Like this Question?

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!