× Please submit new Bug Reports on GitHub: github.com/Jensen-Technologies/component-creator-issues/issues

Save failed with error: filetype is not allowed

9 years 7 months ago #782 by dimitris
Hi,

i created a component with a file field. I have added the code so that to upload the file and it uploads the file to the directory that i want.
But when i add a new record and click save, although it uploads the file i get the following error:
Save failed with the following error: This filetype is not allowed

Any suggestions?

Please Log in or Create an account to join the conversation.

9 years 7 months ago #803 by RIP Graphics
Replied by RIP Graphics on topic Save failed with error: filetype is not allowed
Try adding MIME types allowed as below

MIME types allowed: image/jpeg,image/png,image/gif

Or other MIME Type as needed. You may find a list of MIME types here www.freeformatter.com/mime-types-list.html#mime-types-list or www.feedforall.com/mime-types.htm

I hope this helps

Please Log in or Create an account to join the conversation.

Time to create page: 0.045 seconds
Powered by Kunena Forum

We use cookies so that you can place orders and we can provide a better service. You can control the use of cookies at the individual browser level. If you reject cookies, you may still use our website, but your ability to use some features or areas of our website may be limited.