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.
The Placeholder module can cause errors when installing Commons using the UI (other methods such as Drush work fine). The problem is caused by Placeholder relying on functions from the Libraries module to perform requirements checking during the installation phase, before modules have been installed and loaded, so the Libraries functions are unavailable.
Comment | File | Size | Author |
---|---|---|---|
#1 | include-fix-for-placeholder-installation-issues-2024287-1.patch | 698 bytes | Devin Carlson |
Comments
Comment #1
Devin Carlson CreditAttribution: Devin Carlson commentedThe Placeholder module should either perform a check to ensure that the Libraries module exists before attempting to check for requirements using its API functions or only check for requirements during the runtime phase.
The attached patch adds a patch against Placeholder to the Commons makefile which implements the latter solution.
Comment #2
Devin Carlson CreditAttribution: Devin Carlson commentedTested #1 with a new Commons installation and it fixed the error messages allowing the install to proceed.
Comment #3
Devin Carlson CreditAttribution: Devin Carlson commentedCommitted #1 to Commons 7.x-3.x.
http://drupalcode.org/project/commons.git/commit/bc8f7ee
Comment #4
ezra-g CreditAttribution: ezra-g commentedLooks great to me.
Comment #5
ezra-g CreditAttribution: ezra-g commentedFixing status changed in a cross post :).