Invalid language file .en.json in library
Submitted by jakemeister on Sat, 11/10/2018 - 18:17
After installing the plugin in Wordpress 4.9.8, I do not have the options to add new content as shown on the page:
https://h5p.org/documentation/setup/wordpress
Click "Select Content Type" to open the H5P Hub
There are simply no options
--
I believe I found the content I wanted here:
https://github.com/h5p/h5p-interactive-video
But when trying to upload the file "h5p-interactive-video-master" into Upload Libraries section I get this error:
"Invalid language file .en.json in library h5p-interactive-video-master"
When I try to upload it to the Add New section, I get these errors:
- Invalid language file .en.json in library h5p-interactive-video-master
- A valid content folder is missing
- A valid main h5p.json file is missing
Help!
otacke
Sat, 11/10/2018 - 20:15
Permalink
Hi Jake!The repository
Hi Jake!
The repository downloads from github don't provide you with installable libraries. They'll have to be (built and) packed first.
What exactly do you see? Are there any error messages in the browser console?
In order to give your bug report the best chance of getting answered by someone in the community, please include the following information:
The more information you provide, the quicker the community will be able to fix it and the quicker you'll have a working solution!
Best,
Oliver
jakemeister
Wed, 11/14/2018 - 14:17
Permalink
Still trying to fix
* Detailed steps to reproduce the bug (exactly how and when did it happen)
1 - Download zip from https://github.com/h5p/h5p-interactive-video
2 - Tried to upload into Wordpress through Add New and Libraries.
* Platform and version number. E.g. Drupal, Wordpress, Moodle.
- Wordpress 4.9.8
* Mobile or Desktop
- Desktop
*Browser: Chrome, Firefox, Safari etc
- Chrome
* H5P plugin version
- H5P 1.11.2
* H5P content type and version (if a content type was used), and a sample URL or attached H5P.
- Interactive Video: https://github.com/h5p/h5p-interactive-video
* Any browser console errors
- I don't have any
* Any PHP errors
When uploading through Add New, I get this:
Invalid language file .en.json in library h5p-interactive-video-master
A valid content folder is missing
A valid main h5p.json file is missing
When uploading through Libraries, I get this:
Invalid language file .en.json in library h5p-interactive-video-master
*** The first issue is that after installing the plugin in Wordpress, I do not have the options to add new content as shown on the page:
https://h5p.org/documentation/setup/wordpress
Click "Select Content Type" to open the H5P Hub
There are simply no options
Screenshots if it's a visual problem
otacke
Wed, 11/14/2018 - 18:53
Permalink
Hi Jake!Have you already had
Hi Jake!
Have you already had a look at the readme of the Interactive Video repository?
The github repositories are not intended to provide you with installable h5p files. They hold all the stuff that's required for development. You'll find information on how to build and pack the library in the readme.
Is there any reason why you don't want to use the H5P Hub? It will always provide you with the release version. You can, of course, try the master branch from github as well, but this may contain bugs. Anyway, at least make sure to download the release branch.
Best,
Oliver
jakemeister
Sat, 11/17/2018 - 20:14
Permalink
No H5P Hub Available
The problem is that there is nothing populated in the Hub
otacke
Mon, 11/19/2018 - 09:13
Permalink
Hi Jake!I noticed that you
Hi Jake!
I noticed that you have not mentioned any JavaScript errors showing the dev console or any PHP errors that may be listed in the webserver's error log for the Hub issue, but only for your problem when uploading. It's really hard to say what might be wrong without those hints. Could you please provide them?
Best,
Oliver
jakemeister
Mon, 11/26/2018 - 22:11
Permalink
No Webserver Errors
Hi Oliver,
There are no webserver errors. It is simply that the plugin isn't functioning as described. I can show you a screenshot of what I see, but there are no options in the Hub at all. Everything is up to date on me end.
Thanks,
Jake
jakemeister
Thu, 11/15/2018 - 02:01
Permalink
No H5P Hub Available
I would like to use the Hub, but it is not populated after I installed the plugin. There are no options in the dropdown.
BV52
Thu, 11/15/2018 - 06:16
Permalink
Hi jakemeister,In order to
Hi jakemeister,
In order to give your bug report the best chance of getting answered, please include the following information:
The more information you provide, the quicker the community will be able to fix it and the quicker you'll have a working solution!
-BV52
jakemeister
Sat, 11/17/2018 - 20:12
Permalink
No H5P Hub Available
I have already replied with all this information.
Why is there nothing populated in the H5P Hub? That is the problem.
BV52
Mon, 11/19/2018 - 02:35
Permalink
Hi jakemeister,Sorry I did
Hi jakemeister,
Sorry I did not notice the comment above.
-BV52
jakemeister
Tue, 11/20/2018 - 02:27
Permalink
Hub not populated
So what do I do about the hub problem? I can't wait to get started building my school with H5P, but I can't get around this problem.
jakemeister
Sat, 11/24/2018 - 15:58
Permalink
Hub Not Populated
So what do I do about the hub problem? I can't wait to get started building my school with H5P, but I can't get around this problem.
otacke
Sun, 11/25/2018 - 02:12
Permalink
https://h5p.org/comment/24117
https://h5p.org/comment/24117#comment-24117
jakemeister
Mon, 11/26/2018 - 22:12
Permalink
No Webserver Errors
Hi Oliver,
There are no webserver errors. It is simply that the plugin isn't functioning as described. I can show you a screenshot of what I see, but there are no options in the Hub at all. Everything is up to date on me end.
Thanks,
Jake
otacke
Mon, 11/26/2018 - 22:39
Permalink
Hi Jake!Just to make sure we
Hi Jake!
Just to make sure we're on the same page: You have
a) observed the developer console (usually opened by pressing F12) while loading the page, and it does not list any JavaScript errors or network errors.
b) checked the PHP error log file of your web server, and among the latest lines that were added, it doesn't show anything that's related to the Hub.
If both is true, I don't see any way we could possibly help you, unfortunately.
Cheers,
Oliver
jakemeister
Thu, 12/06/2018 - 15:22
Permalink
Problem Solved
This problem has been solved. I simply selected "Use H5P Hub" within the plugin settings. I am sure that it would seem an obvious think to do, to look within the Settings, but not for someone who isn't software inclined at all!
BV52
Fri, 12/07/2018 - 07:15
Permalink
Hi Jakemeister,I'm glad this
Hi Jakemeister,
I'm glad this is now resolved although I'm not sure what happened. Even without the hub it should still let you use the contents that are already installed and everynow and then it asks you if you want to enable it.
-BV52