We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

MIME type error in file upload

How Do I?

Member123's avatar
Member123
1 posts
8 years ago
Member123's avatar Member123

Hello,

I became moderator of the website, which is made by the ExpressionEngine 1.6.9. Now I want to upload a document in .pdf format, but I get the following error: “The file you are attempting to upload has invalid content for its MIME type.”

I spoke with administrators of this website, which says that he doens’t have trouble with that. He try to upload the same .pdf document as I, and he managed to do that.

I try also with different browsers…

Why can’t I upload .pdf documents? Thank you for your help.

       
Derek Jones's avatar
Derek Jones
7,561 posts
8 years ago
Derek Jones's avatar Derek Jones

Sounds like you are in a non-Super Admin member group, in which case file uploads are security screened. Since PDFs are rendered by the browser, they are screened for certain tags and patterns that could be a sign of malicious intent. In ExpressionEngine v1, your site administrator can either add your member id to a xss_clean_member_exception or group id to a xss_clean_member_group_exception config override if they want to whitelist you from those checks.

Side Note: We highly encourage your site administrators to upgrade. Version 1 has not been supported for many years, and in fact v2 is already a legacy product.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.