Closed sleperf closed 11 years ago
Wich kind of file did you tried to upload ? Is the file uploadable with a form ?
I'm unable to reproduce the issue.
This is a .avi file generated by a screenrecorder. Here is the exact mime type : $ file --mime-type -b accueil.avi video/x-msvideo
Is your file larger than the post_max_size limit from your php.ini ? Mine was 8mb by default and I had a similar error when I tried to upload large files.
You a rigth, I have set the upload_max_filesize to 200M but I have forgotten the post_max_size parameter. I change the value and it is working know.
When you upload an .avi file using the drag&drop feature on the resource, the progress bar stay at 100% and the resource is not uploaded. We have this message on the console : "Uncaught SyntaxError: Unexpected token F" and this one on the Network Tab : Fatal error: Call to a member function getClientMimeType() on a non-object in /var/www/html/Claroline/20130902/Claroline/src/core/Claroline/CoreBundle/Controller/FileController.php on line 73