500 Error Trying to Access H5P Libraries in Moodle

Greetings,

After finally getting H5P installed, I went to Site Administration > Plugins > H5P Libraries. When I click the H5P Libraries link, I get a 500 error. I checked my server error log and found:

SoftException in Application.cpp:261: File: . . . mod/hvp/library_list.php. Needless to say, I can't use H5P w/o the libraries. Can anyone help?

Thanks,

--Allen

.

All,

The solution was simple. I uninstalled H5P entirely then reinstalled. The libraries all came in with the install this time.

--Allen

.

Hello,

I may have gotten the libraries into Moodle but I still get the 500 error when I click the H5P Libraries link. Arggg.

Anyone know how to fix this?

Thank you,

--Allen

.

thomasmars's picture

Hi Allen, the first thing I would check is if your moodle data folder and the hvp plugin folder has read and write access for the server.

Furthermore if this does not help, I would need some more info on your error, exactly when does this happen, what is the complete error you are getting in your server log? Do you get any errors in your browser console ?

- Thomas

Thomas,

Thanks for your help. Both the moodledata and hvp folders are writeable: 755 and 777, respectively.

Here is the error log from the server:

[Wed Mar 22 00:02:39 2017] [error] [client 69.145.221.59] File does not exist: /. . . /500.shtml, referer: https:// . . . /admin/search.php
[Wed Mar 22 00:02:39 2017] [error] [client 69.145.221.59] SoftException in Application.cpp:261: File "/ . . . /mod/hvp/library_list.php" is writeable by group, referer: https:// . . . /admin/search.php

And here is the text from the 500 error page:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

Thanks again,

--Allen

.

 

 

thomasmars's picture

Hi again,

This looks very much like an Apache permissions issue. Your server thinks that your permissions are set too high. Try changing the permissions of the hvp folder to 755, since the error says that the hvp directory has write permissions by group.

Thomas,

That did the trick.

Thank you,

--Allen

.

 

 

thomasmars's picture

Happy that worked out for you :)

Let me know if you are experiencing any more issues with the permissions later.