Course presentation not loading
Submitted by BV52 on Thu, 02/21/2019 - 05:53
Forums:
Hi all,
I have some issues with course presentation: dosen't load. I can put another thing as video or queatios but cousre presentation don't work.
Any advice for me?
Thanks
Florin
Hi Florin,
1. Do you see an error message when creating a Course Presentation?
2. Where are you creating your contents?
-BV52
1. now error message. I only see Loading, please wait... and the gif for loading on the left of the text
2. I create my content on Moodle 3.3
I deinstall moodle and I reinstall it and the issues are still there
BV52
Thu, 02/21/2019 - 06:02
Permalink
Hi Florin,In order to give
Hi Florin,
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
geneklein
Sun, 02/24/2019 - 21:43
Permalink
I'm having the same issue.Let
I'm having the same issue.
Let me try to give you as much info as possible:
A bit more info: The course presentations open after reloading the pages a dozen times, but the buttons for the activities may not load or there's only a Go to slide icon. The resolution of the presentation may be off and I have to edit the font size manually and hope that it would work.
BV52
Mon, 02/25/2019 - 07:22
Permalink
Hi Florin,Thank you for the
Hi Florin,
Thank you for the information. For the errors in the browser console afaik in IE you can use F12 and in Firefox it's Ctrl+Shift+K.
-BV52
geneklein
Mon, 02/25/2019 - 14:23
Permalink
Hi BV52, I'm not Florin, but
Hi BV52, I'm not Florin, but back to the case:
The console logs seem to be clear, I get 200 and 304 status codes. I'm going to look into PHP errors next.
BV52
Tue, 02/26/2019 - 03:09
Permalink
Hi geneklein,I'm sorry I
Hi geneklein,
I'm sorry I think the caffeine has not kicked in yet ;-)
Anyway looking forward for the PHP error logs if there is any. I would also like to request for a screenshot.
Do take note that I am unable to reproduce the issue/s.
-BV52
geneklein
Tue, 02/26/2019 - 13:55
Permalink
Seems I was early to dismiss
Seems I was early to dismiss the console logs. Today the presentation editor failed to load again and here's what I got from the logs.
thomasmars
Wed, 02/27/2019 - 09:10
Permalink
Hi,Unfortunately this is not
Hi,
Unfortunately this is not enough info to determine what is wrong. We're only seeing the symptoms, not what is actually causing this.
It looks like your server is not set up correctly since it is not able to retrieve your library files, I recommend going through the Moodle installation guide in detail: https://docs.moodle.org/36/en/Installing_Moodle, and reinstall the H5P plugin and the libraries.
If it still doesn't work, please enable debugging on the developer level ( https://docs.moodle.org/36/en/Debugging ) to see what PHP errors you are getting.
Best regards, Thomas
geneklein
Wed, 02/27/2019 - 17:44
Permalink
Hi again, ThomasThe thing is
Hi again, Thomas
The thing is that the only content that I'm having issues with right now is Course Presentation, the other types of content have no issues loading any libraries. I've also had the same problem on Wordpress, but today I updated the Course Presentation and, strangely enough, it seems to have fixed the issue for me. I just did a fresh install of the latest H5P version for Moodle (I used 1.14) but the same problem persists. Once I turn on the debugging mode though, what do I need to provide you with and how can I do that?
geneklein
Wed, 02/27/2019 - 19:48
Permalink
Can I somehow delete that
Can I somehow delete that content type and reinstall it without losing all the content itself?
thomasmars
Thu, 02/28/2019 - 09:54
Permalink
Hi,You can download the
Hi,
You can download the example content at https://h5p.org/presentation and upload it to your site to make sure all your libraries are updated with the latest version. If this doesn't update any libraries, you already have the latest version of these libraries, but there could've been some error when they were initially installed. In this case you can set
in your server's settings.php to let you update existing libraries, then upload the file again. It will replace the library files for Course Presentation, which should resolve any potential problems with the initial installation of the library.
When you have set debugging of your server to "DEVELOPER" and 'Display debug messages" they should show on your page whenever you get an error. So if you're getting an error when uploading libraries, turn on this feature and check what information you get, it will be very helpful in figuring out what goes wrong.
- Thomas
geneklein
Thu, 02/28/2019 - 13:09
Permalink
I don't have any errors with
I don't have any errors with the libraries. The Course Presentation content works all the time, but the editor is the one that's not loading. I turned on PHP logging, as well as moodle debugging but I don't see any errors related to the plugin.
BV52
Fri, 03/01/2019 - 01:34
Permalink
Hi geneklein,Have you tried
Hi geneklein,
Have you tried Thomas' suggestion above?
-BV52
geneklein
Fri, 03/01/2019 - 09:04
Permalink
Yes I have, but,
Yes I have, but, unfortunately, it didn't fix the editor. It opens when it feels like it. Sometimes I refresh the page 10-20 times until I get to see the editor working properly. The funny thing is that all the presentations themselves work as intended.
thomasmars
Mon, 03/04/2019 - 10:52
Permalink
Please check the requests in
Please check the requests in your browser's console for any errors in the response. Also check your PHP error log for any errors.
geneklein
Wed, 03/13/2019 - 17:40
Permalink
Can you suggest how to debug
Can you suggest how to debug this in WordPress? I don't want to risk losing stuff on moodle and I have the same problem in my blog.
BV52
Thu, 03/14/2019 - 02:40
Permalink
Hi geneklein,Are there any
Hi geneklein,
Are there any errors in the browser console when you see this issue?
-BV52
geneklein
Thu, 03/14/2019 - 16:43
Permalink
Hi BV52,I've uploaded
Hi BV52,
I've uploaded screenshots of the console logs back in 26.02. Those are the types of errors that I'm getting.
thomasmars
Fri, 03/15/2019 - 09:51
Permalink
Please look in your PHP error
Please look in your PHP error log to see what it reports when this happens.
geneklein
Fri, 03/15/2019 - 10:18
Permalink
I've turned on PHP logging
I've turned on PHP logging and saw nothing at all. That's why I'm asking if there's any way to see PHP logs in Wordpress.
BV52
Wed, 03/20/2019 - 23:56
Permalink
Hi geneklein,Sorry for the
Hi geneklein,
Sorry for the late reply.
You can learn more about this here:
https://h5p.org/documentation/troubleshooting-php
-BV52
geneklein
Fri, 03/22/2019 - 12:57
Permalink
No worries, BV52I'll try the
No worries, BV52
I'll try the advice in your link at the weekend and get back to you about it. :)
Roberto Becerra
Tue, 04/23/2019 - 11:47
Permalink
Had same issue, fixed by updating libraries
Hi all, I had exactly the same issue, only with the Course Presentation editor not showing, it was not found in moodle. The solution was to update all other H5P libraries, directly from the H5P Hub.