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

Save failed with error: filetype is not allowed

pred 9 rokmi 6 mesiacmi #782 od 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?

Prosím Prihlásiť alebo Registrácia pre zdieľanie konverzácie.

pred 9 rokmi 6 mesiacmi #803 od RIP Graphics
Odpoveď od RIP Graphics na tému 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

Prosím Prihlásiť alebo Registrácia pre zdieľanie konverzácie.

Čas vytvorenia stránky: 0.046 sekúnd
Funguje na Kunena fórum

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.