Course Presentations do not show up in Wordpress

Dear Community,

I am facing the following problem:

I have created an Interactive Book in Lumi. It consists of two pages. On the second page is a course presentation. (I have attached the file)

When I upload this file to Wordpress, the course presentation disappears. (I have linked the file → 1)

When I open the editing settings in Wordpress, I see that there is a second page. However, the box for the content is white and completely empty (i.e. there is no indication that there used to be a course presentation here).

When I upload the file to Moodle, the course presentation is displayed as normal. I therefore think that the problem lies with Wordpress, but I don't know what to do.

We use the hub for hp5 in wordpress. Screenshot attached.

Do you have any ideas?

Best regards and have a nice weekend,
Juli

 

(1) https://www.arabisch-digital.gwi.uni-muenchen.de/wp-admin/admin-ajax.php...

Content types: 
otacke's picture

The file seems fine. What happens directly after you upload the file on your WordPress site? Does the 2. page appear in the editor after uploading at all? Is it gone after saving? Any error messages?

 

Hello Oliver,

thanks for taking a look at it!

I don't get an error message when uploading the file to Wordpress.When I look at the interactive book (e.g. open the settings), I see the second page, but the course presentation is gone. I have attached a screenshot.

At no time have I received an error message or anything similar.  It seems to me that when the file is uploaded, the contents of the Course Presentation are "removed" - but I don't know why.

otacke's picture

It's possible that H5P removes subcontent when uploading - that was my suspicion - if the content violates the H5P specification. You should receive a message why this was done, however.

Without access to your server it will not be possible to diagnose this then.

otacke's picture

Hi!

I just was notified about issues that I could investigate better, and it seems that the cases are linked. Your H5P library settings page shows that you have H5P.Column-1.16.6 installed. This one is responsible for the trouble, but it is not an official release! Guess you caught it by uploading some H5P file from a different site that was "infected", too.

I don't have a good solution for you (yet), but it's crucial that you prevent people from downloading content from your site to stop this from spreading.

otacke's picture

@BV: This is an example for why https://h5p.org/node/1242568 is utterly important.

Hello Oliver,

please excuse my late response. I was quite sure I had already replied - but I must not have sent it. I meant to write that I don't have access to the server as it is operated by LMU Munich.

Regarding the Column 1.16: 
If I delete all libraries from Lumi, then restart the program and install the column, it is version 1.16. (What is the current version tested by H5P?)

otacke's picture

Then LMU Munich may as quickly as possible want to ensure that they don't spread any H5P contents that contain the faulty library (Column + Interactive Book). This is not only a problem for their WordPress instance, but they put other platforms into danger potentially, too. This needs to be fixed.

If you delete all the libraries from Lumi and then use the H5P Hub to install Column/Interactive Book, you'll get a clean 1.16.5 as that is what H5P Group serves via the Hub - they have nothing to do with 1.16.6 that is installed on that WordPress site. That may solve your problem, but not the one mentioned above. And if you upload that faulty file, Lumi will install the faulty library again, of course.

otacke's picture

H5P Group was so kind to release a version 1.16.7 of Column. That version is nothing but 1.16.5, yet - when installed - will re-establish the regular library dependency structure that the rogue 1.16.6 version broke.

Please note:

  • That Column version 1.16.6 was not created by H5P Group but spread by someone else.
  • Any content that was created or saved with Column 1.16.6 and that contains Course Presentations or Interactive Videos will lose the latter.

Thank you so much for your commitment and for helping me/us! I have just tried three things:

- an update of Column via the hub in wordpress

- an update of Column in Lumi

- downloading a column from h5p.org and opening it in Lumi

 

All three attempts failed and I got error messages. Was my approach wrong?

 

Wordpress:

Validating h5p package failed.

Library directory name must match machineName or machineName-majorVersion.minorVersion (from library.json). (Directory: H5P.Column-1.16.7 , machineName: H5P.Column, majorVersion: 1, minorVersion: 16)Hilfe

Lumi: 

Validating h5p package failed.

Library directory name must match machineName or machineName-majorVersion.minorVersion (from library.json). (Directory: H5P.Column-1.16.7 , machineName: H5P.Column, majorVersion: 1, minorVersion: 16)Hilfe

The library file scripts/h5p-column.js of library H5P.Column-1.16 does not exist.Hilfe

The library file styles/h5p-column.css of library H5P.Column-1.16 does not exist.Hilfe

otacke's picture

This was already reported to H5P Group.