Error when uploading SCORM

Anything about what happens on the user and teacher side
Post Reply
Gareth
Newbie
Posts: 2
Joined: Wed Dec 19, 2012 12:15 pm

Error when uploading SCORM

Post 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
User avatar
max
FormaLms Guru
Posts: 2735
Joined: Thu Mar 01, 2012 10:41 am
Version: forma.lms 2.4
Contact:

Re: Error when uploading SCORM

Post 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?
---------------------
Massimiliano Ferrari
Elearnit - Elearning e Knowledge Management
https://www.elearnit.net
https://www.linkedin.com/in/massimilianoferrari
m.ferrari[at]elearnit.net
Skype: m_ferrari_it
User avatar
alberto
FormaLms Guru
Posts: 1135
Joined: Fri Mar 02, 2012 9:18 am
Contact:

Re: Error when uploading SCORM

Post 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)
Gareth
Newbie
Posts: 2
Joined: Wed Dec 19, 2012 12:15 pm

Re: Error when uploading SCORM

Post 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?
User avatar
canelli
FormaLms Guru
Posts: 496
Joined: Thu Nov 08, 2012 12:21 pm
Version: forma.lms 2.0
Contact:

Re: Error when uploading SCORM

Post 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
Cercate nel forum le riposte prima di chiedere. Check the forum before posting
---------------
Claudio Anelli
Joint Technologies - Sistemi avanzati per l'information technology

http://www.joint-tech.com
---------------
Post Reply