Not signed in (Sign In)

Vanilla 1.1.5a is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthorlearzone
    • CommentTimeAug 26th 2008
     
    I am a newbie to SCORM and your class has given me more confidence to be able to understand how SCORM works and create SCORM compliant courses- so thank you very much!


    I have uploaded to our servers all the required files as per the AS demo tutorial. We are using an LMS called DOTS which can handle SCORM 1.2.


    From what I can tell with the error message (see below) it is not connecting to the LMS. Any ideas how to fix this? Thank you!



    Initializing SCORM class.
    Checking dependencies: ExternalInterface.available evaluates true.
    SCORM.isAvailable() evaluates true.
    SCORM class file ready to go! :)
    pipwerks.SCORM.connect() called from class file
    connection.initialize called.
    scorm.connection.isActive : false
    pipwerks.SCORM.init failed: no response from server.
    __connectionActive: false
    • CommentAuthorphilip
    • CommentTimeAug 28th 2008
     
    hi learzone

    your console log tells me that A) the ActionScript class is fine, B) the SCORM wrapper is present, and C) your version of Flash Player is OK.

    even with those three items in place, there are a lot of things that can go wrong with a SCORM course. here are just a few possibilities off the top of my head:


    • are your coourse code, manifest and LMS all set to use the same version of SCORM? (1.2 versus 2004)

    • were all files uploaded?

    • was the course set up correctly in the LMS (set to appropriate version of SCORM)?

    • does the LMS support the version of SCORM you're trying to use? (many LMSs still don't support SCORM 2004)

    • was the code in the wrapper modified at all?

    • does your HTML file have any javascript errors?



    sorry to be so vague, but as you can see, my best answer is "it depends". :smile:

    - philip
    • CommentAuthorlearzone
    • CommentTimeSep 15th 2008
     
    Thanks for replying back. After trying to better understand what was happening, or wasn't happening I am still having issues.

    With regards to your questions, please see my answers in bold

    # are your coourse code, manifest and LMS all set to use the same version of SCORM? (1.2 versus 2004) yes, I am using 1.2

    # were all files uploaded? yes

    # was the course set up correctly in the LMS (set to appropriate version of SCORM)? yes

    # does the LMS support the version of SCORM you're trying to use? (many LMSs still don't support SCORM 2004) yes

    # was the code in the wrapper modified at all? no

    # does your HTML file have any javascript errors?no, I just used your files

    I have turned on debug mode in SCORM and this is what I am getting. From what I can see it is connecting to the LMS (DOTS), but for some reason not sending this info back to the JS file...any help is appreciated.


    AJAX initialised

    START DOTS Function : loadSCO( 0 )
    URL = 'http://domain.au/dots/external/scorm_1_2_9/data_fromLMS.cfm?EnrolmentID=8683&CourseID=38&ClassID=64'
    Data Content =
    SCO_ID=CourseItem01&LaunchData=&MasteryScore=&MaxTimeAllowed=&TimeLimitAction=continue,no message
    Result =
    SUCCESS:cmi.core.credit=credit&cmi.core.lesson_mode=normal&cmi.launch_data=&cmi.student_data.mastery_score=&cmi.student_data.max_time_allowed=&cmi.student_data.time_limit_action=continue,no message&cmi.core.student_id=5498&cmi.core.student_name=Smith, John&cmi.core.lesson_status=not attempted&cmi.core.entry=ab-initio&cmi.core.total_time=0000:00:00.00&cmi.student_preference.audio=0&cmi.student_preference.speed=0&cmi.student_preference.text=0
    LMSInControl now = 'true' (NB: was 'false')
    API Function : LMSSetValue( 'cmi.core.credit', 'credit' )
    API Function : LMSSetValue( 'cmi.core.lesson_mode', 'normal' )
    API Function : LMSSetValue( 'cmi.launch_data', '' )
    API Function : LMSSetValue( 'cmi.student_data.mastery_score', '' )
    API Function : LMSSetValue( 'cmi.student_data.max_time_allowed', '' )
    API Function : LMSSetValue( 'cmi.student_data.time_limit_action', 'continue,no message' )
    API Function : LMSSetValue( 'cmi.core.student_id', '5498' )
    API Function : LMSSetValue( 'cmi.core.student_name', 'Smith, John' )
    API Function : LMSSetValue( 'cmi.core.lesson_status', 'not attempted' )
    API Function : LMSSetValue( 'cmi.core.entry', 'ab-initio' )
    API Function : LMSSetValue( 'cmi.core.total_time', '0000:00:00.00' )
    API Function : LMSSetValue( 'cmi.student_preference.audio', '0' )
    API Function : LMSSetValue( 'cmi.student_preference.speed', '0' )
    API Function : LMSSetValue( 'cmi.student_preference.text', '0' )
    LMSInControl now = 'false' (NB: was 'true')
    END DOTS Function : loadSCO( 0 )
    • CommentAuthorphilip
    • CommentTimeSep 15th 2008
     
    hi learzone

    it's hard to tell where the problem lies based on the info you've provided. the information above (debug code) is coming from either your course or LMS, not from my wrapper or ActionScript class.

    my guess (based on the original information you supplied) is that the API is not being found when the course is launched.

    if you're using the ActionScript class, it's completely dependent on the JavaScript wrapper being present and working. for troubleshooting purposes, i suggest uploading a simple HTML/JavaScript course and ensure the wrapper functions with the LMS, then go ahead and add the complexities of the Flash file(s).

    another possibility is that the LMS isn't liking the imsmanifest file (i've had issues with this in the past... the manifests drive me crazy!).

    again, try the HTML example first and see if that works.

    - philip
    • CommentAuthorlearzone
    • CommentTimeSep 16th 2008
     
    Thanks Philip. I tried your simple HTML/JavaScript example, but it didn't work.

    When the course loaded and popped up in a new window, the following message was displayed in the course's content area:

    Please Wait ...

    The page could not be automatically loaded.
    Please select one of the links in the side bar.


    When I clicked the links in the side bar nothing happened. So I am guessing the wrapper class doesn't work with my LMS (which is meant to be a SCORM 1.2 LMS)
    • CommentAuthorclewis13
    • CommentTimeSep 17th 2008
     
    Kind of odd. I did a search on the http://www.dotslms.com/ website for SCORM and there was only one mention of it in the "DOTS_ConsultingWhitePaper_2006.pdf"

    "DOTS accepts the import of all types of content including SCORM compliant courseware enabling maximum flexibility for both rapid and complex content development and deployment."

    Have you tested your course with the ADL Test Suite or other LMS testers (Reload Scorm Player)? Maybe something isn't importing correctly from your course package.
    • CommentAuthorphilip
    • CommentTimeSep 17th 2008
     
    also, as I mentioned before, the manifest could be the culprit. try creating a new manifest using Reload or eXe.