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.
Just installed a fresh copy of Aegir and disabled the "client" feature on myaegirdomain.com/admin/hosting/features this causes the following error to be logged when you try to add a new site (and the page displays a 500 error):
PHP Fatal error: Call to undefined function _hosting_client_site_default() in /var/aegir/hostmaster-6.x-1.8/profiles/hostmaster/modules/hosting/site/hosting_site.form.inc on line 209
Comment | File | Size | Author |
---|---|---|---|
#11 | hosting-1585820-11-D7.patch | 586 bytes | gboudrias |
Comments
Comment #1
Anonymous (not verified) CreditAttribution: Anonymous commentedYes, I think the Client feature is very tightly coupled into the entire system despite appearing as a separate 'feature'.
We either need to work out how to de-couple it - but I suspect the work involved might justify going the other way and preventing it from being disabled.
Comment #2
Steven Jones CreditAttribution: Steven Jones commentedI'd go for making the dependency explicit in 1.x, and then uncoupling them in 2.x.
Comment #3
Steven Jones CreditAttribution: Steven Jones commentedI've made the dependency explicit. i think removing the dependency will have to wait.
Comment #5
anarcat CreditAttribution: anarcat commentedComment #8
PolWe can still disable the client module on Aegir 7.x-3.x.
When disabled, all the features gets disabled too.
Comment #9
PolComment #11
gboudrias CreditAttribution: gboudrias at Praxis Labs Coop commentedAs far as I can tell this is all we're missing.
Comment #12
gboudrias CreditAttribution: gboudrias at Praxis Labs Coop commentedCan anyone review this simple patch so we can get this in 3.1?
Comment #13
ergonlogicThat should do it.
Comment #14
joestewart CreditAttribution: joestewart commentedCurious, does the sites directory symlink still work after this change?
http://cgit.drupalcode.org/provision/tree/platform/provision_drupal.drus...
Comment #15
gboudrias CreditAttribution: gboudrias at Praxis Labs Coop commentedHi Joe, not sure I understand your question, all the patch does is forbid people from disabling the module, so it shouldn't change the functionality at all. Can you elaborate?
Comment #16
joestewart CreditAttribution: joestewart commentedHa, I misread the patch. I thought the client feature had already become required. And this patch was allowing it to be optional again.
Ignore.
thanks.
Comment #17
gboudrias CreditAttribution: gboudrias at Praxis Labs Coop commentedForgot the pound sign in the commit, pushed in a0009f235ea8939018d537830a109c56c9eafff0.