Closed (fixed)
Project:
Drush
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Apr 2009 at 19:14 UTC
Updated:
29 Apr 2009 at 20:30 UTC
My site is configured perfectly fine, and yet when I run drush head with the verbose flag I get these errors:
Drush bootstrap phase : _drush_bootstrap_drupal_root() [bootstrap]
Drush bootstrap phase : _drush_bootstrap_drupal_site() [bootstrap]
Drush bootstrap phase : _drush_bootstrap_drupal_configuration() [bootstrap]
Drush bootstrap phase : _drush_bootstrap_drupal_database() [bootstrap]
Drush bootstrap phase : _drush_bootstrap_drupal_full() [bootstrap]
Drush was not able to start (bootstrap) Drupal. [error]
Hint: This error can only occur once the database connection has already been succesfully initiated, therefor this error
generally points to a site configuration issue, and not a problem connecting to the database.
Then it lists my drupal root and database name and so forth - all of which are correct in the listing. Makes no difference which folder I run drush from, or the command line options (-l -r) or drushrc.php options.
Comments
Comment #1
dugh commentedIt's working now, I was just using 'drush pm install modulename' which apparently now no longer works.
'drush dl modulename' is how it works now.
I uninstalled drush_extras
Comment #2
adrian commentedDo you still have the drush_extras module or an old version of drush 1.x in the directory.
It gets a namespace collision since the old functions are loaded too.
Comment #3
warmnoise commentedI was just investigating an issue with drush_extras on another thread in drush issues.
Just to confirm, it is no longer necessary to use the drush_extras project when using drush HEAD? I guess it was not totally apparent that drush pm was deprecated.
Comment #4
adrian commentedRemove drush_extras wherever you find it. it will cause namespace conflicts if loaded alongside drush.
all that code has been integrated back into drush.
Comment #5
moshe weitzman commentedand don't put drush anywhere within your drupal site. delete any old copies you have in sites/all/modules or elsewhere.