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

Save failed with error: filetype is not allowed

9 năm 7 tháng trước #782 bởi 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?

Vui lòng Đăng nhập hoặc Tạo tài khoản để tham gia cuộc hội thoại.

9 năm 6 tháng trước #803 bởi 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

Vui lòng Đăng nhập hoặc Tạo tài khoản để tham gia cuộc hội thoại.

Thời gian tải trang: 0.049 giây
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.