Can't create or edit Course Presentation and Interactive Video Content Types

Hi There,

We have a problem where the above content types are not working correctly on desktop across all browsers used (Chrome/IE/Firefox)

We do not know at what point the bug started except that it was some time after 8th October 2019.

The problem occurs using both H5P 1.20.1 and Moodle 3.5.9+ (PreProd)

and

H5P 1.17.2 and Moodle 3.5.7 (Prod)

Now, very importantly, the problem does not occur on our Dev Server, using H5P 1.20.1 and Moodle 3.5.9+

What happens on our Production and Preprod servers is that: 

The H5P content appears to work correctly, including editing, right up until someone completes the activity and then the completion is reset. Sometimes a person only has to complete the activity. 

At this point, you attempt to edit it - instead of seeing the editable content, you get a piece of code like this: 

[field:group:coursepresentation:presentation]

We discovered that we also cannot create new activities of the Course Presentation or Interactive Video types.

Other content types do not appear to be affected. 

We have turned on debugging and replicated the issues but there are never any messages in regard to this problem. 

Dev, Preproduction and Production environments all underwent upgrades from Moodle 3.5.7 to 3.5.9 recently, however this has not caused issues on the Dev server. 

We do not control upgrades to the server environments or security configurations and though we have asked for details as to changes to these environments, we do not yet have this information. 

It seems that the server configuration (that we do not have access to) may be playing a part in this as we do not experience the same issues with the same software and courses on the Dev server. 

I have read around and see that some people have experienced similar issues - does anyone have some advice for us that we can use to point our IT people in the right direction? Our H5P modules are great additions to our courses and we would like to continue using the software. 

Thank you for your time :)

 

 

 

Attachments: 
BV52's picture

Hi DP-OLS,

I suggest that you check the following: 

  1. Any browser console errors
  2. Any PHP errors

These 2 usually provides clues to where the problem is coming from.

-BV

I don't know if this will come up twice, apologies if it does. 

Thanks BV52. I can't look at PHP errors however I did have some console errors for both Course Presentation and Interactive Video - they looked like this: 

TypeError: H5P.DragNBar.FormManager is undefined

interactive-video-editor.js:106:3 

TypeError: H5PEditor.InteractiveVideo is undefined

The above refers to this line: InteractiveVideoEditor.prototype = Object.create(H5P.DragNBar.FormManager.prototype);

guided-tours.js:4:11 

TypeError: H5PEditor.InteractiveVideo is undefined

require-completion.js:247:3 

TypeError: H5P.DragNBar.FormManager is undefined

It appears that something is missing somewhere that defines these things - any ideas? 

Thank you for your time :)

I am unable to look at PHP errors however I have looked at console errors and I am getting the following on both Course Presentation and Interactive Video:

TypeError: H5P.DragNBar.FormManager is undefined

interactive-video-editor.js:106:3 

TypeError: H5PEditor.InteractiveVideo is undefined

guided-tours.js:4:11 

TypeError: H5PEditor.InteractiveVideo is undefined

require-completion.js:247:3 

TypeError: H5P.DragNBar.FormManager is undefined

I don't suppose  you have any idea of what this might mean? It looks like maybe some functions are not being called?