Moodle - When Running in LMS Ignore Flash Cookies

Nov 29, 2013

Folks,

I haven't been able to find a good recent answer to this question in my investigations. I am creating SCORM content using Storyline and am publishing for Moodle.

I have been told conflicting things and would like to know. Should I select "When running in LMS ignore Flash cookies" or deselect it.

I am using Moodle 2.5.2

I've heard that Moodle doesn't have a variable for tracking location within SCORM but I find that hard to believe.

Thank you in advance for any assistance you can offer.

25 Replies
Vaughan Martin

Phil, Michael,

Thank you for your experience. All my courses have that option selected and the resume function is a bit skiddish. Most times it will resume fine but there are many times it starts from the beginning. It may be browser based as I found Chrome doesn't resume while IE 10 Does.

In any case, thanks for your input. I will re-upload and de-select the Flash Cookie Option.

Thanks,

Vaughan Martin

Now I'm experiencing anew issue.

I uploaded one course with the "when running in LMS, ignore Flash Cookie" unchecked.

When I view my SCORM(s) on moodle 2.5.2 it not only doesn't remember my place but all my courses are now loosing their place.

I changes a piece of code:

File location - Moodle/mod/datamodels/scorm_12.js.php

FROM:

CMIString4096 = '^[\\u0000-\\uffff]{0,4096}$';

TO:
CMIString4096 = '^[\\u0000-\\uffff]{0,40960}$';

(added an extra 0 at the end of 40960)

As per a post: https://moodle.org/mod/forum/discuss.php?d=232736

Unfortunately now, none of my courses will resume.....

Vaughan Martin

I got the courses to remember their places again.

I had to logout all users. When logging back in, the courses that had the "Ignore Flash Cookies when in LMS" deselected, started to function properly.

I'm thinking it was a data cashe issue with the code change to lengthen the resume data string...?

Whatever, it works.

Vaughan Martin

Actually, I didn't get it sorted out. I was just lulled into a false sense of success:

 I've been posting on the Moodle forums to see if I can get any assistance but no one is taking up the challenge.

I'm going to post my issue here and update with the solution if I ever find one.

I am really in it now,

I have tried everything I can possibly think of and then some. I've followed a number of leads from the Moodle forums but nothing is working.

My courses (all) have just stopped resuming. I am using Articulate Storyline to publish SCORM units which I place inside Topic section within Moodle 2.5.2

I'm have a 2-fold problem and I can't fix either one of them. First is the REVIEW Mode (not to be confused with Preview mode which is easily disableable). I have changed the passed threshold in the gradebook to 100, disabled completion tracking, changed default course setting to eliminate completion but still the courses go into REVIEW mode. even students that take a second attempt after not completing a first attempt are put into review mode so the unit will never be completed because in review mode the gradebook mark doesn't get updated.

Second is the resume function. All of the sudden yesterday all my courses stopped resuming. No changes that I could remember that would have changed that functionality, especially on all my courses. But at the present time all courses stopped resuming properly.

TO add to the confusion, there are times when a course will resume where it was left off: but it shows in REVIEW mode only, even if the first attempt at the SCORM was not completed.

Grateful for any wisdom or help

Ashley Terwilliger-Pollard

We've got a few community members who are Moodle experts, so hopefully they'll weigh in here as well. I did hear that there was a recent update to Moodle (2.6 I believe) and I'm not certain if that would be impacting your course, but it could be worth looking into. If you think it's an issue with your Storyline file, I'd begin by testing it at SCORM Cloud  and if you're able to replicate the behavior there let us know and share your .story file with us. 

Vaughan Martin

Thanks Ashley,

I just uploaded two of my units to the SCROM cloud. One resumed the other did not. The only difference between them was the one that DIDN'T work had the following DEselected

"Ignore Flash Cookies when running in LMS" 

The second unit had that setpoint selected resumed as expected.

