dhodges47 / SCORM-LearningManagementSystem

Open Source SCORM Learning Management System demo
MIT License
145 stars 72 forks source link

Responsive HTML5 Output SCORM File with Quiz #16

Closed Kopal-LMS closed 3 years ago

Kopal-LMS commented 4 years ago

Thank you so much for your response. I have downloaded the latest project and check SCORM file which having quiz is not opening on SCORM player. Quiz slide showing blank. I am attaching the SCORM file having quiz and publish the output in HTML5 format for responsive project, but the file is not loading on player, But I am viewing the file from physical location ,quiz is showing. Please help me out from this issue. image Fluid_Box_Demo_Responsive.zip QuizProjectV1.zip

I have tried to upload non responsive project also, in which output format as SWF flash file format. It is working on SCORM player. But Adobe flash is going out from coming December. So we can use only HTML5 output format. Please resolve this issue.

Thank you so much for your valuable support.

dhodges47 commented 4 years ago

I tried running both of the courses you attached. Both of them are returning a fatal javascript error in a javascript file (CPXHRLoader.js) that is part of Captivate. (You can see the error console if you turn on your browser's debugging tools). If you google search on the error you get a lot of responses. The most basic solution that I saw was "Upgrade to the latest version of Captivate". In any case, it is a known error in Captivate, and so it doesn't seem to be anything I can fix on the LMS side.

The error is:

Cannot read property 'charAt' of undefined VM829:1264 Uncaught TypeError: Cannot read property 'charAt' of undefined at cp.QuizState.readNumber (eval at e (CPXHRLoader.js:formatted:163),

:1264:423) at cp.QuizState.readString (eval at e (CPXHRLoader.js:formatted:163), :1266:34) at cp.PlaybackController.restoreObjectsFromState (eval at e (CPXHRLoader.js:formatted:163), :1345:20) at Function.cp.resumeValuesFromDataChunk (eval at e (CPXHRLoader.js:formatted:163), :1259:460) at cp.PlaybackController.RestoreQuizState (eval at e (CPXHRLoader.js:formatted:163), :1386:35) at Function.cp.NewQuizLibraryInit (eval at e (CPXHRLoader.js:formatted:163), :982:3) at Function.cp.CPPreInit (eval at e (CPXHRLoader.js:formatted:163), :990:246) at Function.cp.ContinueCPInit (eval at e (CPXHRLoader.js:formatted:163), :1935:33) at LoadContent (eval at e (CPXHRLoader.js:formatted:163), :1258:439) at InitializeExecuted (eval at e (CPXHRLoader.js:formatted:163), :1879:36)

I searched on "Cannot read property 'charAT' of undefined CPXHRLoader.js"

On Sat, Aug 8, 2020 at 2:27 PM Kopal-LMS notifications@github.com wrote:

Thank you so much for your response. I have downloaded the latest project and check SCORM file which having quiz is not opening on SCORM player. Quiz slide showing blank. I am attaching the SCORM file having quiz and publish the output in HTML5 format for responsive project, but the file is not loading on player, But I am viewing the file from physical location ,quiz is showing. Please help me out from this issue. [image: image] https://user-images.githubusercontent.com/66865599/89717281-7b1bcb00-d9d2-11ea-86aa-b789820656fb.png Fluid_Box_Demo_Responsive.zip https://github.com/dhodges47/SCORM-LearningManagementSystem/files/5046032/Fluid_Box_Demo_Responsive.zip QuizProjectV1.zip https://github.com/dhodges47/SCORM-LearningManagementSystem/files/5046034/QuizProjectV1.zip

I have tried to upload non responsive project also, in which output format as SWF flash file format. It is working on SCORM player. But Adobe flash is going out from coming December. So we can use only HTML5 output format. Please resolve this issue.

Thank you so much for your valuable support.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/dhodges47/SCORM-LearningManagementSystem/issues/16, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAB5OFVMAISSSS5GXL6MJCLR7WKIZANCNFSM4PYY3CEQ .

Kopal-LMS commented 4 years ago

Thank you so much for response on my query. Yes I am getting the same error and report to Captivate team also and I have received the below response from Captivate team. Captivate team suggests, there is a problem in SCORM player. image

I have also checked both project working on SCORM cloud. Please help me out from this issue.

dhodges47 commented 4 years ago

I'm out of ideas at this point. I can't find anything wrong with the LMS. If I think of something I'll let you know.

On Tue, Aug 11, 2020 at 3:11 PM Kopal-LMS notifications@github.com wrote:

Thank you so much for response on my query. Yes I am getting the same error and report to Captivate team also and I have received the below response from Captivate team. Captivate team suggests, there is a problem in SCORM player. [image: image] https://user-images.githubusercontent.com/66865599/89938061-96d1dc00-dc33-11ea-92fb-309d6605aa41.png

I have also checked both project working on SCORM cloud. Please help me out from this issue.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/dhodges47/SCORM-LearningManagementSystem/issues/16#issuecomment-672205350, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAB5OFVUX7HPJ7YCVLZI6ZTSAGJWHANCNFSM4PYY3CEQ .

Kopal-LMS commented 4 years ago

Hi Dhodges,

Hope you are doing good. Did you find any solution on my above query. Because I am totally stuck on responsive SCORM file which having quiz. Because Captivate team not giving any solution on this because the above SCORM output file working on SCORM Cloud. Kindly help me out from this LMS issue.

Thanks you so much for your valuable support. Looking forward to your reply.

Regards, Kopal Rajpoot

dhodges47 commented 4 years ago

I replied to you a few days ago. I have not found any solution. I can't see any errors coming from the LMS. The only error I see is coming from Articulate. I'm sorry but I don't have any ideas on what could be the problem.

On Thu, Aug 20, 2020 at 2:46 AM Kopal-LMS notifications@github.com wrote:

Hi Dhodges,

Hope you are doing good. Did you find any solution on my above query. Because I am totally stuck on responsive SCORM file which having quiz. Because Captivate team not giving any solution on this because the above SCORM output file working on SCORM Cloud. Kindly help me out from this LMS issue.

Thanks you so much for your valuable support. Looking forward to your reply.

Regards, Kopal Rajpoot

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/dhodges47/SCORM-LearningManagementSystem/issues/16#issuecomment-677343211, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAB5OFSUVIDZ6FBA22JGYXLSBTBFXANCNFSM4PYY3CEQ .

Kopal-LMS commented 3 years ago

Hi Dhodges, Hope you are doing good. I have explored about the responsive project using Captivate, it is working on SCORM cloud. I have debug the source code and getting attached error while using it. Please find the error log with the same. default-20200818-000.log default-20200820-000.log default-20200821-000.log Attaching the responsive SCORM also. Fluid_Box_Demo_Responsive_test_with_quiz.zip Quiz Project Ambika.zip Kindly upload in your LMS and debug, you will get the same issue. Looking forward to your reply. Regards, Kopal Rajpoot

dhodges47 commented 3 years ago

From your logs I see a lot of database problems. There may be an issue with your database set up. One problem I can fix on my side is from a residual field called "msrepl_tran_version" that is not used in this iteration. I have attached a script to allow nulls in that field, which will resolve some of the errors you are getting. SCORMFix.sql.zip

dhodges47 commented 3 years ago

I think I fixed the problem with the Articulate Storyline quizes. Please update your solution with the latest commit, which is labelled "Bug fix for Articulate Storyline quizes". The fix is in the file "SCORMRuntimeHelper.cs". After you rebuild your solution, try the quiz again.

Kopal-LMS commented 3 years ago

Hi Dhodges, Thank you so much for the great solution. Its really work. Now quiz is working. One more query I have, I am not getting any interaction data in below highlighted tables. image Could you please suggests.

Thanks & Regards, Kopal Rajpoot

dhodges47 commented 3 years ago

Please obtain the latest commits - "Fix to cmi_objectives" and "Fix bug in cmi_interactions". Then try again.

Kopal-LMS commented 3 years ago

Hi, Really appreciated your reply, its solve many problems. Thank you so much. Now I am getting another issue and points analyzed on latest updated source code- 1.“[cmi_interactions]” table data in Column “n_id” is not saving properly . I think n_id column refers the Question Name , but it always updated the question text only for first row when user select correct response . While student _response save properly in different rows (create new row corresponding to each user response).

image

  1. Data is not saving in following table • SELECT FROM [OpenSourceSCORMLMS].[dbo].[cmi_comment_from_learner] • SELECT FROM [dbo].[cmi_student_preferences] • SELECT FROM [dbo].[cmi_comment_from_lms]--blank • SELECT FROM cmi_comment_from_learner--blank image

Thank you so much for your support.

Regards, Kopal

dhodges47 commented 3 years ago

Please get the latest commit. It should solve the problem with cmi_interactions. For cmi_comment_from_learner, cmi_comment_from_lms, cmi_comment_from_lms: Do you have a scorm module that sets these values? I don't have any way to test these, since none of the modules I have are calling the api for these values.

Kopal-LMS commented 3 years ago

Hi Dhodges, Thank you so much for a valuable support. You have solved many issues where I was totally stucked. Really appreciated for resolving the query. As per my last comment, I dont have such SCORM file which sets the values in these tables cmi_comment_from_learner, cmi_comment_from_lms, cmi_comment_from_lm

Regards, Kopal

dhodges47 commented 3 years ago

Thanks Kopal. Because of your persistence I was able to identify and fix several bugs that had not been reported before, so I appreciate your help. If I get a chance, I'll see if I can set up a test for the comment tables. I am going to close this issue. If you come across anything else, please open a new issue. Thanks again, David