Course Presentation could not be installed - Moodle 3.3
Submitted by [email protected]... on Thu, 11/02/2017 - 16:09
Hi I have just set up H5P for moodle 3.3. Upon installing Course Presentation I get the following message "Course Presentation could not be installed. Contact your administrator." When I retry the instalation seems to be a success, but when I use Course Presentation, the editor does not appear. The same happens with Interactive video. There is anly the option for :
Other content seem to be working just fine.
Am I missing someting? I am the site admin. Shoud I be changing any settings?
Fri, 11/03/2017 - 13:09
Please check your PHP log for
Please check your PHP log for any errors and check your browser's console log for any errors.
Make sure that you have configured PHP properly with all the extensions listed in https://h5p.org/installation/configure-php.
Fri, 11/03/2017 - 14:50
Thank You Thomas
Thanks, will let you know when the issue is resolved
Sat, 11/04/2017 - 13:10
Failed to load resource: the server responded with status of 500
My Browser's console reports the following error: Failed to load resource: the server responded with a status of 500 (Internal Server Error)
Ajax request failed
The source is: /hvp/editor/scripts/h5peditor.js?ver=2017083100
The editor wont load for any of the resources. For now I am only able to make content inH5P and embed it in moodle, untill I can find someone more advanced to help me sort out the problem. I was able to increase the upload_max_filesize and post_max_size. to 64M. Thats the max that my host will allow. I can also confirm that the php extension ZipArchive is afailable, but I couldn't find or locate mbstring. I also have no idea how to solve this if that is causing the problem since my server is an Apatche web server and there is no php.ini file can only do overides via a .htaccess files. For the moment I'm stuck, but will continue to work at getting this sorted, because I love what is possible with H5P.
Mon, 11/06/2017 - 14:34
Hi, you must contact your
Hi, you must contact your host if you do not have full control of the php environment and make them add the extensions for you.
If you have control over the environment, following a guide for installing them should help you out: http://php.net/manual/en/install.unix.apache.php.
Mon, 11/06/2017 - 14:40
The PHP error logs
Thank you Thomasmars,
I'll go check it out
I also managed to get the error logs if that will help clarify things:
[06-Nov-2017 14:53:52 Africa/Johannesburg] PHP Fatal error: Call to a member function get_content() on boolean in /usr/www/users/kaleidfmja/learn/mod/hvp/classes/file_storage.php on line 364
[06-Nov-2017 14:59:01 Africa/Johannesburg] PHP Notice: Undefined index: SCRIPT_NAME in /usr/www/users/kaleidfmja/learn/auth/cas/CAS/CAS.php on line 45
[06-Nov-2017 14:59:01 Africa/Johannesburg] PHP Notice: Undefined index: QUERY_STRING in /usr/www/users/kaleidfmja/learn/auth/cas/CAS/CAS.php on line 45
Mon, 11/06/2017 - 14:50
Thanks, please see https:/
Thanks, please see https://github.com/h5p/h5p-moodle-plugin/issues/178#issuecomment-342143277 for any followup to this issue, so we don't duplicate the messages two places.
Tue, 11/07/2017 - 10:52
Confirmation From Host on mbstring
I see to have confusded matters by posting all over the show trying to get to the bottom of this. I'll stick to H5P form from now on. Think the ticket in github has been closed. This is a confirmation from my hosting company that mbstring is supported by them. My Moodle Theme is Essentail. Has that ever caused any ussues before?
"Upon investigation of this matter on my side, I am able to confirm that the following is supported on the Hetzner server:
Confirmation hereof may be found below:
The error you are receiving appears to be a content related, PHP error. As we do not specialise in web development or design, the assistance we are able to offer in this regard is rather limited."
Tue, 11/07/2017 - 13:39
The first time I installed H5P I used the downloaded plugin file(zip) in Moodle. After recieving confirmation from hosting company about mbstring I tried again by uninstalled H5P and reinstalling via Install plugins from the Moodle plugins directory. The same thing happened. I then uninstalled again. Unzipped the Unstall file and directly uploaded the H5P folder into the /mod folder via Filezilla. This migically solved everything. I am now able to fully use all the recources.
Wed, 11/08/2017 - 14:36
I'm happy you got it working,
I'm happy you got it working, not sure what was going wrong though, perhaps a file permission issue.