Dear All,
I have created a course and logged in as Administrator. I visit the course page and then select "Teacher". Once I select Teacher, I am able to access the Learning Object Management page. From the "Course Objects" Tab, I click the "New Learning Object", I am given a list of options. I select "SCORM" and click on the "New" button. I browse and then select the .zip SCORM file. When I click on "Upload SCORM Package" I am taken to a blank web page with the link in the address showing the following link:
https://tejovathi.com/forma/appLms/inde ... op=insitem
I am unable to understand how to upload the SCORM package. All my SCORM packages are smaller than 8MB.
Any assistance or solutions will be greatly appreciated.
Thanks and regards,
Sri
Unable to upload SCORM Package
Re: Unable to upload SCORM Package
Hello and welcome on board
there should be no problem at all in uploading scorm packages, and what you are doing is exactly what is needed.
Have you tried uploading simple files? do they upload? (new LO - > file > new > browse > etc...).
There's a lot of discussions on this forum concerning uploading files.
Package dimension: the 8mb limit is not dependent on the LMS. It's a setting in your server, also this is well documented in the forum.
there should be no problem at all in uploading scorm packages, and what you are doing is exactly what is needed.
Have you tried uploading simple files? do they upload? (new LO - > file > new > browse > etc...).
There's a lot of discussions on this forum concerning uploading files.
Package dimension: the 8mb limit is not dependent on the LMS. It's a setting in your server, also this is well documented in the forum.
---------------------
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
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
Re: Unable to upload SCORM Package
Dear Max,
Thanks for your reply.
My php setting for upload_max_filesize is set to 100M, yet the maximum filesize for upload is showing in Forma as 8Mb. Btw, I am using nginx with php-fpm and not Apache webserver.
I am having issues even uploading a small PDF file. No error, just a blank screen.
Thanks and regards,
Sri
Thanks for your reply.
My php setting for upload_max_filesize is set to 100M, yet the maximum filesize for upload is showing in Forma as 8Mb. Btw, I am using nginx with php-fpm and not Apache webserver.
I am having issues even uploading a small PDF file. No error, just a blank screen.
Thanks and regards,
Sri
Re: Unable to upload SCORM Package
Activate debug in config.php and post the last error (the fatal one).
Per supporto GRATUITO contattatemi in privato qui
Re: Unable to upload SCORM Package
The below error is what is displayed when I try to uipload the SCORM package:
Fatal error: Uncaught ArgumentCountError: Too few arguments to function sl_upload(), 2 passed in /usr/share/nginx/html/forma/appLms/modules/scorm/scorm.php on line 90 and exactly 3 expected in /usr/share/nginx/html/forma/lib/lib.upload.php:74 Stack trace: #0 /usr/share/nginx/html/forma/appLms/modules/scorm/scorm.php(90): sl_upload('/tmp/phpHREdos', '/appLms/scorm/1...') #1 /usr/share/nginx/html/forma/appLms/modules/scorm/scorm.php(449): insitem() #2 /usr/share/nginx/html/forma/appLms/class.module/class.scorm.php(24): include('/usr/share/ngin...') #3 /usr/share/nginx/html/forma/appCore/index.php(80): Module_Scorm->loadBody() #4 {main} thrown in /usr/share/nginx/html/forma/lib/lib.upload.php on line 74
Any assistance will be greatly appreciated.
Thanks and regards,
Sridhar Raamalingam
Fatal error: Uncaught ArgumentCountError: Too few arguments to function sl_upload(), 2 passed in /usr/share/nginx/html/forma/appLms/modules/scorm/scorm.php on line 90 and exactly 3 expected in /usr/share/nginx/html/forma/lib/lib.upload.php:74 Stack trace: #0 /usr/share/nginx/html/forma/appLms/modules/scorm/scorm.php(90): sl_upload('/tmp/phpHREdos', '/appLms/scorm/1...') #1 /usr/share/nginx/html/forma/appLms/modules/scorm/scorm.php(449): insitem() #2 /usr/share/nginx/html/forma/appLms/class.module/class.scorm.php(24): include('/usr/share/ngin...') #3 /usr/share/nginx/html/forma/appCore/index.php(80): Module_Scorm->loadBody() #4 {main} thrown in /usr/share/nginx/html/forma/lib/lib.upload.php on line 74
Any assistance will be greatly appreciated.
Thanks and regards,
Sridhar Raamalingam
Re: Unable to upload SCORM Package
What is your forma version?
Per supporto GRATUITO contattatemi in privato qui
Re: Unable to upload SCORM Package
Dear Alfa24,
I am using version 2.0
Thanks and regards,
Sridhar Raamalingam
I am using version 2.0
Thanks and regards,
Sridhar Raamalingam
Re: Unable to upload SCORM Package
in your /lib/lib.upload.php file replace
function sl_upload( $srcFile, $dstFile, $file_ext) {
with
function sl_upload( $srcFile, $dstFile) {
function sl_upload( $srcFile, $dstFile, $file_ext) {
with
function sl_upload( $srcFile, $dstFile) {
Per supporto GRATUITO contattatemi in privato qui
Re: Unable to upload SCORM Package
Dear Alfa24,
Thank you for the solution.
This worked.
Thanks and regards,
Sridhar Raamalingam
Thank you for the solution.
This worked.
Thanks and regards,
Sridhar Raamalingam
Re: Unable to upload SCORM Package
Hi shidar
the error you found is due to the php version. are you using PHP 7.1 or 72 ?
the error you found is due to the php version. are you using PHP 7.1 or 72 ?
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
---------------
---------------
Claudio Anelli
Joint Technologies - Sistemi avanzati per l'information technology
http://www.joint-tech.com
---------------