My courses had originally all their units with this setpoint selected, the resume worked fine but would sometimes fail (I'm thinking now it was more due to the REVIEW status in the unit based on completion score within Moodle).

I never really had an understanding of what that setpoint did and so before uploading too many courses, I wanted some opinions. On this forum it was suggested to deselect that setpoint. It was only after uploading a course (3 SCORM Units) with the above setpoint deselected did all the courses destabilize. Why it would destabilize all courses is beyond me. I will change all my files back to ones that have the setpoint selected and report back.

Stefano Posti

Hello there, I'm a little late to help...

just publish the course with the "ignore flash cookie when running in Lms" Selected. that is the correct option to choose.

when  you build your course and add your learning activity in moodle using the SCORM package option, Rember to set FORCE COMPLETION parameter to yes to avoid moodle misbehaviours when tracking or resuming.

Phil was too involved with creative decorating to recall this... Ah ah!

hope it helps,

Stefano

Vaughan Martin

Thanks Stefano,

Do you think that publishing just one or two courses with the "Ignore Flash Cookies when running in LMS" would cause all the SCORM units in all of my Moodle to stop resuming?

That's what I experienced. I uploaded two courses (a total of 7 SCORM units) with that option deselected and all my SCROM units stopped updating? Even the ones that had that option selected.

The only thing I think I can do right now is re-upload all units in all courses, verifying all of them with the Flash Cookies setting selected (like it was originally) in the hopes that all the courses will start behaving correctly again.

Failing that, I may have to rebuild my whole Moodle site because regardless of everything I've done thus far, I cannot get the courses to resume.

Thanks for your help, I still haven't gotten any helpful responses from the Moodle forums, so you guys are my only lifeline. I will update this post once I've re-uploaded and installed all new SCORM units, it's going to take a while.

Vaughan Martin

Well still no luck.

I asked my Moodle Partner for assistance but was told that Moodle doesn't handle SCORM well and I should just live with the issue.

unfortunately, my Moodle doesn't work at all because of this issue. My courses are stuck in Review Mode and no scores get logged so I'm dead in the water. My Moodle Partner is Lambda Solutions of Vancouver, I'll deal with their lackluster service at a later time as I need to get this site running properly.

One thing was pointed out to me on the Moodle Forum - MDL-43222

unfortunately, I don't know how to follow the directions of this error post. I will continue trial and erroring this in the hopes I can get a some success. If anyone in here can offer some assistance with how I may execute the fix detailed in the Bug Report Page linked above please let me know. Failing that I will continue to spin my wheels in hopes I get some tractions.

At least now I know it wasn't me that was causing the problem. Thank you everyone who's helps so far. This is probably on the best run forum I've had the pleasure to be a member of.

Once I solve this I will post back here so there's a record of it. 

Vaughan Martin

Thanks Stefano,

I have tried setting the Force Completion to yes as well as a whole host of other settings. I systematically changed each setting, tried the SCORM, change another setpoint - checked. I did my checks in such a way that I could verify each setpoint in relation to others. Regardless of what I do, what setpoints I change, nothing works. In fact, regardless of the setpoints, it doesn't seem to be responding to any changes I make.

Everytime I take a SCORM (whether as the Admin or a test user) I either get the SCORM starting over in standard mode or starting in review mode (and resuming from where it left off). unfortunately whenever it is in Review Mode scores are not logged so no progress is made.

Nothing I change seems to make any difference. I've asked my Moodle Partner but they refuse to offer any advice or assistance. I am on my own with a broken site.

The sad thing is I just got delivery of this site from my Moodle Partner (Lanbda Solutions)  last month and it has never worked. I have never been able to properly run a SCORM. For the last 2-weeks I thought it was me and my setpoints. However, because I did a systematic analysis of the setpoints, I know it is neither the setpoints nor me, it must be the Moodle Instance I have 2.5.2. (Unless there is some obscure incorrect setpoint somewhere I am not aware of). I am new and very inexperienced with Moodle so everything I do is a learning experience. I don't even know what a proper API log looks like for comparison.

Stefano, you are one of the only folks who's chimed in to assist so I really appreciate your stepping up. My head hurts from being banged against the wall so many times OR I've almost burned all the rubber of my wheels from spinning them so much.

Vaughan Martin

Just as an addition to this, I am attaching a small portion of the API log. AS yu can see the Suspend data line =0. I'm not a programmer but I would think that the Suspend Data when exiting should equal some string of digits depicting the last location within the SCORM.

This is just a small section of the log for a second opening of the SCORM - I went a few slides in and exited.

Fri, 06 Dec 2013 14:29:19 GMT: LMSSetValue("cmi.suspend_data", "1U4q0p0ji1001113a01013011130000pn022lfe720118_default00000") => 0
Fri, 06 Dec 2013 14:29:21 GMT: LMSSetValue("cmi.suspend_data", "1$6p0r0q0on1001213f0101301113012130000pn022lfe720118_default00000") => 0
Fri, 06 Dec 2013 14:29:36 GMT: LMSSetValue("cmi.suspend_data", "2l1cp0t04050r0q0DC1001413u01013011130121301011011110141300100pn022lfe720118_default00000") => 0
Fri, 06 Dec 2013 14:29:37 GMT: LMSSetValue("cmi.core.score.raw", "0") => 0
Fri, 06 Dec 2013 14:29:37 GMT: LMSSetValue("cmi.core.score.max", "100") => 0
Fri, 06 Dec 2013 14:29:37 GMT: LMSSetValue("cmi.core.score.min", "0") => 0
Fri, 06 Dec 2013 14:29:37 GMT: LMSSetValue("cmi.core.session_time", "0000:00:35.73") => 0
Fri, 06 Dec 2013 14:29:39 GMT: Commit("", "") => 0
Fri, 06 Dec 2013 14:29:39 GMT: LMSCommit("AJAXResult", "true") => 0
Fri, 06 Dec 2013 14:29:39 GMT: LMSCommit("result", "true") => 0
Fri, 06 Dec 2013 14:29:39 GMT: LMSCommit("errorCode", "0") => 0
Fri, 06 Dec 2013 14:29:39 GMT: LMSSetValue("cmi.core.session_time", "0000:00:37.94") => 0
Fri, 06 Dec 2013 14:29:39 GMT: LMSSetValue("cmi.core.exit", "suspend") => 0
Fri, 06 Dec 2013 14:29:40 GMT: Commit("", "") => 0
Fri, 06 Dec 2013 14:29:40 GMT: LMSCommit("AJAXResult", "true") => 0
Fri, 06 Dec 2013 14:29:40 GMT: LMSCommit("result", "true") => 0
Fri, 06 Dec 2013 14:29:40 GMT: LMSCommit("errorCode", "0") => 0
Fri, 06 Dec 2013 14:29:40 GMT: LMSFinish("AJAXResult", "true") => 0
Fri, 06 Dec 2013 14:29:40 GMT: LMSFinish("result", "true") => 0
Fri, 06 Dec 2013 14:29:40 GMT: LMSFinish("", "") => 0
As you can see the suspend = 0
AS mentioned, I'm not a programmer but shouldn't that line be populated?
Dan Marsden

Hi Vaughn - really sorry to hear of the dramas with your Moodle Partner and SCORM! Unfortunately SCORM development is a complex area and there are a very limited number of people who have the knowledge or skillset to help debug SCORM code in Moodle. Reading the backlog here it seems you are experiencing the same issues as reported in MDL-43222  (which you found earlier)

I maintain the SCORM module in Moodle as a volunteer but at this time of the year I rarely have capacity to voluntarily contribute development time. It's unlikely I'll be able to look at that particular issue as a volunteer until Feb next year when things settle down a bit.

I work for the certified Moodle Partner Catalyst IT - we have offices in the UK/AU/NZ - if you were able to fund the time for someone to look at this issue feel free to drop me an e-mail and I can provide you details on our rates.

Vaughan Martin

I have answered Dan's post in the Moodle Forum because that's where this text should probably be; however, I've copied my Moodle Forum post here and depending on Dan's answer will post his answer here to. I am developing my SCORM packages via Articulate so I think it's important for Articulate users to know that SCORM doesn't work in Moodle in the current versions.

_______________________________________________________

(original Post in Moodle Forum: https://moodle.org/mod/forum/discuss.php?d=245635#p1065593 )

_______________________________________________________

Dan,

Thanks for responding. Just so I'm clear. SCORM no longer works in Moodle. Can you confirm that it's not just me and my instance of Moodle but all versions of Moodle 2.4 or 2.5 onward till a fix is funded, created and put forth.

My experience with SCORM 1.2 and the SCORM Module in Moodle is that it absolutely doesn't work. With Intermittent and uncontrollable REVIEW MODE (and therefore no grades or completion) and no resumption of activity, the SCORM activity does not work. Or at least it doesn't work as intended and is not a viable option for delivery of content under the situations you'd want SCORM for.

I have been spinning my wheels for weeks on this and the Forums didn't have much helpful information so I continued to spin and spin. If SCORM no longer works in version 2.5 onward (till a fix is completed) then this post will hopefully save other sorry saps like me from wasting time on a broken activity module.

I would also suggest that folks that have older Moodle versions with working SCORM modules, be advised not to upgrade if they rely on SCORM; if indeed my experience is what others can expect with the current version(s) of Moodle.

Dan thanks for your hard work on the SCORM module. If it was presently working, it would be exactly what I need and I'm sure many who use Moodle rely on the SCORM Module. I understand you are a volunteer developer of SCORM and I commend your efforts. Please don't take this post in a negative way as I'm just trying to confirm that my 2.5.2 is not fixable and if this is the new normal, then trying to save others the time and frustration I've been going through and continue to go through as I try to figure out an alternative or work around to SCORM.

I've spent weeks trying to start a stalled car, not knowing that the engine was missing the pistons, thus my efforts were in vain, how frustrating.

Thanks,

This discussion is closed. You can start a new discussion or contact Articulate Support.