This file is not a supported image - please only upload JPG,PNG,GIF or SVG type

More
1 week 3 days ago #171025 by jcosta
jcosta created the topic: This file is not a supported image - please only upload JPG,PNG,GIF or SVG type
Hi,

I have a instalation in a windows 2012 R" with IIS, everthing is working fine, but the upload of a image in survey themes its giving this an error:

"This file is not a supported image - please only upload JPG,PNG,GIF or SVG type "

I'm uploanding a JPG.

If I upload with kcfinder the upload works.

Can you help, please?

Thank you

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

More
1 week 2 days ago #171066 by LouisGac
LouisGac replied the topic: This file is not a supported image - please only upload JPG,PNG,GIF or SVG type
could you please attach here the image you're trying to upload?

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

More
1 week 2 days ago #171068 by jcosta
jcosta replied the topic: This file is not a supported image - please only upload JPG,PNG,GIF or SVG type
Hi,

One of the files. Thank you
Attachments:

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

More
1 week 2 days ago #171070 by LouisGac
LouisGac replied the topic: This file is not a supported image - please only upload JPG,PNG,GIF or SVG type
Here, I can import your picture without problem.
So, it's rather a server configuration problem.
We're using the php "FILEINFO_MIME_TYPE".
It's available for PHP > 5.3, so check your PHP version.
stackoverflow.com/questions/5108758/usin...in-windows-php-5-3-5


Here some links that could help you:

stackoverflow.com/questions/7906292/file...me-type-is-undefined
stackoverflow.com/questions/5108758/usin...s-php-5-3-5/21342748
code.i-harness.com/en/q/4df416

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

More
1 week 2 days ago #171072 by jcosta
jcosta replied the topic: This file is not a supported image - please only upload JPG,PNG,GIF or SVG type
Hi,

Thank you, one problem solved :-)

I can upload the image, but editing the theme i can't preview the image, please view attachement.

Thank you.
Attachments:

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

More
1 week 2 days ago #171075 by LouisGac
LouisGac replied the topic: This file is not a supported image - please only upload JPG,PNG,GIF or SVG type
this bug has been fixed a while ago, just update to the latest version.

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

More
1 week 2 days ago #171078 by jcosta
jcosta replied the topic: This file is not a supported image - please only upload JPG,PNG,GIF or SVG type
My Version is 3.13.2+180709, is there a new one?

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

More
1 week 2 days ago #171081 by LouisGac
LouisGac replied the topic: This file is not a supported image - please only upload JPG,PNG,GIF or SVG type
no you're up to date and I can reproduce here.
Sorry, I thought this bug was fixed.

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

More
1 week 2 days ago #171085 by jcosta
jcosta replied the topic: This file is not a supported image - please only upload JPG,PNG,GIF or SVG type
What can I do?

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

More
1 week 2 days ago #171086 by LouisGac
LouisGac replied the topic: This file is not a supported image - please only upload JPG,PNG,GIF or SVG type
wait for the fix in next release.

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

More
1 week 2 days ago #171088 by jcosta
jcosta replied the topic: This file is not a supported image - please only upload JPG,PNG,GIF or SVG type
thank you.
can you indicate a date of release?

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

More
1 week 2 days ago #171089 by LouisGac
LouisGac replied the topic: This file is not a supported image - please only upload JPG,PNG,GIF or SVG type
most probably next week.
but it's just the preview which is broken: nothing critical.

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

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!