HTTP-error when uploading pdf file in media of wordpress website
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)
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)
It is possible that Anti-Virus software is causing problems. Try to disable Anti-Virus software temporarily to see if that makes a difference.