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.
I recently stumbled into this utility and it works fine in normal Drupal structure. Unfortunately, Acquia has a different directory structure that makes this utility to fail.
Error:
Failure: Unable to discover DRUPAL_ROOT. You may want to explicitly define it near the top of registry_rebuild.php
Attached is the patch.
Comment | File | Size | Author |
---|---|---|---|
registry_rebuild-fatal-error-acquia-platform.patch | 857 bytes | stoickthevast |
Comments
Comment #1
japerryhow is your file structure showing as different? To my knowledge, drupal docroots on AH aren't any different than anywhere else.
Acquia Support and Remote Administration use registry rebuild often (without this patch), and it should work with client sites.
Comment #2
omega8cc CreditAttribution: omega8cc commentedClosing due to inactivity for a long time.