[support] Drush problem
Benj Fredrick
benj.fredrick at gmail.com
Thu Sep 15 03:06:31 UTC 2011
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.
-Benj
http://dtek.net
On Wed, Sep 14, 2011 at 8:15 PM, Todd <todd at savagevenus.net> wrote:
> Have you tried changing directories to /sites/{multisite}/ and then running
> "crush cc all" instead of being in the root directory?
>
> Todd
>
> On 14 Sep 2011, at 22:12, Roger wrote:
>
> > I cd /var/www/html/directory which is the drupal multi site installation
> > I am modifying a Bartik theme
> >
> > drush dl themes and modules works well
> > but drush en modulename and drush cc produces error below;
> > What needs to be done to fix this please? google is not much help here.
> > Thanks
> > Roger
> >
> > Command cache-clear needs a higher bootstrap level to run - you will
> [error]
> > need invoke drush from a more functional Drupal environment to run
> > this command.
> > The drush command 'cc' could not be executed.
> [error]
> > Drush was not able to start (bootstrap) the Drupal database.
> [error]
> > Hint: This error often occurs when Drush is trying to bootstrap a
> > site that has not been installed or does not have a configured
> > database.
> >
> > Drush was attempting to connect to :
> > Drupal version : 7.8
> > Site URI : http://default
> > Default theme : garland
> > Administration theme: garland
> > PHP configuration : /etc/php.ini
> > Drush version : 4.5
> > Drush configuration:
> > Drush alias files :
> > Drupal root : /var/www/html/directory
> > Site path : sites/default
> > Modules path : sites/all/modules
> > Themes path : sites/all/themes
> > File directory path: sites/default/files
> > %paths : Array
> >
> > You can select another site with a working database setup by
> > specifying the URI to use with the --uri parameter on the command
> > line or $options['uri'] in your drushrc.php file.
> >
> > --
> > [ Drupal support list | http://lists.drupal.org/ ]
>
> --
> [ Drupal support list | http://lists.drupal.org/ ]
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20110914/6a5e5913/attachment-0001.html
More information about the support
mailing list