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

Save failed with error: filetype is not allowed

9 年 6 个月 前 #782 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 登录注册一个帐号 to join the conversation.

9 年 6 个月 前 #803 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 登录注册一个帐号 to join the conversation.

创建页面时间:0.050秒
核心: Kunena 论坛

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.