Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When updating to the latest 7.x-1.x-dev 2015-Apr-04, I'm getting this bad WSOD fatal error:
Fatal error: require_once(): Failed opening required '/.../sites/all/modules/password_policy/plugins/export_ui/password_policy.inc' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /.../sites/all/modules/ctools/includes/plugins.inc on line 475
This makes it impossible to get the password_policy AND ctools security updates.
password_policy-7.x-1.x-dev 2015-Apr-04
ctools-7.x-1.7
Comments
Comment #1
deanflory CreditAttribution: deanflory commentedComment #2
deanflory CreditAttribution: deanflory commentedComment #3
deanflory CreditAttribution: deanflory commentedComment #4
AohRveTPV CreditAttribution: AohRveTPV commentedThose are 7.x-2.x paths in the error message. One way to produce this error is to install 7.x-2.x but switch to 7.x-1.x without uninstalling. Then 7.x-2.x entries are left in the registry, but the files are not there to be found.
If it is the case that you installed 7.x-1.x after installing 7.x-2.x, a clean solution is to:
1. Put the site into maintenance mode.
2. Replace the
password_policy
directory with 7.x-2.x files.3. Disable and uninstall the module.
4. Re-install 7.x-1.x. 7.x-1.x will have to be reconfigured as some of its configuration will have been deleted.
5. Take the site out of maintenance mode.
Comment #5
deanflory CreditAttribution: deanflory commentedUpdating to password_policy 7.x-2.x-dev 2015-Apr-07 appears to have done the trick. Thanks for your help, beat me to a response.
Comment #6
AohRveTPV CreditAttribution: AohRveTPV commentedThat works too (updating to 7.x-2.x).