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.
Following up on #2821365: Clients cannot create sites because of missing database options, I felt is was rather strange that a client was able to view an error message. Since aegir offers an out-of-the-box experience (it works directly after installing), people might forget about switching error reporting off.
I think either hosting or hostmaster should set the error_level
variable to ERROR_REPORT_HIDE
during hook_install()
. Probably requiring an update hook to set it for existing sites.
Comment | File | Size | Author |
---|---|---|---|
#2 | hosting_or_hostmaster-2821366-2.patch | 723 bytes | Neograph734 |
Comments
Comment #2
Neograph734Comment #3
helmo CreditAttribution: helmo at Initfour websolutions for Aegir Cooperative commentedThanks for the suggestion.
It's ERROR_REPORTING_HIDE though with an extra 'ING'
I've committed it to my review branch, see https://github.com/aegir-project/hosting/pull/8
Comment #5
helmo CreditAttribution: helmo at Initfour websolutions for Aegir Cooperative commentedmerged, thanks.