BUG : SCORM 2004 : missing parameter when calling datamodel.php

BUG : SCORM 2004 : missing parameter when calling datamodel.php

by Valérian G -
Number of replies: 10
Hello all,

I've installed Moodle 1.6, with scorm module version 2006021400.
I'm using a SCORM 2004 package

- When i call Terminate function of the API, it's not working.
- The problem is : in mod/scorm/datamodels/scorm1_3.js.php, in StoreData function, when you make the NewHttpReq(), the parameter "attempt" is not passed to /mod/scorm/datamodel.php. And it's expected in this script. So this script return a error and the function DoRequest() in request.js is returning status code 404.
Then in mod/scorm/datamodels/scorm1_3.js.php, results = result.split('\n'); is not working because the returned value is a number.

How can i pass this attempt parameter ? What are the modifications ?
I've attached to this message the scorm package i'm using to make my tests.
Thank you for any help, smile

Valérian
Average of ratings: -
In reply to Valérian G

Re: BUG : SCORM 2004 : missing parameter when calling datamodel.php

by Martin Dougiamas -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers
Moodle 1.6 is not released yet, it's in testing phase at the moment. Thanks for helping with development! The bug tracker is the best place to file bug reports, could you please file one there for this issue?
In reply to Martin Dougiamas

Re: BUG : SCORM 2004 : missing parameter when calling datamodel.php

by Valérian G -
ok, it's done smile
In reply to Valérian G

Re: BUG : SCORM 2004 : missing parameter when calling datamodel.php

by Pham Minh Duc -
I have updated from CVS. But I still have error
(missing parameter when calling datamodel.php)
Did you pass this problem. Can you send me scorm module which has solved this bug. Thanks!
In reply to Pham Minh Duc

Re: BUG : SCORM 2004 : missing parameter when calling datamodel.php

by Valérian G -
hello,
sorry but i didn't work on this bug since my last post clown
i'll warn you if i've any information.

Valérian
In reply to Valérian G

Re: BUG : SCORM 2004 : missing parameter when calling datamodel.php

by Pham Minh Duc -

hello Valérian

I solved this problem in my way.... but  I want to know the way that moodle developer solved this problem. Last time, i thought that you got their solution smile . However, thanks for your reply!

Pham Minh Duc

In reply to Pham Minh Duc

datamodel.php

by cristhian cordoba -
Hello also I have a problem with the file datamodel.php which according to the report causes overflow in the use of resources of memory and CPU please if you have solution to this problem am grateful for it to you
In reply to cristhian cordoba

Re: datamodel.php

by Dan Marsden -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers Picture of Plugins guardians Picture of Testers Picture of Translators

this post is really old and refers to SCORM 2004 which isn't officially supported in Moodle - are you using a 2004 object? - also you haven't provided enough information for us to be able to help - please see:

http://docs.moodle.org/en/SCORM_FAQ#Asking_for_Help_in_the_SCORM_Forum

In reply to Dan Marsden

Re: datamodel.php

by cristhian cordoba -
I use moodle 1.9 with a hosting linux with a database MYSQL but always it generates this mistake of use in big quantities of the memory and CPU for the file datamodel.php please
In reply to cristhian cordoba

Re: datamodel.php

by Dan Marsden -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers Picture of Plugins guardians Picture of Testers Picture of Translators

.....you haven't provided enough information for us to be able to help - please see:

http://docs.moodle.org/en/SCORM_FAQ#Asking_for_Help_in_the_SCORM_Forum

1.9 comes in many flavours. - 1.9.1- 1.9.10 -

you haven't stated whether you are using a 2004 or 1.2 object...but if you're using SCORM 2004, it isn't supported - and has many issues - please see other items in the FAQ.

In reply to Martin Dougiamas

Re: BUG : SCORM 2004 : missing parameter when calling datamodel.php

by Jason Hollowell -
Is there a new scheduled release date?  The very fancy looking newsletter from late last year states that it is to be out by February but....

I haven't been able to find a timeline anywhere and my search of the forums brought me to this post so...

Jason