Install problem with Drupal 8 and PHP 7.x
Trying to install H5P on my localhost with following parameters:
XAMPP install with PHP 7.x (I tried with 7.0, 7.1 and 7.2, same pbs)
Drupal version drupal-8.4.4
H5P 8.x-1.0-rc5 released 22 January 2018
I do understand that Drupal 8 is NOT completely compatible with PHP 7.x at the moment. However, it installs OK, and H5P module installs OK too. But I get the following errors:
* When trying to configure H5P in Home Administration Configuration System H5P Settings, upon Save I get error:
The website encountered an unexpected error. Please try again later.
* More seriously, in Administration Structure Content types Basic page Manage fields when I try to H5P field to Basic page as instructed in the H5P doc for Drupal 8 I get: Error message
There was a problem creating field h5p: Invalid data type in config h5p.schema, found in filemodules/h5p/config/schema/h5p.schema.yml : Unable to parse at line 4 (near " mapping:").
Does this mean that it is not (yet) recommended to install H5P + Drupal 8.x + PHP 7.x and I should revert to PHP 5.6?
papi Jo
Fri, 01/26/2018 - 09:15
Permalink
same problem with Drupal 8 and PHP 5.6
I have now reverted to PHP 5.6 on my localhost and with Drupal 8 and H5P 8.x-1.0-rc5 released 22 January 2018 I get exactly the same errors as reported in my original post. This seems a rather serious bug.
EDIT.- Reverted to h5p 8.x-1.0-rc4 Posted by icc on 28 November 2017 and it works fine! Please fix bug in version rc5.
icc
Fri, 01/26/2018 - 13:01
Permalink
You are correct, it seems the
You are correct, it seems the format of config/schema/h5p.schema.yml includes an extra indentation space. It should be fixed now and we'll release a new version shortly.
papi Jo
Fri, 01/26/2018 - 14:44
Permalink
Thanks!
Thanks, h5p 8.x-1.0-rc6 is working fine now!
icc
Fri, 01/26/2018 - 15:15
Permalink
That is good to hear, thanks
That is good to hear, thanks for reporting!
Drupalx
Thu, 07/05/2018 - 10:16
Permalink
Drupal 7 Site Crashes Many Times
I've had a site running on:
It has crashed many times due to the running out of memory problem. Besides, this problem started a month ago.
Another problem is in the cache database table (cache_menu), keeps growing bigger every time a when pages are loaded.
Even if I change the "Expiration of cached pages" from the performance menu to 1 hour, the cache can become huge, which leads to major memory problems.
Is there a way to safely disable cache_menu?
But I'm not sure that the only reason is the cache menu.
What could be causing this and how can I fix it?
Any advice much appreciated.
icc
Wed, 07/18/2018 - 10:33
Permalink
It does not seem like these
It does not seem like these problems are related to H5P.