H5P version 1.16 not working in Moodle 3.3
Submitted by hkarrasch on Fri, 03/08/2019 - 12:12
Hello just updated the Moodle-Plugin to 1.16.
I can view the content, but editing the content or add new content is not possible.
I can choose the content type, but then a wheel is turning and turning and turning.
Any ideas?
Hartmut
BV52
Mon, 03/11/2019 - 00:57
Permalink
Hi Hartmut,In order to give
Hi Hartmut,
In order to give your bug report the best chance of getting answered, please include the following information:
The more information you provide, the quicker the community will be able to fix it and the quicker you'll have a working solution!
-BV52
hkarrasch
Mon, 03/11/2019 - 14:26
Permalink
Detailed Problem
1. Editing already saved content types or editing new content is not possible. "Loading please wait" is displayed and nothing happens. You can look at the schreenshot.
2. Platform is Moodle 3.3.2+
3 The bug is displayed on mobile and desktop
4. The bug appears in all browsers
5. H5P plugin version 1.16
6. The bug appears in all content types
7.+8. Console errors:
Failed to load resource: the server responded with a status of 404 (not found)
codemirror.css:1 Failed to load resource: the server responded with a status of 404 (not found)
fullscreen.css:1 Failed to load resource: the server responded with a status of 404 (not found)
jquery.js?ver=2019030700:2 Allow attribute will take precedence over 'allowfullscreen'.
attr @ jquery.js?ver=2019030700:2
h5peditor.js?ver=2019030700:236 Ajax request failed
error @ h5peditor.js?ver=2019030700:236
h5peditor.js?ver=2019030700:237 Object
error @ h5peditor.js?ver=2019030700:237
h5peditor.js?ver=2019030700:238 parsererror
error @ h5peditor.js?ver=2019030700:238
h5peditor.js?ver=2019030700:239 SyntaxError: Unexpected token < in JSON at position 0
at JSON.parse (<anonymous>)
at parseJSON (jquery.js?ver=2019030700:2)
at Fn (jquery.js?ver=2019030700:4)
at k (jquery.js?ver=2019030700:4)
at XMLHttpRequest.r (jquery.js?ver=2019030700:4)
error @ h5peditor.js?ver=2019030700:239
jquery.dataTables.css:1 Failed to load resource: the server responded with a status of 404 (not found)
codemirror.css:1 Failed to load resource: the server responded with a status of 404 (not found)
fullscreen.css:1 Failed to load resource: the server responded with a status of 404 (not found)
9. It's not a visual problem
10. No recent chages
11. No recent changes
hkarrasch
Mon, 03/11/2019 - 09:50
Permalink
Details Moodle 3.3 and H5P- V. 1.16
1. Editing old Content types is not possible. Editing new Content is also not possible.
2. Moodle Version 3.3.2+, H5P-Version 1.16
3. The problem occurs on mobile and Desktop
4. Error is displayed in any browser (Chrome, Firefox, Safari Edge)
5. H5P-Plugin Version 1.16
6. The error occurs in all content types
7.Console errors:
Failed to load resource: the server responded with a status of 404 (not found)
codemirror.css:1 Failed to load resource: the server responded with a status of 404 (not found)
fullscreen.css:1 Failed to load resource: the server responded with a status of 404 (not found)
jquery.js?ver=2019030700:2 Allow attribute will take precedence over 'allowfullscreen'.
attr @ jquery.js?ver=2019030700:2
h5peditor.js?ver=2019030700:236 Ajax request failed
error @ h5peditor.js?ver=2019030700:236
h5peditor.js?ver=2019030700:237 Object
error @ h5peditor.js?ver=2019030700:237
h5peditor.js?ver=2019030700:238 parsererror
error @ h5peditor.js?ver=2019030700:238
h5peditor.js?ver=2019030700:239 SyntaxError: Unexpected token < in JSON at position 0
at JSON.parse (<anonymous>)
at parseJSON (jquery.js?ver=2019030700:2)
at Fn (jquery.js?ver=2019030700:4)
at k (jquery.js?ver=2019030700:4)
at XMLHttpRequest.r (jquery.js?ver=2019030700:4)
error @ h5peditor.js?ver=2019030700:239
jquery.dataTables.css:1 Failed to load resource: the server responded with a status of 404 (not found)
codemirror.css:1 Failed to load resource: the server responded with a status of 404 (not found)
fullscreen.css:1 Failed to load resource: the server responded with a status of 404 (not found)
8. not known
9. I attached a screenshot
10. no changes
11. no changes
BV52
Tue, 03/12/2019 - 00:22
Permalink
Hi Hartmut,Can you please
Hi Hartmut,
Can you please check if another plugin may be interfering with H5P. Security plugins and themes are some of the things that you could check. Disabling them to see if they are the cause. Once narrowed down changing their settings to let H5P go through should do the trick.
-BV52
hkarrasch
Tue, 03/12/2019 - 10:21
Permalink
Yes, I found a plugin which
Yes, I found a plugin which had to be updated. This error is gone. But the bug has not vanished.
I attached a logfile from my console (Chrome/network tab). Maybe this might help.
Regards
Hartmut
icc
Tue, 04/16/2019 - 13:36
Permalink
Could you check the network
Could you check the network tab to determine what type of requests are failing and what data they contain?
Also, you may have some error's in your web server's error_log file.