I 2nd this opinion - drush isn't sure which of your multi-sites you are trying to target. You'll either need to set up drush aliases or 'cd' to the specific multi-site you want to affect.<br><br>-Benj<br><a href="http://dtek.net">http://dtek.net</a><br>
<br><br><div class="gmail_quote">On Wed, Sep 14, 2011 at 8:15 PM, Todd <span dir="ltr"><<a href="mailto:todd@savagevenus.net">todd@savagevenus.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Have you tried changing directories to /sites/{multisite}/ and then running "crush cc all" instead of being in the root directory?<br>
<font color="#888888"><br>
Todd<br>
</font><div><div></div><div class="h5"><br>
On 14 Sep 2011, at 22:12, Roger wrote:<br>
<br>
> I cd /var/www/html/directory which is the drupal multi site installation<br>
> I am modifying a Bartik theme<br>
><br>
> drush dl themes and modules works well<br>
> but drush en modulename and drush cc produces error below;<br>
> What needs to be done to fix this please? google is not much help here.<br>
> Thanks<br>
> Roger<br>
><br>
> Command cache-clear needs a higher bootstrap level to run - you will [error]<br>
> need invoke drush from a more functional Drupal environment to run<br>
> this command.<br>
> The drush command 'cc' could not be executed. [error]<br>
> Drush was not able to start (bootstrap) the Drupal database. [error]<br>
> Hint: This error often occurs when Drush is trying to bootstrap a<br>
> site that has not been installed or does not have a configured<br>
> database.<br>
><br>
> Drush was attempting to connect to :<br>
> Drupal version : 7.8<br>
> Site URI : <a href="http://default" target="_blank">http://default</a><br>
> Default theme : garland<br>
> Administration theme: garland<br>
> PHP configuration : /etc/php.ini<br>
> Drush version : 4.5<br>
> Drush configuration:<br>
> Drush alias files :<br>
> Drupal root : /var/www/html/directory<br>
> Site path : sites/default<br>
> Modules path : sites/all/modules<br>
> Themes path : sites/all/themes<br>
> File directory path: sites/default/files<br>
> %paths : Array<br>
><br>
> You can select another site with a working database setup by<br>
> specifying the URI to use with the --uri parameter on the command<br>
> line or $options['uri'] in your drushrc.php file.<br>
><br>
> --<br>
> [ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br>
<br>
--<br>
[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br>
</div></div></blockquote></div><br>