Importation of file in WP don't work
Submitted by Florent on Mon, 09/08/2014 - 16:49
Forums:
I've some problem to use the H5P module for wordpress.
The plugin is activated and when i try to upload any h5P file, there are always error (not dependant to the upload file limit). I've test it for 3 or 4 differents exemples (interactive video, drag and drop and iframe...)
The module give me some information about the error, but i don't know what to do with that.
A valid content folder is missing
A valid main h5p.json file is missing
Do you have any idea to help me ?
Thanks
icc
Tue, 09/09/2014 - 09:24
Permalink
Where did you get the .h5p
Where did you get the .h5p file?
Florent
Tue, 09/09/2014 - 09:36
Permalink
from the exemple : http://h5p
from the exemple : http://h5p.org/content-types-and-applications
Florent
Tue, 09/09/2014 - 09:37
Permalink
One of them ...
One of them ...
icc
Tue, 09/09/2014 - 09:45
Permalink
Thank you. The file works
Thank you. The file works fine on my local WP, so I'm guessing it has something to do with your server environment. Do you have any error messages in your web server's error log?
Florent
Tue, 09/09/2014 - 11:07
Permalink
i've made a wp environment
i've made a wp environment specifically to test h5P. I creat it and just install H5P (and i made it two times).
They are no error displayed on the log ....
Florent
Fri, 09/12/2014 - 11:09
Permalink
No idea ?
No idea ?
On the console i have this error:
http://oursite.org/wordpress/wp-content/plugins/h5p/h5p-php-library/js/j...
Request Method:GET
Status Code:404 Not Found
I don't find this file on the installation folder of H5P, is it normal ?
fnoks
Fri, 09/26/2014 - 11:21
Permalink
This error-message is
This error-message is expected. We will make it go away in a future release of the plugin.
Florent
Tue, 09/16/2014 - 13:53
Permalink
I've find a solution.
I've find a solution.
When I've done my first test, i do not have access to the folder by ftp.
I propose to explain the problem with a specific error message to help people to not have this problem.
fnoks
Fri, 09/26/2014 - 11:22
Permalink
Thank you for your report. We
Thank you for your report. We will try to handle this error-situation better in future releases of the plugin!
zanm
Wed, 07/22/2015 - 22:23
Permalink
Having the same problem
Has this been resolved. Just tried uploading a .h5p file and got the messages listed below. Any thoughts/suggestions?
thomasmars
Thu, 07/23/2015 - 09:52
Permalink
Hi Zanm
We have improved error messages in the latest versions of the plugin. Is this a .h5p file from h5p.org ?
The H5P plugin is not able to verify that the content and main json of your .h5p file is valid/exists. This is most likely due to a corrupt .h5p file or improper server permissions. Please check that you have the correct permissions for H5P on your server.
Have a look at: this post, which had a similar problem. Let me know if this works out for you! :)
zanm
Thu, 07/23/2015 - 13:50
Permalink
thomasmars
Thank you for the quick reply. I tried a different file from h5p.org and that file worked. I belive the problem was with the file that was sent to me for testing. It was the library file, which included all examples and we thought it would import all at one time. We should be good to go.
Again, appreciate your time and help.
zanm
thomasmars
Thu, 07/23/2015 - 14:38
Permalink
Hi Zanm
H5P libraries must be added at the "H5P libraries" menu. Only H5P "content" may be uploaded through the H5P upload option. For adding the library file follow the description at the following page in our documentation: Update all content types
Glad it worked out, hope you enjoy working with H5P! :)