- Posts: 8
- Thank you received: 0
- English support forums
- Can I do this with LimeSurvey?
- Can I upload bigger than 30 MB file to answer?
Can I upload bigger than 30 MB file to answer?
I have an issue uploading bigger files for answer than usual. In PHP settings (php.ini) I set upload_max_filesize and post_max_size to 90 MB and 100 MB respectively. When creating the question, I set the max filesize to 100 MB.
The CSRF token could not be verified.
The request could not be understood by the server due to malformed syntax.Please do not repeat the request without modifications.
If you think this is a server error, please contact the webmaster.
(found in Inspect Element --> Network when uploading that file)
Could you help me with that?
LimeSurvey project leader
- Posts: 9409
- Karma: 403
- Thank you received: 1616
And more, upload more tha 10M can take a long time, then you need to update max-execution-time too.
c_schmitz wrote: If you upload bogger than 15 MB you reach the limit of upload_max_filesize and post_max_size - and so the file never really arrives and incomplete data arrives causing the error. You will need to set upload_max_filesize and post_max_size higher than 15MB to get a proper error message if you upload a file > 15MB