Today’s Picture
Phantom Ship - a small island in Crater Lake (Oregon). This is a natural rock formation which derives its name from its resemblance to a ghost ship, especially in foggy and low-light conditions.-
Recent Posts
Recent Comments
- deighvan on Step 55 – Delaying Loading of the SCO
- Steve Addison on Step 55 – Delaying Loading of the SCO
- Step 55 – Delaying Loading of the SCO | VSSCORM on Download VS SCORM 1.2 RTE Rev 2.1
- Step 54 – Error Handling? | VSSCORM on Step 52 – cmi.comments and cmi.comments_from_lms
- Steve Addison on Step 53 – Delaying the Closing Sequence
Archives
Category Archives: Run Time Environment
Step 56 – mysql_escape_string
I don’t refer to the PHP manual very much for commonly used functions, so I almost missed this one. The ‘mysql_escape_string’ function that’s used in subs.php to prepare data for insertion into the database is deprecated as of PHP 5.3 … Continue reading
Posted in Run Time Environment
Leave a comment
Step 55 – Delaying Loading of the SCO
In the past, I’ve had some intermittent problems with a SCO loading but showing a Javascript error. Although I couldn’t pin it down conclusively, it seemed to result from an incomplete download of some kind. Since forcing a reload with … Continue reading
Posted in Run Time Environment
2 Comments
Step 54 – Error Handling?
The problem SCO described in Step 52 is now working correctly, so why do I need to look any further? There’s a more subtle problem. The ‘datamodel.element._children’ mechanism described in the SCORM RTE specification seems to have been developed so … Continue reading
Posted in Run Time Environment
Leave a comment
Step 53 – Delaying the Closing Sequence
I’m still trying to fix the problem that my reader’s SCO highlighted (described in this post). I’ve implemented the optional data element that it’s trying to use – cmi.comments – but that hasn’t fixed the problem. So I need to … Continue reading
Posted in Run Time Environment
2 Comments
Step 52 – cmi.comments and cmi.comments_from_lms
A reader recently contacted me with a problem that raised some interesting issues. Hopefully, we’ve now resolved the problem but, since the issues might well occur with other SCOs, what I’d like to do is to walk through the process … Continue reading
Posted in Run Time Environment
2 Comments
Download VS SCORM 1.2 RTE Rev 2.1
After a somewhat longer time than I’d planned, here’s Rev 2.1 of the VSSCORM 1.2 RTE. It includes the following changes from Rev 2.0:
Posted in Run Time Environment
5 Comments
Another Bug in VS SCORM 1.2 RTE Rev 2.0
An eagle-eyed reader of the blog has brought the following bug to my attention. In all cases in the php code, you use the string “ab initio” as the value for cmi.core.entry when it is the first time a SCO … Continue reading
Posted in Run Time Environment
Leave a comment
Step 51 – Testing for API Session State
In Step 48, I introduced a flag to indicate whether a session had been finished or not. In that post, it was used to ensure that LMSFinish wasn’t called multiple times. But I really ought to extend it to make … Continue reading
Posted in Run Time Environment
1 Comment
Bug in VSSCORM 1.2 RTE Rev 2.0
I recently spotted a bug in VS SCORM 1.2 RTE Rev 2.0. Line 54 of finish.php reads: $rawscore = readElement(‘cmi.score.raw’); It should read: $rawscore = readElement(‘cmi.core.score.raw’); I’ll incorporate this fix in a new release of the RTE once I’ve made … Continue reading
Posted in Run Time Environment
Leave a comment
A Simple SCORM 1.2 Content Package
If you want a very simple test case, you can use this content package – a single SCO consisting of: a title page; 3 test questions (the correct answer in each case is “true”); and a results page.

