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

Save failed with error: filetype is not allowed

9 anos 4 meses atrás #782 por 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?

Por favor Acessar ou Registrar para participar da conversa.

9 anos 4 meses atrás #803 por RIP Graphics
Respondido por RIP Graphics no tópico 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

Por favor Acessar ou Registrar para participar da conversa.

Tempo para a criação da página:0.092 segundos
Powered by Fórum 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.