Closed (fixed)
Project:
Drush
Component:
Core Commands
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Nov 2011 at 04:19 UTC
Updated:
22 Nov 2011 at 18:40 UTC
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 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 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 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.