Scorm feature in Opigno?

francois
Forums
Testing opigno site, and making courses in it, however cannot find where to upload scorm packages (in zip) in the courses I make , on the file slide it just doesn't accept zip files. The scorm modules are installed in Opigno, I find it strange it's inaccessible in the GUI. Edit: Found out searching in the last place I would expect to find a solution: the user manual (page 88) Apparently you have to make a course, then a lesson, an in that again, a question (mixed or quiz) where you will be allowed to place your Scorm file. It's not the most intuitive solution I've seen especially since Scorm files can contain an entire lesson , why not make them available as such and give users the possibility to add them directly under a course (or at least a lesson). Anyway case solved.
James Aparicio

Hi Francois,

Hi Francois,

To upload a scorm package to a course, you first have to create a lesson for this course. Then, add a question that is Scorm Package question type. This content type allows you to upload zip files. Even if your scorm package does not have questions (just slides), the lesson cannot be of type theory (you can only add slides), because the slide content type does not support the scorm package, only the specific scorm question content type does.

 

Best regards 

francois

thanks for your quick

thanks for your quick response James. Let's hope in a future update a theory type lesson can contain Scorm (or even better Tin Can) files.
James Aparicio

Hi francois,

Hi francois,

You may have a point regarding the interface. We could probably find a simpler way for content creators to accomplish this.

But each question (in this case the scorm package) can be reused in 1 or more lessons. Also each lesson itself can be associated to many different courses.

It might not seem at first glance the most intuitive, but it is very flexible. 

Regarding the Tin Can files, we are working on it, as well as H5P compliance. We will have new news regarding this soon. Best regards
ls4680

Importing SCORM ZIP file.

I was given a SCORM ZIP file from a developer (I do not know what software they created it with). #1 I created a lesson (type MIX) #2 Create a new question in the lesson - SCORM Package #3 Uploaded the ZIP I left everything else to the default settings. When I start the lesson I see: Error The website encountered an unexpected error. Please try again later. From Manage Questions when I click on the lesson title the browser asks if I want to SAVE or OPEN index_lms.html If I select OPEN I see: File not found Firefox can’t find the file at /C:/Users/Lloyd/AppData/Local/Temp/lms/blank.html. If I select SAVE and then open the saved file I see the same message: File not found Firefox can’t find the file at /C:/Users/Lloyd/AppData/Local/Temp/lms/blank.html.
James Aparicio

Hi ls4680,

Hi ls4680,

Did you check that the zip file does not have any further subdirectories? The scorm manifest file should be at the root of the zip file.

Best regards

ls4680

Importing Storyline2 SCORM ZIP file.

