Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author icc0rz

    (@icc0rz)

    That is very strange, seems like the folders are seen as files. Do you know if the file originated from a linux or windows system? Also, are you trying to upload to a windows or linux host.

    Do you know what PHP version both systems are using?

    Thread Starter vardaam

    (@vardaam)

    The originated file is from Windows system. We have tried uploading to both Windows and Linux host. We received the same error.

    The PHP version is 8.1

    Plugin Author icc0rz

    (@icc0rz)

    It appears this is a general windows issue if the file has been opened and saved in a ziptool that provides separate entries for folders in the zip file. Maybe someone opened the file by accident and modified it without knowing it.

    You can read more about it here: https://h5p.org/node/617131

    The WordPress plugin does not appears to add these entries regardless of the host system being Windows or Linux. So either it has been modified by another system or a different ziparchive extension has been compiled into the PHP build on the origin system.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Validating h5p package failed’ is closed to new replies.