In Pantheon environments, it seems the method the H5P module uses to copy directories is not allowed - see http://helpdesk.getpantheon.com/customer/portal/articles/745361-known-li... . This results in a series of warnings when a user uploads a .h5p library to the site, along the lines of
Warning: rename(/srv/bindings/[binding]/files/h5p/temp/h5p-54aad10dc14ad/H5P.Timeline,sites/default/files/h5p/libraries/H5P.Timeline-1.0): Input/output error in H5PStorage->savePackage() (line 1267 of /srv/bindings/[binding]/code/sites/all/modules/contrib/h5p/library/h5p.classes.php).
Warning: rename(/srv/bindings/[binding]/files/h5p/temp/h5p-54aad10dc14ad/TimelineJS,sites/default/files/h5p/libraries/TimelineJS-1.0): Input/output error in H5PStorage->savePackage() (line 1267 of /srv/bindings/[binding]/code/sites/all/modules/contrib/h5p/library/h5p.classes.php).
Because the library is never moved to the correct location, creating a H5P content item results in an empty node and several 404 warnings, basically rendering H5P nonfunctional on Pantheon websites.
For reference, this issue https://www.drupal.org/node/2238209 seems to be dealing with the exact same limitation.
Comments
Comment #1
drinkdecaf commentedThis seems to fix the issue for us.
Comment #2
icc commentedComment #3
falcon commentedThis has now been added to 7.x-1.x-dev and will be a part of our next release