H5P Validating h5p package failed after updating plugin to H5P 1.14.1

Forums: 

After updating the H5p plugin in Wordpres  to H5P 1.14.1.

When trying to upload packages I always get the following error Message (in different Variations):

"

Validating h5p package failed.

File "FontAwesome-4.5/" not allowed. Only files with the following extensions are allowed: json png jpg jpeg gif bmp tif tiff svg eot ttf woff woff2 otf webm mp4 ogg mp3 m4a wav txt pdf rtf doc docx xls xlsx ppt pptx odt ods odp xml csv diff patch swf md textile vtt webvtt js css.Get help

File "H5P.Audio-1.2/" not allowed. Only files with the following extensions are allowed: json png jpg jpeg gif bmp tif tiff svg eot ttf woff woff2 otf webm mp4 ogg mp3 m4a wav txt pdf rtf doc docx xls xlsx ppt pptx odt ods odp xml csv diff patch swf md textile vtt webvtt js css.Get help ............"

 

This happens with all my H5P packages which worked perfectly fine before updating.

What can I do?

 

Summary: 
Problem uploading packages after update
Content types: 
BV52's picture

Hi armadillo,

Can you please attach a sample file here so that we try to reproduce the issue.

-BV52

Yes sure, attached a sample file. But same happpens with all my h5p-files

H5P file: 
Attachments: 
BV52's picture

Hi armadillo,

Did you create this file or downloaded it somewhere?

-BV52

studyaid's picture

The attached image shows the empty directories that are giving you an issue in your compressed h5p file that you provided by running zipinfo in terminal.

 

Attachments: 
studyaid's picture

Take a look at the thread below.  This seems to be a common occurrence when you modify and compress the h5p package again.

https://h5p.org/comment/30255#comment-30255

serettig's picture

How were these packages created? Did you change their contents manually?