Problem with H5P page not showing anything (files not found)
we have a problem with the plugin working on moodle..we hope you can help us :(
We have installed the plugin successfully on moodle, but whenever we create any content, we get a blank page and the errors in console show:
GET http://s736121815.onlinehome.us/pluginfile.php/1/mod_hvp/cachedassets/c1... 404 (Not Found)
(anonymous) @ h5p.js?ver=2018012200:359
each @ jquery.js?ver=2018012200:2
each @ jquery.js?ver=2018012200:2
H5P.init @ h5p.js?ver=2018012200:356
(anonymous) @ h5p.js?ver=2018012200:2136
c @ jquery.js?ver=2018012200:2
fireWith @ jquery.js?ver=2018012200:2
ready @ jquery.js?ver=2018012200:2
H @ jquery.js?ver=2018012200:2
h5p.js?ver=2018012200:359 GET http://s736121815.onlinehome.us/pluginfile.php/1/mod_hvp/cachedassets/c1... 404 (Not Found)
(anonymous) @ h5p.js?ver=2018012200:359
each @ jquery.js?ver=2018012200:2
each @ jquery.js?ver=2018012200:2
H5P.init @ h5p.js?ver=2018012200:356
(anonymous) @ h5p.js?ver=2018012200:2136
c @ jquery.js?ver=2018012200:2
fireWith @ jquery.js?ver=2018012200:2
ready @ jquery.js?ver=2018012200:2
H @ jquery.js?ver=2018012200:2
h5p.js?ver=2018012200:861 Unable to find constructor for: H5P.QuestionSet 1.13
H5P.error @ h5p.js?ver=2018012200:861
H5P.newRunnable @ h5p.js?ver=2018012200:784
(anonymous) @ h5p.js?ver=2018012200:132
each @ jquery.js?ver=2018012200:2
each @ jquery.js?ver=2018012200:2
H5P.init @ h5p.js?ver=2018012200:92
(anonymous) @ h5p.js?ver=2018012200:2136
c @ jquery.js?ver=2018012200:2
fireWith @ jquery.js?ver=2018012200:2
ready @ jquery.js?ver=2018012200:2
H @ jquery.js?ver=2018012200:2
h5p.js?ver=2018012200:1773 Uncaught TypeError: Cannot read property 'on' of undefined
at Object.H5P.on (h5p.js?ver=2018012200:1773)
at HTMLDivElement.<anonymous> (h5p.js?ver=2018012200:205)
at Function.each (jquery.js?ver=2018012200:2)
at init.each (jquery.js?ver=2018012200:2)
at Object.H5P.init (h5p.js?ver=2018012200:92)
at HTMLDocument.<anonymous> (h5p.js?ver=2018012200:2136)
at c (jquery.js?ver=2018012200:2)
at Object.fireWith [as resolveWith] (jquery.js?ver=2018012200:2)
at Function.ready (jquery.js?ver=2018012200:2)
at HTMLDocument.H (jquery.js?ver=2018012200:2)
H5P.on @ h5p.js?ver=2018012200:1773
(anonymous) @ h5p.js?ver=2018012200:205
each @ jquery.js?ver=2018012200:2
each @ jquery.js?ver=2018012200:2
H5P.init @ h5p.js?ver=2018012200:92
(anonymous) @ h5p.js?ver=2018012200:2136
c @ jquery.js?ver=2018012200:2
fireWith @ jquery.js?ver=2018012200:2
ready @ jquery.js?ver=2018012200:2
H @ jquery.js?ver=2018012200:2
icc
Tue, 05/15/2018 - 15:29
Permalink
That is strange. Could you
That is strange. Could you double check that the user has the capability/permission called mod/hvp:getcachedassets ?
If that doesn't work try enabling some debugging options in config.php and try to edit and save the activity again (or create a new one):