White Screen On Moodle Install

I'm trying to install H5P 1.0-RC.8 on a brand new Moodle 3.2 installation. There is no "Install Now" button on the H5P Moodle plugins page so I downloaded it and tried to install manually. I drug the mod_hvp_moodle32_2017021500.zip file into the upload box and clicked the "Install plugin from the ZIP file" button. Immediately, I get a completely white page within my browser. The URL is . . . admin/tool/installaddon/index.php.

I tried again and declared the plugin type as "Activity module (mod)" then tried supplying the root name but get the same result.

Ideas?

Thanks,

--Allen

.

tomaj's picture

Hi Allen,

Can you check your log for error messages? There should be some indication of what's happening. Maybe a php error message.

- Tom

Tom,

 Thanks for the response. I looked at the error log file and there was nothing there. I don't think it even got that far.

 Thanks,

 --Allen

 .

tomaj's picture

That's very wierd Allen. Is it possible for you to increase the logging level, so that we maybe can get some data that indicates what's happening?

I'll also check around the office, if anyone has had a similar experience as you.

- Tom

Tom,

Ok. I increased the debug and got this error:

Fatal error: Class 'ZipArchive' not found in . . . /lib/filestorage/zip_archive.php on line 90.

--Allen

.

 

icc's picture

You have to enable the zip support for you PHP installation. Also, you should make sure you're running an up-to-date version of PHP: http://php.net/supported-versions.php

papi Jo's picture

Allen "There is no "Install Now" button on the H5P Moodle plugins page"

Have you created an account with the Moodle community? Then go to the Moodle plugins page and enter your site in "My Sites": Sites entered here are used when choosing to directly install plugins to your moodle.

Then you can click the Install Now button!

 

Papi jo,

Thanks for the info on the My Sites bit. That got me the Install Now button. However, now I appear to be stuck on the plugin install page. It has been sitting there for about 10 minutes now, with no apparent action. I checked my Moodle error log and it said nothing.

The page didn't say I had to stay on it so I tried refreshing and going back and clicking the Continue button in the confirm box again. Same result.

Please see the accompying screen capture.

Thanks again,

--Allen

 

Attachments: 
thomasmars's picture

Hi Allen,

It seems like a problem with your server setup. Do you have any other plugins on your site ?

There are some things you should investigate. Make sure that the server has read and write access to the plugins folder.
If that doesn't do it I would have a look at https://moodle.org/mod/forum/discuss.php?d=256192.

- Thomas

Thomas,

I'm afraid I have to expose my ignorance of Moodle but I couldn't find the plugins folder. That said, the great majority of the folders were 755.

--Allen

.

 

 

 

Hello,

After quite a bit of fiddling around and research, I finally managed to get h5p installed. I had to do the install from my server. So now I have it running now all I have to do is figure out how to use it.

Thanks everyone for all your help!

--Allen

.

 

icc's picture

Ah, great to hear that you got it working!