為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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

  • 2 回覆
  • 2 有這個問題
  • 15 次檢視
  • 最近回覆由 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.

所有回覆 (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.