Blank Screen When Uploading SCORM

Please report here problems and bugs
Post Reply
dkinney
Newbie
Posts: 2
Joined: Fri Aug 24, 2018 10:07 pm
Version: forma.lms 2.0

Blank Screen When Uploading SCORM

Post by dkinney » Fri Aug 24, 2018 10:10 pm

I am going to a blank screen after pressing the upload button when I'm trying to upload a SCORM. Any insight?

alfa24
FormaLms Expert
Posts: 229
Joined: Fri Nov 24, 2017 8:45 am
Version: forma.lms 1.4.2

Re: Blank Screen When Uploading SCORM

Post by alfa24 » Sat Aug 25, 2018 2:13 pm

Turn on debug in config.php, replicate and post thr fatal error you get.
I'm Jasmines, the One

dkinney
Newbie
Posts: 2
Joined: Fri Aug 24, 2018 10:07 pm
Version: forma.lms 2.0

Re: Blank Screen When Uploading SCORM

Post by dkinney » Tue Aug 28, 2018 12:33 am

Here's the fatal error.

Fatal error: Uncaught Error: Call to undefined function mime_content_type() in /home/multisan/public_html/portal/forma/lib/lib.upload.php:104 Stack trace: #0 /home/multisan/public_html/portal/forma/appLms/modules/scorm/scorm.php(90): sl_upload('/tmp/phpmRfQUf', '/appLms/scorm/1...') #1 /home/multisan/public_html/portal/forma/appLms/modules/scorm/scorm.php(449): insitem() #2 /home/multisan/public_html/portal/forma/appLms/class.module/class.scorm.php(24): include('/home/multisan/...') #3 /home/multisan/public_html/portal/forma/appLms/index.php(104): Module_Scorm->loadBody() #4 {main} thrown in /home/multisan/public_html/portal/forma/lib/lib.upload.php on line 104

alfa24
FormaLms Expert
Posts: 229
Joined: Fri Nov 24, 2017 8:45 am
Version: forma.lms 1.4.2

Re: Blank Screen When Uploading SCORM

Post by alfa24 » Tue Aug 28, 2018 7:51 am

You must have the mime_magic extension on. Check your php.ini and look in phpinfo().

http://php.net/manual/en/function.mime-content-type.php
I'm Jasmines, the One

Post Reply