Closed (duplicate)
Project:
simpleSAMLphp Authentication
Version:
8.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
1 Apr 2018 at 16:01 UTC
Updated:
23 Apr 2019 at 21:38 UTC
Jump to comment: Most recent
Comments
Comment #2
alberto56 commentedHere is the code which fails:
Comment #3
alberto56 commentedI got this to work by adding a line to my settings.php file:
Only then can I enable the module.
Instead of failing with
if this has not been done, we might have a message such as:
Comment #4
dakku commented@alberto56 it makes sense to fail a little more gracefully and provide a logical message instead of a fatal error. I have personally been caught out by that as well.
I think the solution however needs some thought as we want all dependent functionality to fail instead of just SAML installation.
Comment #5
oknateSee #2915568: Installing the module causes exception and Drupal whitescreen
I have a patch that adds warnings (for users with access) and prevents WSOD:
See https://www.drupal.org/files/issues/2019-02-13/simplesamlphp_auth-fatal-... on comment #31
Comment #6
oknateIf you could please review https://www.drupal.org/files/issues/2019-02-13/simplesamlphp_auth-fatal-...
It takes care of this issue.
Comment #7
oknateComment #8
berdirClosing as a duplicate of that other issue, although worth mentioning that it is IMHO a bug in drush that it doesn't check hook_requirements() which should prevent installation if you e.g. to install from the UI.