A developer has sent me a SCORM.ZIP file created with storyline 2. The zip fie 31 files in the root and 7 sub-directories (see full listing below). I have also "flattened" the zip by extracting all of the files and moving them all to one directory and created a new zip file with no sub-directories. When I start the lesson Firefox prompts to Open or Save a file "index_lms.html" LISTING OF ZIP FILE : XMLSchema.dtd adlcp_v1p3.xsd adlnav_v1p3.xsd adlseq_v1p3.xsd common common/anyElement.xsd common/dataTypes.xsd common/elementNames.xsd common/elementTypes.xsd common/rootElement.xsd common/vocabTypes.xsd common/vocabValues.xsd datatypes.dtd extend extend/custom.xsd extend/strict.xsd ims_xml.xsd imscp_v1p1.xsd imsmanifest.xml imsss_v1p0.xsd imsss_v1p0auxresource.xsd imsss_v1p0control.xsd imsss_v1p0delivery.xsd imsss_v1p0limit.xsd imsss_v1p0objective.xsd imsss_v1p0random.xsd imsss_v1p0rollup.xsd imsss_v1p0seqrule.xsd imsss_v1p0util.xsd index_lms.html index_lms_html5.html lms lms/AICCComm.html lms/AICCFunctions.js lms/API.js lms/APIConstants.js lms/blank.html lms/browsersniff.js lms/Configuration.js lms/goodbye.html lms/lms.js lms/LMSAPI.js lms/NONEFunctions.js lms/SCORM2004Functions.js lms/SCORMFunctions.js lms/UtilityFunctions.js lom.xsd lomCustom.xsd lomLoose.xsd lomStrict.xsd meta.xml metadata.xml mobile mobile/6cHzCpnDa5M_80_DX490_DY490_CX230_CY245.jpg mobile/5wUcvuO5eWq_80_DX192_DY192_CX96_CY81.jpg mobile/5vFWwS42Kov_80_P_463_0_950_1365_DX1056_DY1056_CX245_CY352.png mobile/video_6SxYpoeU2RN_22_48_320x240.jpg mobile/6RiuNI8WlfM_80_DX722_DY722_CX361_CY240.jpg mobile/fonts.js mobile/5mDhe7kPRkf.jpg mobile/Slide5axX0VImnkN.jpg mobile/player.css mobile/player_compiled.js mobile/data.js mobile/masks.js mobile/slides mobile/slides/6ZAYScUqnOe.js mobile/slides/5hk7V9o1jku.js mobile/slides/6De3IHmKqMm.js story.html story.swf story_content story_content/thumbnail.jpg story_content/6Qd9TKZmMFL_22050_48.mp3 story_content/6cHzCpnDa5M_80_DX490_DY490.jpg story_content/5wUcvuO5eWq_80_DX192_DY192.jpg story_content/Slide5axX0VImnkN.swf story_content/5vFWwS42Kov_80_P_463_0_950_1365_DX1056_DY1056.swf story_content/6cyZZvp7pYw_22050_48.mp3 story_content/video_6SxYpoeU2RN_22_48_320x240.mp4 story_content/6RiuNI8WlfM_80_DX722_DY722.jpg story_content/6f8m8HurDkb_22050_48.mp3 story_content/FontFactory.swf story_content/fonts.swf story_content/frame.xml story_content/frame.js story_content/user.js story_content/frame.swf story_content/data.swf story_content/blank.html story_content/story.js story_content/notes story_content/notes/Note5ubXbN2mFat.6ZAYScUqnOe.swf story_content/notes/Note5ubXbN2mFat.6De3IHmKqMm.swf story_content/notes/Note5ubXbN2mFat.5hk7V9o1jku.swf story_content/slides story_content/slides/6ZAYScUqnOe.swf story_content/slides/5hk7V9o1jku.swf story_content/slides/6De3IHmKqMm.swf story_html5.html story_unsupported.html unique unique/loose.xsd unique/strict.xsd vocab vocab/custom.xsd vocab/loose.xsd vocab/strict.xsd xml.xsd
ls4680

Unable to use SCORM file

I have now created a new site with a fresh install of opigno_lms-7.x-1.25-core.tar.gz I created a new Course, Course Tools = Lessons, Files, Quiz import I created a new Lesson in the course = Lesson Type Mix I created a new Question in the Lesson = SCORM Package Uploaded the SCORM ZIP file: When starting the lesson FireFox browser asks me to Open or Save index_lms.html I also download a sample SCORM ZIP file from https://helpcenter.elearningforce.com/hc/en-us/articles/208271729-Sample-SCORM-files- and the result is the same; browser asks me to open or Save index_lms.html. There are no messages in the Drupal log file. In the Apache Log file I see access to: /node/4/take and /opigno-scorm/ui/player/sco/1. There are no error messages
ls4680

Unable to use SCORM file

I have tried to import SCORM ZIP files created from another source. The options are to create SCORM 1.2 compliant course as either HTML5 or Flash. I have tried both settings. After uploading the SCORM ZIP file and then trying to start the lesson, the browser still tries to open/save an HTML file rather than playing the lesson. I have tried this in a fresh install of opigno_lms-7.x-1.25-core.tar.gz Do you have a checklist so that I can verify the admin settings in the Opigno install? Do you have a sample SCORM.ZIP file that you know woks with this version so I can verify my install?
James Aparicio

