Azure Hosted Wordpress not showing Content Hub
I have a Wordpress site which is hosted in an Azure app service (so runs using IIS).
I have installed and activated the H5P Plugin and it all went through fine, but when I go to the H5P menu and click the button to Add Content, the Hub does not show up. It allows me to enter a name in the Add New box, but then when I click the 'Create' button it says 'Invalid Library'.
I uploaderd a few libraries for Memory Game, Personality Quiz and Questionnaire, but this has still not helped.
I checked the documentation which said to check my PHP extensions (mbstring, openssl and zip are all enabled) and it also mentioned to test connectivity to h5p.org - I successfully pinged the address from the Azure App console.
I have the same issue with Chrome, IE and Firefox.
I'm on Wordpress v4.9.4, PHP v7.0.27, H5P v1.10.1
I am getting console errors in Chrome (see attached) for Get requests, but I'm not sure what's causing it.
Can anybody help please?
Many thanks
Mehrling
Sat, 02/24/2018 - 08:02
Permalink
I have the same problem (and
I have the same problem (and posted it yesterday but cannot find it in the forum)... hope for an answer
adamlamb
Mon, 02/26/2018 - 11:33
Permalink
Does anyone else have
Does anyone else have suggestions on how I can get this resolved please?
icc
Mon, 02/26/2018 - 15:04
Permalink
There appears to be some sort
There appears to be some sort of domain URL issue. Are you sure the WP Setting page have the correct address for the page?
Also, double check you PHP Error Log for any messages.
_saku
Fri, 07/06/2018 - 12:20
Permalink
Config issue on Azure
Hi all,
we had the same problem. It is the combination of WordPress and Azure. In the wp-config.php there are settings for relative URLs which are needed for the deployment slots. I changed the settings and everything exploded :) But I found a solution, at least for us.
We use a child theme and in the functions.php I had to hook into two WordPress functions: plugins_url and upload_dir and change the relative urls to absolute. See code below.
Now we can update the plugin without issues.
icc
Wed, 07/18/2018 - 10:35
Permalink
That is great, thank you for
That is great, thank you for sharing the solution!
martin.schneid@...
Thu, 09/09/2021 - 10:38
Permalink
Error in Azure WordPress template
There seems to be a bug in the Azure Template for WordPress as an AppService.
Changing the wp-config.php from:
To:
solved the problem on our side.