The Elearning Community • Error when uploading SCORM
Page 1 of 1

Error when uploading SCORM

Posted: Wed Dec 19, 2012 12:25 pm
by Gareth
I have just installed version 4.0.5 and am running some test. I am unable to upload a SCORM package.

I get the following error:

Fatal error: Call to undefined function mime_content_type() in /home/edevelop/public_html/docebo/lib/lib.upload.php on line 90

Any help would be appreciated

Re: Error when uploading SCORM

Posted: Wed Dec 19, 2012 4:35 pm
by max
Hi Gareth and welcome on board!

do you get that error with only that specific scorm or with all of them?

Considering the text of the error you report, this might also have to do with the configuration of your server. Have you checked if Docebo has all the correct writing permissions?

Re: Error when uploading SCORM

Posted: Wed Dec 19, 2012 4:41 pm
by alberto
Hi Gareth, and welcome onboard :)

Check if you have the "mime_content_type" support on in your php configuration, if not you can ask your provider to turn it on. If you are running your own server you can set it to on modifing the php.ini file in the apache install folder with a text editor:

Code: Select all

         ;extension=php_fileinfo.dll

removing the initial ";"

Code: Select all

    extension=php_fileinfo.dll
then restart apache service (or restart easyphp / xampp or your application)

Re: Error when uploading SCORM

Posted: Wed Dec 19, 2012 5:34 pm
by Gareth
Thank you both for your quick reply.

Max - I get the error with all uploads I try to do, where would I check if Docebo has all the correct writing permissions?

Alberto - Thanks for the information. I don't have my own server I have loaded Docebo on to the server I have with my hosting package. Does this mean I need to contact them to check this or is it something I can check first?

Re: Error when uploading SCORM

Posted: Wed Dec 19, 2012 6:53 pm
by canelli
The error is related with the general upload feature .
You need the fileinfo extension enabled , check your php installation and, if need change , contact your provider .

Permissions:
docebo need write permission on folder "<web-root>/files" and all the descendant tree

This site uses cookies.

Some of the cookies we use are essential for parts of the site to operate and have already been set. We also use Google Analytics scripts, which all use cookies.
You may delete or block all cookies from this site in your browser options.