This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

HTTP-error when uploading pdf file in media of wordpress website

  • 2 replies
  • 2 have this problem
  • 15 views
  • Last reply by cor-el

more options

When i upload a pdf file into media in a wordpress website "http-error" is showing and it's not uploaded. I uploaded the file using chrome, no problem.

When i upload a pdf file into media in a wordpress website "http-error" is showing and it's not uploaded. I uploaded the file using chrome, no problem.

All Replies (2)

more options

Is there any more detail about the error?

If it's something like "unsupported type" and it lists some type other than "application/pdf", the problem might be due to an erroneous entry in one of Firefox's settings files. Since the file is difficult to edit, we generally suggest renaming it and letting Firefox start a new one. Here's how:

Open your current Firefox settings (AKA Firefox profile) folder using either

  • "3-bar" menu button > "?" button > Troubleshooting Information
  • (menu bar) Help > Troubleshooting Information
  • type or paste about:support in the address bar and press Enter

In the first table on the page, click the "Show Folder" button. This should launch a new window listing various files and folders in Windows Explorer.

Leaving that window open, switch back to Firefox and Exit, either:

  • "3-bar" menu button > "power" button
  • (menu bar) File > Exit

Pause while Firefox finishes its cleanup, then rename mimeTypes.rdf to something like mimeTypes.old (in case you need to recover it later).

Start Firefox back up again, and try the upload.

You may also need to return to the Application options to select your preferred viewer for PDFs and your preferred handler for email links, if relevant:

Success?

(Old thread on this: https://support.mozilla.org/questions/1002615)

more options

It is possible that Anti-Virus software is causing problems. Try to disable Anti-Virus software temporarily to see if that makes a difference.