Hi everyone,I’m currently facing an issue with the
File Upload question type in LimeSurvey and would really appreciate some guidance.
Environment:
- LimeSurvey Community Edition: 6.16.13+260316
- Server: Own hosting
- PHP: Standard setup (fileinfo enabled, no custom magic settings)
What I’m trying to do:
Allow users (especially iPhone users) to upload recorded audio files.
Problem:
Initially,
files were rejected due to the extension not being allowed. After adding
as an allowed file type, I now get this error:
“Sorry, unable to check extension of this file type audio/x-m4a.”
Observations:
- iPhone recordings are uploaded as
but with MIME type
- Running the
command on the server correctly identifies the file as:
ISO Media, Apple iTunes ALAC/AAC-LC (.M4A) Audio
- My
does not include a
setting
- PHP seems to detect MIME types normally in other cases
From what I’ve read, LimeSurvey can sometimes fail if the MIME type is not recognized properly or not included in its validation list . I also noticed similar errors reported when MIME detection fails or is unsupported .
Questions:
- Is
officially supported in recent LimeSurvey versions?
- Do I need to manually extend the MIME type mapping somewhere (PHP, server, or LimeSurvey config)?
- Would updating or replacing the
/ fileinfo database help in this case?
- Is there a recommended workaround for iOS uploads specifically?
Any suggestions or pointers would be really helpful.Thanks in advance!