Hi ls4680,

Hi ls4680,

That is strange, i have tested the files you have sent me and it worked.

Do you have any custom .htaccess configuration forcing the download?

Best regards

ls4680

Unable to use SCORM file

I was hoping you were on to something. For most sites I use options +SymLinksIfOwnerMatch (don’t remember why I starting this now). I have removed this from the apache config for this site. In the apache config for this site: ServerName scorm.socalvoa.org DocumentRoot /home/scvoa/domains/scorm.socalvoa.org/public_html ErrorLog /home/scvoa/domains/logs/scorm.socalvoa.org_error.log CustomLog /home/scvoa/domains/logs/scorm.socalvoa.org_access.log combined DirectoryIndex index.html index.htm index.php allow from all AllowOverride All I am now using an unmodified version of .htaccess file supplied with the Opigmo download. I tried another fresh install from opigno_lms-7.x-1.25-core.tar.gz The results are still the same. When viewing a lesson with a SCORM upload Firefox window “Opening index.html”. See screenshot at scorm.socalvoa.org/sites/default/files/SCORM.jpg After uploading the SCORM ZIP I find the story.swf in /sites/default/files/opigno_scorm_extracted/scorm_48/ and the server plays the file directly by entering the URL in a browser
James Aparicio

Did you restart apache?

Did you restart apache?

Maybe there is some caching going on. I really think the htaccess should be the issue.

Best regards

ls4680

Unable to use SCORM file

Just to be safe I did not do apachectl restart, I did a apachectl stop and then apachectl start. I also created a new website URL to make sure my browser was not caching from the previous URL. I have also tried google chrome, it also downloads index.html when starting the lesson. When accessing the lesson the apache log file reports: GET /node/4/take GET /opigno-scorm/ui/player/sco/1
axel

Hi

Hi

can you check in your Apache confit or virtual host config that you have a line with:

DirectoryIndex index.html index.php

best regards

ls4680

Unable to use SCORM file

Server version: Apache/2.2.31 I have approx 200 drupal sites on this server. Main apache config has: DirectoryIndex index.html index.php Inside the VirualHost section for the site: DirectoryIndex index.html index.htm index.php The .htaccess in the document root has: DirectoryIndex index.php index.html index.htm The .htaccess in /sites/default/files does NOT have a DirectoryIndex statement
ls4680

Unable to use SCORM file

Could it be a problem with PHP version or PHP Extensions? I am running PHP Version 5.5.38 What version and extensions are required?
ls4680

SCORM lessons do not play

I still have been unable to use any SCORM file. I have built a new server just for development and solving this problem: Intel XEON PROCESSOR E5-1650V4, 12 Core, 3.6GHZ RAM 96GB ALL software is a fresh install with latest versions: FreeBSD 11.1 apache24-2.4.27 mod_php56-5.6.31 mysql57-server-5.7.19_1 php56-5.6.31 Install profile Opigno LMS (opigno_lms-7.x-1.26) This problem is reproducible, I have been unable to use ANY SCORM file from ANY source. From another post in the forum I found another user that downloaded a SCORM package that supposedly worked. I downloaded https://scorm.com/wp-content/assets/golf_examples/PIFS/RuntimeBasicCalls_SCORM20043rdEdition.zip When accessing a lesson created with the SCORM file above, in the Drupal log I get: TYPE PHP / Severity notice Notice: Undefined index: triggering_element in quiz_questions_form() (line 820 of /public_html/profiles/opigno_lms/modules/contrib/quiz/quiz.admin.inc). Notice: Undefined index: triggering_element in quiz_questions_form() (line 823 of /public_html/profiles/opigno_lms/modules/contrib/quiz/quiz.admin.inc). When starting the lesson with a question created with the above SCORM file the brower displays a pop-up window: Opening launchpage.html You have chosen to open: launchpage.html which is: Firefox HTML Document (11.7 KB) I have also tired Google Chrome and Internet Explorer and get similar results. I have the ability to configure the server and software in any way, I just need to know what needs to be changed to get SCORM to function as documented.
axel

