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

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

Valérian G -
回帖数: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, 微笑

Valérian
回复Valérian G

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

Martin Dougiamas -
Core developers的头像 Documentation writers的头像 Moodle HQ的头像 Particularly helpful Moodlers的头像 Plugin developers的头像 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?
回复Martin Dougiamas

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

Valérian G -
ok, it's done 微笑
回复Valérian G

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

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!
回复Pham Minh Duc

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

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

Valérian
回复Valérian G

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

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

回复Pham Minh Duc

datamodel.php

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
回复cristhian cordoba

Re: datamodel.php

Dan Marsden -
Core developers的头像 Particularly helpful Moodlers的头像 Peer reviewers的头像 Plugin developers的头像 Plugins guardians的头像 Testers的头像 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

回复Dan Marsden

Re: datamodel.php

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
回复cristhian cordoba

Re: datamodel.php

Dan Marsden -
Core developers的头像 Particularly helpful Moodlers的头像 Peer reviewers的头像 Plugin developers的头像 Plugins guardians的头像 Testers的头像 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.

回复Martin Dougiamas

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

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