Skip to content

Missing files to upgrade to 7.67

ljf requested to merge ljf/framaforms:fix-update-7-67 into master

The problem

I was trying to finish to package framforms for YunoHost and discover missing files in the recent upgrade to drupal 7.67.

I could fix that in the yunohost package, but it's better to try to fix the upstream (framaforms repo) before :)

Solution

This merge request include missing files to avoid HTTP error 500 on the first page, I extract them from a downloaded drupal-7.67 archive. Without this files you will got an error like this one:

PHP Fatal error: Uncaught Error: Call to undefined function cache_get() in

It's my first experience with drupal. I understand this error happens with php syntax error and other loading issues.

In this Merge request i also downgrade module "rules" to 7.67-2.11 instead of 2.12 due to errors with 2.12 version. The error was:

PHP Fatal error: Unsupported operand types in /var/www/framaforms/sites/all/modules/rules/includes/faces.inc on line 226

See here for details: https://www.drupal.org/project/rules/issues/1111868

PR Status

Ready

Tested on a Yunohost 3.6.1 (debian 9). NB: after that the css was not loaded but it's because i needed to define a tmp dir with writable rights.

How to test

You just need to try to make a setup on a new instance with this files

Validation

I don't know what are the rules on this project to merge.

Merge request reports