Search
Close
AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

AI Assistant
Notifications
Clear all

[Solved] Unable to use a File type field - File type is not allowed

3 Posts
1 Users
0 Reactions
2,243 Views
Posts: 3
Customer
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@ramon-saldanha)
Member
Joined: 3 years ago
[#10836]

Hello! I'm trying to add a File field to a topic. Settings are like in the picture below:

Sem título

The problem is: when I try to create a new topic, when I hit save two messages appear:

1) An error (red): Download - File type no allowed.

2) A green one: Post saved successfully.

The file I'm trying to use is a .zip file, which is one of the allowed types on my list in the Download field as you can see. File size is very small, within limits.

I've tried adding mime types for these but the error persists. I have no clue how it isn't working. A bug, maybe?


2 Replies
Posts: 3
Customer
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@ramon-saldanha)
Member
Joined: 3 years ago

This clearly seems to be a bug as using attachments works fine for the same file.


Posts: 3
Customer
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@ramon-saldanha)
Member
Joined: 3 years ago

Found a solution.

The problem is .zip files can be application/zip or application/x-zip-compressed. Adding both to the mime types array solves the issue.


Share:
Scroll to top