Wordpress content error
Submitted by jacobwindham on Sun, 10/15/2017 - 22:24
I've installed the h5p wordpress plugin and activated without problems. But if I attempt to add a new hp5 element, I get the error:
Validating h5p package failed.
This error occurs if I try to create a new project or if I attempt to upload one that was saved locally.
Worpress version: 4.8.2
PHP: 7.1
icc
Mon, 10/16/2017 - 09:42
Permalink
Could you post the file you
Could you post the file you're trying to upload?
jacobwindham
Mon, 10/16/2017 - 13:03
Permalink
It shows the error anytime I
It shows the error anytime I try to make a project.
icc
Tue, 10/17/2017 - 12:03
Permalink
It looks like your setup is
It looks like your setup is missing some of the requirements for downloading and unpacking files. To be certain you need to change the code to print all of the error messages. You can do this by changing line 277 of the wp-content/plugins/h5p/h5p-editor-php-library/h5peditor-ajax.class.php file to look like this:
Now, the next you try to install a content type you should get the real error message.
Alternatively, you could try to download some example content from the examples and downloads page here on h5p.org and then upload the .h5p file to the H5P Libraries page on your WordPress installation.