Looks like I forgot the error messages. Attached is what I am not getting when I try and add a SCORM activity or change the url of a previously existing SCORM activity
Exception - Argument 1 passed to file_get_all_files_in_draftarea() must be of the type integer, null given, called in [dirroot]/lib/form/filemanager.php on line 336
Error code: generalexceptionmessage
- line 767 of /lib/filelib.php: TypeError thrown
- line 336 of /lib/form/filemanager.php: call to file_get_all_files_in_draftarea()
- line 580 of /lib/formslib.php: call to MoodleQuickForm_filemanager->validateSubmitValue()
- line 526 of /lib/formslib.php: call to moodleform->validate_defined_fields()
- line 636 of /lib/formslib.php: call to moodleform->is_validated()
- line 1096 of /course/moodleform_mod.php: call to moodleform->get_data()
- line 150 of /course/modedit.php: call to moodleform_mod->get_data()
Looks like you ran into an active bug possibly. Take a look at: https://tracker.moodle.org/browse/MDL-63231
Does it happen only with SCORM activities? Does the teacher have moodle/course:changesummary capability? Your site might have disabled it and it will give that error. See Paul Martin's post here: https://moodle.org/mod/forum/discuss.php?d=374099#p1510686
We are aware of this bug and ran into an issue this bug causes with needing to change settings in an activity and being unable to do so. We are not sure if it is related to our problem of not being able to add a new SCORM activity or change the url within a previously created SCORM activity or that is a separate bug?
We can add the other activity types without error, it is just unique to the SCORM activity for us.
It is not a permissions issue as we use Moodle in a corporate setting and don't have Teachers per se, the staff that create and maintain our course materials are all Administrators in our db.
I did check the access to the coursesummary for that role and it is checked.
Wish I could help more but I'm not sure. Though, I would say that changing a previously created SCORM activity does count as changing settings in an activity though, which would trigger the bug and the SCORM activity does always deal with the moodle file system I think in ways that other activities don't.
course categories > list of courses > Courses weeks > list of weeks > Enter button for week activity > Scorm started
sir i need to romove some sub branch where 5th place in above exp
how i remove the mode page i dont want this page i need to make it like following
course categories > list of courses > Courses weeks > list of weeks > Scorm started
We are planning on loading that fix in the next day or two. We will load it on our test Moodle tomorrow and am hoping that it fixes the problem so that I can get it loaded on our live Moodle environment by Wednesday. I'll keep you posted.
I installed the latest 3.5.2 and that resolved the issue for me but I have discovered another issue related to suspend data for AICC which I will create a separate post about.
I hope it resolves it for you too.
We loaded the fix yesterday and we are now able to add SCORM activities as well as edit settings on other activity types as well.