Hello

Hello

What mention from logs are notices, this cannot be the reason for the problem

You should post the errors, if you have errors.

You should first make sure that the scorm packages you are using are valid, and according to format 1.2 or 2004

If your server asks to open html files then I suspect a configuration issue with Apache

ls4680

SRORM and Apache Config

Opigno and ALL other Drupal sites on my servers work correctly. What Apache settings are required for Opigno and SCORM? I am full access to the root of all servers so I can try any settings. I just do not know what specifically is required for Opigno + SCORM. There are no errors in the Apache log, only the Apache access log: 192.168.2.50 - - [05/Sep/2017:15:09:59 -0700] "GET /?q=node/12/take HTTP/1.1" 200 23437 "/?q=node/12/take" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:55.0) Gecko/20100101 Firefox/55.0" 192.168.2.50 - - [05/Sep/2017:15:10:00 -0700] "GET /?q=opigno-scorm/ui/player/sco/30 HTTP/1.1" 302 - "/?q=node/12/take" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:55.0) Gecko/20100101 Firefox/55.0"
axel

You should read our user

You should read our user manual to find the required Apache settings

From what I see from your log, you do not have clean urls, you should enable mod_rewrite in Apache. 

ls4680

SCORM does not function as documented.....

I already had clean urls and mod_rewrite enabled on my production servers. My development server was a fresh install and now has all of the recommended Apache settings. I have even tried doubling all recommended Apache and PHP settings. The result is the same: When starting the lesson the brower displays a pop-up window: Opening launchpage.html You have chosen to open: launchpage.html which is: Firefox HTML Document (11.7 KB) There are no messages in the Drual Log. There are no erors in the Apache logs: 192.168.2.50 - - [06/Sep/2017:10:10:30 -0700] "GET /node/12/take HTTP/1.1" 200 23330 "/node/12/take" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:55.0) Gecko/20100101 Firefox/55.0" 192.168.2.50 - - [06/Sep/2017:10:10:31 -0700] "GET /opigno-scorm/ui/player/sco/30 HTTP/1.1" 302 - "/node/12/take" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:55.0) Gecko/20100101 Firefox/55.0"
axel

Hi

Hi

if you want to make sure that your installation is correct I suggest that you order a cloud Opigno instance on our website, then try to upload your SCORM packages

if they are working correctly then it means that the issue is on your server

let us know the result 

ls46801

Apache / PHP versions

I have uploaded one of my SCORM files to an Opigno Cloud site and it is working. I am currently comparing the output of admin/reports/status/php from my server and the Opigno Cloud server and I have found many differences. I am still working on making sure both servers have the same software/settings. I will post an update with my findings when I am done. When accessing sfvvoa.myopigno.org admin/reports/status I get access denied. Can this be enabled so I can also compare this report with my server?
axel

