H5p does not show the player in openatrium 2

Hi,

I tried to test openatrium 2+h5p. h5p content (or player) did not show. I checked the html elements with a clean drupal site. the html part are basically the same but the h5p content is nothing. Any suggestion to know the problem?

I attached the image for reference.

 

Attachments: 

Oa uses content display called feature which might have interactive content set to hidden.. 

Hope this helps

F

Thanks for the quick response. I checked, are displays are all with visiable not hidden.

After more detail tests, I need to clearify some points:

1)Sometimes (usually the first time), uploading a new h5p content, there are warnings.

  • Warning: rename(/srv/bindings/bca73890d52643c79f8e79d4c6fcabce/files/h5p/temp/h5p-54c7daa521e6a/FontAwesome,sites/default/files/h5p/libraries/FontAwesome-4.1): Input/output error in H5PStorage->savePackage() (line 1267 of/srv/bindings/bca73890d52643c79f8e79d4c6fcabce/code/sites/all/modules/h5p/library/h5p.classes.php).
  • Warning: rename(/srv/bindings/bca73890d52643c79f8e79d4c6fcabce/files/h5p/temp/h5p-54c7daa521e6a/H5P.API,sites/default/files/h5p/libraries/H5P.API-1.0): Input/output error in H5PStorage->savePackage() (line 1267 of /srv/bindings/bca73890d52643c79f8e79d4c6fcabce/code/sites/all/modules/h5p/library/h5p.classes.php).
  • Warning: rename(/srv/bindings/bca73890d52643c79f8e79d4c6fcabce/files/h5p/temp/h5p-54c7daa521e6a/H5P.DragNBar,sites/default/files/h5p/libraries/H5P.DragNBar-1.0): Input/output error in H5PStorage->savePackage() (line 1267 of/srv/bindings/bca73890d52643c79f8e79d4c6fcabce/code/sites/all/modules/h5p/library/h5p.classes.php).
  • Warning: rename(/srv/bindings/bca73890d52643c79f8e79d4c6fcabce/files/h5p/temp/h5p-54c7daa521e6a/H5P.DragNDrop,sites/default/files/h5p/libraries/H5P.DragNDrop-1.0): Input/output error in H5PStorage->savePackage() (line 1267 of/srv/bindings/bca73890d52643c79f8e79d4c6fcabce/code/sites/all/modules/h5p/library/h5p.classes.php).
  • Warning: rename(/srv/bindings/bca73890d52643c79f8e79d4c6fcabce/files/h5p/temp/h5p-54c7daa521e6a/H5P.DragNResize,sites/default/files/h5p/libraries/H5P.DragNResize-1.0): Input/output error in H5PStorage->savePackage() (line 1267 of/srv/bindings/bca73890d52643c79f8e79d4c6fcabce/code/sites/all/modules/h5p/library/h5p.classes.php).
  • Warning: rename(/srv/bindings/bca73890d52643c79f8e79d4c6fcabce/files/h5p/temp/h5p-54c7daa521e6a/H5P.DragQuestion,sites/default/files/h5p/libraries/H5P.DragQuestion-1.1): Input/output error in H5PStorage->savePackage() (line 1267 of/srv/bindings/bca73890d52643c79f8e79d4c6fcabce/code/sites/all/modules/h5p/library/h5p.classes.php).
  • Warning: rename(/srv/bindings/bca73890d52643c79f8e79d4c6fcabce/files/h5p/temp/h5p-54c7daa521e6a/H5P.Image,sites/default/files/h5p/libraries/H5P.Image-1.0): Input/output error in H5PStorage->savePackage() (line 1267 of /srv/bindings/bca73890d52643c79f8e79d4c6fcabce/code/sites/all/modules/h5p/library/h5p.classes.php).
  • Warning: rename(/srv/bindings/bca73890d52643c79f8e79d4c6fcabce/files/h5p/temp/h5p-54c7daa521e6a/H5P.JoubelUI,sites/default/files/h5p/libraries/H5P.JoubelUI-1.0): Input/output error in H5PStorage->savePackage() (line 1267 of /srv/bindings/bca73890d52643c79f8e79d4c6fcabce/code/sites/all/modules/h5p/library/h5p.classes.php).
  • Warning: rename(/srv/bindings/bca73890d52643c79f8e79d4c6fcabce/files/h5p/temp/h5p-54c7daa521e6a/H5P.Text,sites/default/files/h5p/libraries/H5P.Text-1.0): Input/output error in H5PStorage->savePackage() (line 1267 of /srv/bindings/bca73890d52643c79f8e79d4c6fcabce/code/sites/all/modules/h5p/library/h5p.classes.php).
  • Warning: rename(/srv/bindings/bca73890d52643c79f8e79d4c6fcabce/files/h5p/temp/h5p-54c7daa521e6a/H5PEditor.DragQuestion,sites/default/files/h5p/libraries/H5PEditor.DragQuestion-1.0): Input/output error in H5PStorage->savePackage() (line 1267 of/srv/bindings/bca73890d52643c79f8e79d4c6fcabce/code/sites/all/modules/h5p/library/h5p.classes.php).
  • Warning: rename(/srv/bindings/bca73890d52643c79f8e79d4c6fcabce/files/h5p/temp/h5p-54c7daa521e6a/H5PEditor.Wizard,sites/default/files/h5p/libraries/H5PEditor.Wizard-1.0): Input/output error in H5PStorage->savePackage() (line 1267 of/srv/bindings/bca73890d52643c79f8e79d4c6fcabce/code/sites/all/modules/h5p/library/h5p.classes.php).
  • Warning: rename(/srv/bindings/bca73890d52643c79f8e79d4c6fcabce/files/h5p/temp/h5p-54c7daa521e6a/jQuery.ui,sites/default/files/h5p/libraries/jQuery.ui-1.10): Input/output error in H5PStorage->savePackage() (line 1267 of /srv/bindings/bca73890d52643c79f8e79d4c6fcabce/code/sites/all/modules/h5p/library/h5p.classes.php).

2)there are difference in the h5p content part. 

Name a few:

  • class="h5p-container h5p-dragquestion" changed to class="h5p-container only.
  • h5p-inner is gone. ...

Refer to this:

1) clean drupal: http://php-hosaistk.rhcloud.com/node/1

2) clean oa2: http://dev-hosais.pantheon.io/content/drag-and-drop

 

 

falcon's picture

Hi!

I installed OpenAtrium and it works without any problems on my site. See picture below.

I think your problem might be that you're using pantheon. See issue on Drupal.org. We'll probably be adding support for Pantheon in the next version of the module, even if it means that we must move folders in a really stupid way.

Attachments: 

Thank you for your tests and pointing it out the issue. 

I had simiple problem before when the program itself adds or modified the code during the run time. It also has the same issue with openshift. I suppose it is becuase moving the upload libary. The simple solusion (without chaning code) will be moving some code manually, since the need of h5p content types could be not dynamic. Is it possible in this case? any hint about the location or the program so that I can move and copy myself for now?

Thank you very much for the help.

falcon's picture

I think the easiest quick fix for you will be to reinstall the H5P modules, apply the patch from the Drupal issue and then install the H5P libraries.

Thanks falcon for the quick reply. 

After I moved files and reinstalled h5p (without applying the patch), it works very well now (well acceptable) in openshift.  I will try the patch. If I could I will give more feedback in the future. Anyways, the patch is very simple and I also hope there would be official fix. Thank you again.