Interactive Content - HP5 - can't create content

Hello,

Here's an issue I'm experiencing - using Moodle 3.3.

The plugin installed just fine. I'm listing the steps that lead to a problem:

  1. click Add an activity or resource when editing pages in Moodle.
  2. select Interactive Content from the list of plugins - click Add
  3. in the Editor section, I select Content type as Drag and Drop (the same problem persists with any other content type)
  4. Look at the attached image now - basically, the content doesn't load - I could wait 2 hours, and it would still be loading.

How can we resolve this? The Moodle platform is part of a larger organisation hosting online courses - therefore, we'd like to avoid installing a higher Moodle version. Is there a way to use another (older) version of the plugin that might work? 

I use Chrome, but I tested the same under Internet Explorer - same issue.

Many thanks

 

Attachments: 
BV52's picture

Hi ktlangspec,

THe H5P plugin should work fine with your version of Moodle.

In order to give your bug report the best chance of getting answered, please include the following information:

  1. Detailed steps to reproduce the bug (exactly how and when did it happen)
  2. Platform and version number. Moodle 3.3
  3. Mobile or Desktop
  4. Browser: Chrome, Firefox, Safari etc
  5. H5P plugin version
  6. H5P content type and version (if a content type was used), and a sample URL or attached H5P.
  7. Any browser console errors
  8. Any PHP errors

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

Ok, then. Here goes:

  1. Exact steps to reproduce the problem: How and when this happens: I enter the editing mode as administrator on Moodle. Entering the Add a resource section and choosing the Interactive content plugin. On the resulting page, I scroll to the Editor section and choose Content type. I choose Drag the Words (no Content type works, by the way). Here, I click Details and then "Use". This results in the message "Loading, please wait" and a spinning wheel, which, if I left it there, could spin until the end of this galaxy. :) The image of this was attached in my original message at the top of this thread.
  2. Platform and version number. Moodle 3.3
  3. Mobile or Desktop: Desktop
  4. Browser: the same issue arises in Chrome and Internet Explorer (not Edge)
  5. H5P plugin version: 1.16
  6. H5P content type and version (if a content type was used), and a sample URL or attached H5P.: as stated above, it was Drag the Words, but this happens with any of the the content types. I am not able to publish anything , so there's no url (I'd have to give you my admin access data, which I won't :) )
  7. Any browser console errors: none display
  8. Any PHP errors : did all levels of debugging, no PHP errors display.

Many thanks for your help.

Kamil

icc's picture

Make sure you reload the page after opening the browser console and then try selecting the content again. 
There should be an error or failing request. It may take up to 30s unless you've changed the default timeout on the webserver.

Hi there, we have a problem with a H5P file that is not showing the editor anymore in Moodle. 

Very hard to replicate what was done because we don't know exactly since when it is not possible anymore to edit the file in Moodle anymore.

Moodle 3.10 !

Hello all, I'm having the same problem. I came back after the weekend and some h5p were just endlessly loading, just like in the image of ktlangspec's question.

1: I'm not sure what happend, because before the weekend it was still working, but when adding some (some do work) h5p it just endlessly loads.

2: moodle 3.10, ubuntu 18.04

3: desktop

4: any; all

5: 1.21

6: multiple questions

7:  before clicking multiple question:

https://example.org/moodle/pluginfile.php/1/mod_hvp/libraries/H5P.Flashc...
warn: The moodle-core-notification parent module has been deprecated. Please use one of its subclasses instead.

after clicking:


GET https://example.org/moodle/pluginfile.php/1/mod_hvp/libraries/H5PEditor....
[HTTP/1.1 404 Not Found 377ms]

GET https://example.org/moodle/pluginfile.php/1/mod_hvp/libraries/H5PEditor....
[HTTP/1.1 404 Not Found 286ms]

Error while loading script
error { target: script, isTrusted: true, srcElement: script, currentTarget: script
, eventPhase: 2, bubbles: false, cancelable: false, returnValue: true, defaultPrevented: false, composed: false, … }
h5peditor.js:124:23
Laden voor het <script> met bron ‘https://example.org/moodle/pluginfile.php/1/mod_hvp/libraries/H5PEditor....’ is mislukt. modedit.php:1:1
(dutch for loading of <script> with source .....  failed)


8:
[Wed Mar 10 13:00:33.589368 2021] [php7:notice] [pid 26107] [client x.x.x.x] Default exception handler: Sorry, the requested file could not be found Debug: \nError code: filenotfound\n* line 498 of /lib/setuplib.php: moodle_exception thrown\n* line 2075 of /lib/filelib.php: call to print_error()\n* line 4990 of /lib/filelib.php: call to send_file_not_found()\n* line 44 of /pluginfile.php: call to file_pluginfile()\n, referer: https://example.org/moodle/course/modedit.php?add=hvp&type=&course=40&se...

BV52's picture

Hi brikb,

This forum thread might be able to help. I would also suggest that you try disabling other plugins in Moodle. Also if you can check if there were any changes in made prior to the issue.

-BV

so, nobody an idea?