Some features (like the

Some features (like the status report interface) are disabled on the cloud instances for security reasons.

We cannot enable them.

I'm therefore not sure it would give you the solution. I am rather thinking of a Apache config (that is not listed in status report) or a permission.

ls4680

Apache requirements for Opigno

Yes, I have been thinking that it is probably an Apache config, the problem is that I cannot find documentation on exactly what Apache configs that Opigno requires for SCORM to work. On my development server I an running: Server version: Apache/2.4.27 (FreeBSD)
Server built: unknown Server's Module Magic Number: 20120211:68 Server loaded: APR 1.6.2, APR-UTIL 1.6.0 Compiled using: APR 1.6.2, APR-UTIL 1.6.0 Architecture: 64-bit Server MPM: prefork threaded: no forked: yes (variable process count) Server compiled with.... -D APR_HAS_SENDFILE -D APR_HAS_MMAP -D APR_USE_FLOCK_SERIALIZE -D APR_USE_PTHREAD_SERIALIZE -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT -D APR_HAS_OTHER_CHILD -D AP_HAVE_RELIABLE_PIPED_LOGS -D DYNAMIC_MODULE_LIMIT=256 -D HTTPD_ROOT="/usr/local" -D SUEXEC_BIN="/usr/local/sbin/suexec" -D DEFAULT_PIDLOG="/var/run/httpd.pid" -D DEFAULT_SCOREBOARD="/var/run/apache_runtime_status" -D DEFAULT_ERRORLOG="/var/log/httpd-error.log" -D AP_TYPES_CONFIG_FILE="etc/apache24/mime.types" -D SERVER_CONFIG_FILE="etc/apache24/httpd.conf" On my development server I am loading just about every Apache module available. I have also been comparing phpinfo from the 2 systems ( my development server and myopigno clould) looking for differences that might indicate the cause of the problem. Tomorrow I will have a 2nd development server available and I will be trying Apache 2.2 to see if Apache 2.4 is the problem. If you have any specific Apache/PHP configs that are required (what are you using on your servers) please let me know so I can duplicate the configs on my servers. The SCORM lesson does play if I manually enter a direct link: /sites/default/files/opigno_scorm_extracted/scorm_46/story.html but I still get the error if I clink on the SCORM question in the lesson
axel

Hi

Hi

Do you have such a line in your virtualhost config file or in http.conf?

DirectoryIndex index.html index.php

ls4680

Directory Index

Of course. All Drupal and Opigno sites work correctly on my servers. I am hosting 100s of Drupal sites. It is only the SCORM uploads that will not play when viewing the SCORM question.
ls4680

Opigno requirements for SCORM SOLVED

Using a development system loaded from scratch I was finally able to get SCORM uploads working in Opigno. I tried many things until it is now finally working. Because of the number of changes I have made I can not be sure of the exact combination of things to make SCORM work in Opigno, the last thing that I tried so it is now working is that I loaded php56-sysvsem and php56-sysvshm. These are displayed in phpinfo after all other modules in a section "Additional Modules". SCORM now works as documented with these PHP5.6 modules.
axel

Nice !

Nice !

Thanks for the feedback !

ls4680

Opigno requirements for SCORM SOLVED UPDATED

I did further testing and I believe that the minimum PHP modules to load on the server so Opigno + SCORM will function properly are: mod_php56 php56 php56-bz2 php56-ctype php56-curl php56-dom php56-exif php56-fileinfo php56-filter php56-gd php56-hash php56-json php56-mbstring php56-mysql php56-mysqli php56-openssl php56-pdo php56-pdo_mysql php56-phar php56-session php56-simplexml php56-sysvsem php56-sysvshm php56-xml php56-zip Everything in Opigno functioned perfectly except SCORM until I loaded: php56-sysvsem php56-sysvshm SCORM works as documented after loading these PHP modules. These are displayed in phpinfo after all other modules in the section "Additional Modules".
VipinINS

SCORM Package upload option is not showing

I have installed opigno_lms-7.x-1.7-core.zip, create course and lesson but scorm upload option is not display. Please help.
Adan

SCORM and scores

I need to pass the Scorm quiz score to my Opigno training. Is that possible? Can anyone provide a SCORM file for testing if possible? I have opigno 8.x-1.0-rc2
James Aparicio

Hi Adan,

Hi Adan,

 

Ofc, Opigno does that automatically. You just need to add the scorm package in an activity and add the activity to a module.

 

Best regards

Adan

SCORM and scores

Hello James, In fact it does that!. I can confirm that my Scorm package was not properly configured in Articulate to send out the scores into Opigno. Thank you for the response!