No content type is loading

Good afternoon; after upgrading to the most recent versión my moodle 3.3 site the contents don't load. Please help! 

BV52's picture

Hi,

In order to give your bug report the best chance of getting answered, please include the following information:

  1. Detailed steps to reproduce the bug (exactly how and when did it happen)
  2. Platform and version number. E.g. Drupal, Wordpress, Moodle.
  3. Mobile or Desktop
  4. Browser: Chrome, Firefox, Safari etc
  5. H5P plugin version
  6. H5P content type and version (if a content type was used), and a sample URL or attached H5P.
  7. Any browser console errors
  8. Any PHP errors
  9. Screenshots if it's a visual problem
  10. Any recent changes to the environment (new plugins/modules, updates, configuration changes etc.)
  11. Any recent changes to the browser you're using (new extensions, updates etc.)

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

Hi! This problem arose after upgrading H5P to the latest versión (1.16). My platform is Moodle 3.3.1 and PHP 7.1.26. I have checked with Firefox, Chrome and Safari. When I try to edit a content or create a new one the module doesn't load: the screen shows "please, loading content" and that is all. It is so in every content, not only in Dictation, as it appears in the image caption.

BV52's picture

Hi jimenezna,

Thank you for the additional information. Can try checking if another plugin may be interfering with H5P. A security or theme plugin sometimes does this. If after disabling them the issue persists please check the browser console (On Windows and Linux: Ctrl + Shift + J. On Mac: Cmd + Option + J) if there are any errors.

-BV52

Hi! Presently I use adaptable as main theme and it doesn't cause any problema. I have copied the error console in Mozilla Firefox. It is like this:

