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 drush command 'cc all' could not be executed. [error]
Could not find a Drupal settings.php file at [error]
./sites/default/settings.php.
D'oh. :(
Comments
Comment #1
msonnabaum CreditAttribution: msonnabaum commentedD8 is unsupported for 4.x. Needs to be fixed in drush5.
This is broke enough that I'd consider a backport however.
Comment #2
clemens.tolboomSome greps
and
makes you wonder what impact changing a directory has.
Comment #3
moshe weitzman CreditAttribution: moshe weitzman commentedFixed in master. See 3d8688c.
The change for contributed commands is to use a new constant, DRUSH_DRUPAL_CORE which points to /core in D8 and Drupal root in D6/D7:
I don't want 4.x to even pretend to support 4 major versions of Drupal at same time. So, no backport.
Comment #4
clemens.tolboomI think it would be nice to advertise these supported platforms on the project page :-)
Comment #5
moshe weitzman CreditAttribution: moshe weitzman commentedwe already do: "Note that Drush5+ works with three versions of Drupal (6,7,8). Use Drush 4 for Drupal 5."
Comment #6
webchickYAY!! Thank you!! :D
Comment #7
clemens.tolboom@moshe weitzman #5 sorry ... I missed it on the project page ... I checked and it's listed
drush on D8 works ... cool.
Comment #8
xjmMarked #1333790: bootstrap can't find includes/database/select.inc after /core change as duplicate.