Waiting for JavaScript in Moodle

Hi,

We are getting "Waiting for JavaScript..." in Moodle. The Moodle version  is 3.3, PHP version is 5.6 and H5P version is 1.20.2. Please see the screenshot.

 

There is not any error in the console. Please assist. Thank you. 

Attachments: 

Please check the screenshot attached.

Attachments: 
BV52's picture

Hi yasir,

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

If it worked before:

  1. Any recent changes to the environment (new plugins/modules, updates, configuration changes etc.)
  2. 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!

-BV

billyjoecain's picture

Hello everyone. First time poster. 

We have an online course and I've been working with it constantly. When we switched to a new host, all our H5P stuff stopped working and so far, I've not been able to pinpoint WHEN it happened or WHAT caused it to happen. I'm just dealing with it and considering re-creating all our course materials. 

So here's the question. 

While I'm seeing this "Waiting for javascript" error message, is there a way to FIND my old data (perhaps it is in an old backup?) and import it into a new install of WordPress? 

 

I am trying to re-create my WordPress installation right now and try to break it again, so I can give you the steps to re-create it.

Attachments: 
billyjoecain's picture

Hi! 

MORE BACKGROUND: I don't know why this happened, but when I look for my H5P content now, I get "Waiting on Javascript." I've gone back to ALL my old backups. This worked perfectly until I changed hosts. And now NONE of those backups have H5P content. They ALL say "Waiting on Javascript." This makes no sense to me. 

I have tried deactivating every plug-in. Same result. I have even deleted H5P. 

After the H5P re-install, it says "No H5P content available. You must upload or create new content."

My thinking was I could IMPORT the old stuff, but there's no EXPORt file. And I cannot EXPORT it when it's saying "Waiting on Javascript." 

Where is that data? I have everything. I have the H5P directories.

I tried adding all the H5P directories on a new staging site to no avail. "No H5P content available. You must upload or create new content.

I'm pretty frustrated but I want to keep using H5P.

Thanks for any advice. 

Billy Joe