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

Mehr
8 Monate 2 Wochen her #171025 von jcosta
COM_KUNENA_MESSAGE_CREATED_NEW
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

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

LimeSurvey Partners
Mehr
8 Monate 2 Wochen her #171066 von LouisGac
COM_KUNENA_MESSAGE_REPLIED_NEW
could you please attach here the image you're trying to upload?

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
8 Monate 2 Wochen her #171068 von jcosta
COM_KUNENA_MESSAGE_REPLIED_NEW
Hi,

One of the files. Thank you
Anhang:

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
8 Monate 2 Wochen her #171070 von LouisGac
COM_KUNENA_MESSAGE_REPLIED_NEW
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

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
8 Monate 2 Wochen her #171072 von jcosta
COM_KUNENA_MESSAGE_REPLIED_NEW
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.
Anhang:

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
8 Monate 2 Wochen her #171075 von LouisGac
COM_KUNENA_MESSAGE_REPLIED_NEW
this bug has been fixed a while ago, just update to the latest version.

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
8 Monate 2 Wochen her #171078 von jcosta
COM_KUNENA_MESSAGE_REPLIED_NEW
My Version is 3.13.2+180709, is there a new one?

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
8 Monate 2 Wochen her #171081 von LouisGac
COM_KUNENA_MESSAGE_REPLIED_NEW
no you're up to date and I can reproduce here.
Sorry, I thought this bug was fixed.

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
8 Monate 2 Wochen her #171085 von jcosta
COM_KUNENA_MESSAGE_REPLIED_NEW
What can I do?

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
8 Monate 2 Wochen her #171086 von LouisGac
COM_KUNENA_MESSAGE_REPLIED_NEW
wait for the fix in next release.

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
8 Monate 2 Wochen her #171088 von jcosta
COM_KUNENA_MESSAGE_REPLIED_NEW
thank you.
can you indicate a date of release?

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
8 Monate 2 Wochen her #171089 von LouisGac
COM_KUNENA_MESSAGE_REPLIED_NEW
most probably next week.
but it's just the preview which is broken: nothing critical.

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
6 Monate 2 Wochen her #173526 von Mazi
COM_KUNENA_MESSAGE_REPLIED_NEW
Louis, is this issue already fixed?

Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com
Want to use your survey offline -> www.offlinesurveys.com

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
6 Monate 4 Stunden her - 6 Monate 4 Stunden her #174510 von combitz
COM_KUNENA_MESSAGE_REPLIED_NEW
Sorry to jump in on this thread but I'm running Version 3.14.10+180924 on php 7.2.10 on iis via fastcgi.

I get the same file not supported error and no error in the php logging. No file gets uploaded :(

I've tried two very simple small jpg and png files e.g. <4KB

php.ini has full errors on and displayed in debug but I just keep getting this default error.

Any advise appreciated

Thanks
Last edit: 6 Monate 4 Stunden her by combitz.

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
5 Monate 3 Wochen her #174555 von combitz
COM_KUNENA_MESSAGE_REPLIED_NEW
Update on this to clarify:

I get the error when using the "theme options" on the page /index.php?r=admin/themeoptions/sa/update&id=1

When extending a theme or editing one I can upload a file and then add it to the theme in edit as it appears in the drop down. (no preview which is not really required for functionality).

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Jetzt loslegen!

Melden Sie sich jetzt an, und erstellen Sie in wenigen Minuten Ihre erste Umfrage.

Account einrichten

Abonnieren Sie unseren Newsletter

Abonnieren Sie unseren Newsletter für alle Neuigkeiten rund um LimeSurvey
captcha