h5p File doesn't upload in moodle

Submitted by cclate on Thu, 05/12/2016 - 03:13

i just see a blank page. why?

falcon

Thu, 05/12/2016 - 10:15

Permalink

From the gitter chat:

From the gitter chat:
Frode Petterson @icc 09:02
If you open your browser's console(Ctrl+Shift+J in Chrome), do you see any error messages?
Do you see any relevant messages in your web server's error_log?

Frode Petterson @icc 09:13
Did you download the plugin from h5p.org or GitHub?

RevistaHabla

Wed, 04/12/2017 - 17:44

Permalink

I am trying to include an H5P

I am trying to include an H5P activity and it shows nothing. The error I get when I check the console is:

Failed to load resource: the server responded with a status of 404 (Not Found) 243a0aec7ec6b51673c9b4916c06c2f83a65ff28.css

Failed to load resource: the server responded with a status of 404 (Not Found) 243a0aec7ec6b51673c9b4916c06c2f83a65ff28.js

Unable to find constructor for: H5P.ImageHotspotQuestion 1.5 h5p.js:843

H5P.error @ h5p.js:843

h5p.js:963 Uncaught TypeError: Cannot read property 'getCopyrights' of undefined

at Object.H5P.getCopyrights (h5p.js:963)

at HTMLDivElement.<anonymous> (h5p.js:149)

at Function.each (jquery.js:2)

at init.each (jquery.js:2)

at Object.H5P.init (h5p.js:92)

at HTMLDocument.<anonymous> (h5p.js:2012)

at c (jquery.js:2)

at Object.fireWith [as resolveWith] (jquery.js:2)

at Function.ready (jquery.js:2)

at HTMLDocument.H (jquery.js:2)

243a0aec7ec6b51673c9b4916c06c2f83a65ff28.css Failed to load resource: the server responded with a status of 404 (Not Found)

I assume that some files are missing.

Also (and I don't know if this is the place to ask) I can't upload a picture to use de Find the Hotspot activity.

Thank you in advance.

icc

Tue, 04/18/2017 - 09:21

Permalink

That is strange. Try

That is strange. Try following the guide here to reinstall the content types: Update/install all recommended content types

Keep an eye on your web server's error_log while doing this. There may be some useful information if something goes wrong.

If that doesn't work there are some option you can add to the config.php file(at the end) that will help print any error messages:

@error_reporting(E_ALL | E_STRICT); // NOT FOR PRODUCTION SERVERS!
@ini_set('display_errors', '1'); // NOT FOR PRODUCTION SERVERS!
$CFG->debug = (E_ALL | E_STRICT); // === DEBUG_DEVELOPER - NOT FOR PRODUCTION$
$CFG->debugdisplay = 1; // NOT FOR PRODUCTION SERVERS!
$CFG->mod_hvp_dev = 1;
$CFG->mod_hvp_aggregate_assets = 1;

Remember to remove them once you're done.

adrinoname

Fri, 06/03/2016 - 11:35

Permalink

I get the same error

Hi, when I click on H5P libraries (site administration/plugins/activities modules/H5p... etc.) it shows a 404 page.

I send you a screen shot of the error that shows on the element inspector of Chrome. I hope you can help me to solve this problem. I really like to use your activities and it's such a shame not been able to use it as a pluging on moodle yet.

Thanks a lot!

Attachments:

falcon

Fri, 06/03/2016 - 11:58

Permalink

Jikes, which version of the

Jikes, which version of the Moodle plugin are you using? Is it the on on h5p.org/moodle, or have you downloaded from github?

adrinoname

Fri, 06/03/2016 - 12:12

Permalink

Moodle and github

First I've downloaded from h5p.org, when it didn't work I've uninstalled and downloaded the github version and now I can't even install the plugin, it says some moodle assign files are missing. The version was 0.2.0 on H5P, and 0.2.0 of February the 1st on github.

Thanks.

falcon

Fri, 06/03/2016 - 12:47

Permalink

There will be a new Moodle

There will be a new Moodle version ready very soon. You can try out from github now. We're regression testing it but the devs says it should work, or you could wait until next week when we release a new version.

adrinoname

Fri, 06/03/2016 - 18:30

Permalink

Thanks!

Ok, I'll try again with the github version. Anyway I'll be waiting for the new release next week. Thanks a lot. :)

