Fail to upload any H5P file
Submitted by peifa on Wed, 11/18/2015 - 05:19
Hi,
When I upload H5P file, I always get error.
- Warning: ZipArchive::extractTo() [ziparchive.extractto]: Unable to access /home/icon/public_html/example/sites/default/files/h5p/temp/h5p-564bfa065f4fa/EmbeddedJS-1.0/js inH5PValidator->isValidPackage() (line 681 of/home/icon/public_html/example/sites/all/modules/h5p/library/h5p.classes.php).
- A valid content folder is missing
- A valid main h5p.json file is missing
- The uploaded file was not a valid H5P package
H5P file:
falcon
Wed, 11/18/2015 - 10:04
Permalink
Hi, and welcome to the H5P
Hi, and welcome to the H5P forum!
Have you been able to upload any other H5P files? It might be a permission problem on your server if you're not able to upload any H5Ps.
peifa
Wed, 11/18/2015 - 10:22
Permalink
https://h5p.org/fill-in-the-blanks
Hi, Thank for your reply
So far only https://h5p.org/fill-in-the-blanks is able to upload.
Best Regards
peifa
Thu, 11/19/2015 - 03:11
Permalink
Need help
The rest all cannot. I need help.
falcon
Thu, 11/19/2015 - 14:40
Permalink
Hard to tell what is wrong
Hard to tell what is wrong here. This might be relevant:
http://stackoverflow.com/questions/12446583/php-warning-ziparchiveextrac...
Could you try to install all H5P content types at once and see if that works?
https://h5p.org/update-all-content-types