OpenGL compositor Initialized Succesfully.
Version: 2.1 ATI-1.66.31
Vendor: ATI Technologies Inc.
Renderer: AMD Radeon HD 6750M OpenGL Engine
FBO Texture Target: TEXTURE_2D
Unkown category for SetEventRecordingEnabled.
Ha fallado la carga del <script> con origen "https://d3usyxos00s4ty.cloudfront.net/view/static/js/main.30e37a5e.js". 5b3686618967b24510a8164b:1:1
Ha fallado la carga del <script> con origen "https://mediateca.educa.madrid.org/js/jquery-1.11.3.min.js". fs:14:1
Ha fallado la carga del <script> con origen "http://www.cideadcisneros.com/theme/yui_combo.php?m/1552075914/course/ca...". www.cideadcisneros.com:1:1
TypeError: Y.Moodle is undefined www.cideadcisneros.com:324:52
Ha fallado la carga del <script> con origen "http://www.cideadcisneros.com/lib/javascript.php/1552075914/lib/requirej...". www.cideadcisneros.com:1:1
Error: Script error for "jqueryprivate", needed by: core/first
http://requirejs.org/docs/errors.html#scripterror require.min.js:1:1067
Ha fallado la carga del <script> con origen "http://platform.twitter.com/widgets.js". www.cideadcisneros.com:1:1
Image corrupt or truncated. Logo total.jpg
Image corrupt or truncated. christmas.PNG
Image corrupt or truncated. examenes.jpg
Image corrupt or truncated. cisneriana.PNG
Ha fallado la carga del <script> con origen "https://mediateca.educa.madrid.org/js/common.js?v=20181026". fs:16:1
Campos de contraseña presentes en una página insegura (http://). Esto es un riesgo de seguridad que permite que se roben las credenciales de inicio de sesión de los usuarios.[Saber más] index.php
OpenGL compositor Initialized Succesfully.
Version: 2.1 ATI-1.66.31
Vendor: ATI Technologies Inc.
Renderer: AMD Radeon HD 6750M OpenGL Engine
FBO Texture Target: TEXTURE_2D
Error: Syntax error, unrecognized expression: # jquery-3.1.0.min.js:1:13126
Ha fallado la carga del <script> con origen "https://d3usyxos00s4ty.cloudfront.net/view/static/js/main.30e37a5e.js". 5b3686618967b24510a8164b:1:1
Ha fallado la carga del <script> con origen "https://mediateca.educa.madrid.org/js/jquery-1.11.3.min.js". fs:14:1
Ha fallado la carga del <script> con origen "http://platform.twitter.com/widgets.js". www.cideadcisneros.com:1:1
Image corrupt or truncated. loader.gif
Image corrupt or truncated. christmas.PNG
Image corrupt or truncated. logo_consejeria_grande_777x216.jpg
Image corrupt or truncated. cisneriana.PNG
ReferenceError: $ is not defined common.js:1032:1
ReferenceError: $ is not defined fs:83:17
Ha fallado la carga del <script> con origen "https://mediateca.educa.madrid.org/includes/player/latest/jwplayer.js". fs:1:1
Error: Syntax error, unrecognized expression: # jquery-3.1.0.min.js:1:13126
Ha fallado la carga del <script> con origen "http://www.cideadcisneros.com/mod/hvp/library/js/jquery.js?ver=2019030700". embed.php:43:1
Ha fallado la carga del <script> con origen "http://www.cideadcisneros.com/lib/javascript.php/1552075914/blocks/compl...". view.php:1:1
TypeError: M.block_completion_progress is undefined view.php:981:96
TypeError: H5P.jQuery is not a function h5p.js:17:15

    <anonymous> http://www.cideadcisneros.com/mod/hvp/library/js/h5p.js?ver=2019030700:17

NS_ERROR_NOT_INITIALIZED: jquery-3.1.0.min.js:2
Ha fallado la carga del <script> con origen "http://www.cideadcisneros.com/mod/hvp/library/js/h5p-content-type.js?ver...". embed.php:48:1
Error: Syntax error, unrecognized expression: # jquery-3.1.0.min.js:1:13126

    error7jQuery
    c http://www.cideadcisneros.com/lib/requirejs.php/1552075914/core/first.js... b http://www.cideadcisneros.com/lib/requirejs.php/1552075914/core/first.js... each2jQuery
    b http://www.cideadcisneros.com/lib/requirejs.php/1552075914/core/first.js... dispatch2jQuery

Ha fallado la carga del <script> con origen "http://www.cideadcisneros.com/theme/yui_combo.php?m/1552075914/course/ut...". view.php:1:1
TypeError: M.course.init_section_dragdrop is not a function view.php:20167:74
OpenGL compositor Initialized Succesfully.
Version: 2.1 ATI-1.66.31
Vendor: ATI Technologies Inc.
Renderer: AMD Radeon HD 6750M OpenGL Engine
FBO Texture Target: TEXTURE_2D
Removed unsafe attribute. Element: svg. Attribute: xlink. react-dom.js:5811:4
Removed unsafe attribute. Element: svg. Attribute: xmlns. react-dom.js:5811:4
Removed unsafe attribute. Element: svg. Attribute: version. react-dom.js:5811:4
Removed unsafe attribute. Element: svg. Attribute: xlink. react-dom.js:5811:4
Removed unsafe attribute. Element: svg. Attribute: xmlns. react-dom.js:5811:4
Removed unsafe attribute. Element: svg. Attribute: version. react-dom.js:5811:4
Removed unsafe attribute. Element: svg. Attribute: xlink. react-dom.js:5811:4
Removed unsafe attribute. Element: svg. Attribute: xmlns. react-dom.js:5811:4
Removed unsafe attribute. Element: svg. Attribute: version. react-dom.js:5811:4

 

Any clue?

Thanks

Juan José Jiménez

icc's picture

It looks like you have some scripts that are unrelated to H5P crashing, which in turn prevents H5P from running.
It looks like the issues are related to cross-origin headers. This could be due to your Content Security Policy

Buen dia

El dia ade hoy desarrollando contenido por la opción de presentation, seleccione en opciones de comportamiento/ Activar el modo de Navegación Gestual y arraiz de esto NO me deja visualizar  la presentación, que da  la pantalla en blanco, aunque desde la edición puedo seguir trabajando. sabes como puedo desactivar nuevamente dicha opcion.

 

Quedo atenta

BV52's picture

Hi ANACRUZ,

If I'm not mistaken what you enabled was the "Surface Mode" this cannot be disabled once enabled. If the user is seeing the blank screen can you please check if there any browser console errors.

-BV52