deepakbhasi

Thu, 12/29/2016 - 10:11

Permalink

Seeing white screen

I am not able to see any editor or even when i uploaded the h5p files created from h5p site, its not showing anything. Im using moodle 3.2 version. dont know if its any version compatibility. Kindly guide.

thomasmars

Mon, 01/02/2017 - 09:45

Permalink

Hi,

H5P is not yet officially supported in Moodle 3.2. Some fixes for Moodle 3.2 can be found in this thread: https://h5p.org/node/38304, and should be officially released within this month.
Do you get any errors in your console when the H5P fails to show ?

- Thomas

deepakbhasi

Mon, 01/30/2017 - 06:19

Permalink

H5P editor not loading

Hi, Im writing in continuation to the previous mail. I have upgraded the hvp plugin to the 3.2 version as my moodle is running at 3.2. im attaching the screen shot for your reference. Kindly let me know if anything can be done to rectify the same.

Attachments:
Image icon h5p.png

thomasmars

Mon, 01/30/2017 - 10:37

Permalink

Hi, it appears like you are

Hi, it appears like you are missing one or more H5P libraries.
Installing the latest official libraries package from https://h5p.org/update-all-content-types should resolve this for you.

- Thomas

deepakbhasi

Thu, 02/09/2017 - 05:57

Permalink

Problem still persists after updating the library package

Hi, I have tried installing the updated library as suggested. Still the problem persists. Kindly suggest if anything else can be done to reolve the same.

Attachments:
Image icon H5p.png

deepakbhasi

Thu, 02/09/2017 - 06:27

Permalink

Blank screen

Hi, Just wasnted to update that even when i upload a h5p video created from the h5p.org, its showing blank screen.

thomasmars

Thu, 02/09/2017 - 09:01

Permalink

Hi,

Can you have a look in your browser console (F12) and see what errors you are getting there ?
Also check your server php error log, and show us what you find.
What version of the H5P plugin are do you have on your server ?

- Thomas

deepakbhasi

Thu, 02/09/2017 - 10:36

Permalink

Browser console

I am not able to find any errors in the Browser console. The version of H5P that i downloaded is for Moodle 3.2. The file name is - official-h5p-release-20170120.

I am not sure how to check the php error log.

thomasmars

Fri, 02/10/2017 - 08:57

Permalink

The php error log is located

The php error log is located on your web server, decided by your configuration, but usually it can be found at one of the locations indicated in this post.

Also make sure that your webserver has read and write permissions to your moodle data folder, and see if you can find an answer to your problem from this thread that have had similar problems.

elaclare

Thu, 12/21/2017 - 01:33

Permalink

embedded H5P and Moodle Mobile app

Hello. Once I discovered that H5P content can be enbedded throughout a Moodle site, it occurred to me that this might be a way to get H5P content to fuction in the Moodle Mobile app. I created some H5P content and added it to a Moodle Lesson. The content displays well through the browser, but when viewing in the Moodle Mobile app users see the following message "You do not have access to this content. Try logging in."

I know that creating an add-on for the Moodle Mobile app is extremely challenging, but if it were possible to include H5P content in the app via iframes, this would be an incredibly useful work-around.

Attachments:
Image icon IMG_1972.PNG

falcon

Thu, 12/21/2017 - 15:27

Permalink

That is a very good idea.

That is a very good idea. Were you logged in via the mobile app with a user that had access to the H5P content if logged in via normal web?

landrex90

Mon, 09/16/2019 - 19:22

Permalink

El complemento no instala

Hola

Alguien me puede ayudar, cuando intento instalar por las dos opciones la imagen se queda en blanco

Attachments:
Image icon error.JPG

BV52

Tue, 09/17/2019 - 18:29

Permalink

Hi landrex90,Would you mind

Hi landrex90,

Would you mind providing the following:

  1. Platform and version number. E.g. Drupal, Wordpress, Moodle.
  2. Any browser console errors
  3. Any PHP errors

-BV52