starting with drupal-6.15-equivalent pressflow6
all functions OK
all drush capabilities OK

update to latest drupal-6.16-equivalent pressflow6 (r75) OK
update all modules OK
update to latest drush head OK

now, attempt of any drush command from within site returns,

drush -d st
Found command: status (commandfile=core) [0.04 sec, 2.17 MB] [bootstrap]
Drush bootstrap phase : _drush_bootstrap_drupal_root() [0.04 sec, 2.18 MB] [bootstrap]
Initialized Drupal 6.16 root directory at /svr/www/testsite [0.05 sec, 2.75 MB] [notice]
Drush bootstrap phase : _drush_bootstrap_drupal_site() [0.05 sec, 2.75 MB] [bootstrap]
Initialized Drupal site default at sites/default [0.09 sec, 2.81 MB] [notice]
Drush bootstrap phase : _drush_bootstrap_drupal_configuration() [0.09 sec, 2.81 MB] [bootstrap]
Undefined index: scheme environment.inc:688 [0.09 sec, 2.81 MB] [notice]
Undefined index: user environment.inc:689 [0.09 sec, 2.81 MB] [notice]
Undefined index: host environment.inc:690 [0.09 sec, 2.81 MB] [notice]
PDO support available, but the driver has not been installed. Assuming success. [0.09 sec, 2.81 MB] [bootstrap]
Drush bootstrap phase : _drush_bootstrap_drupal_database() [0.09 sec, 2.81 MB] [bootstrap]
Successfully connected to the Drupal database. [0.09 sec, 2.81 MB] [bootstrap]
Cannot modify header information - headers already sent by (output started at /svr/tools/drush/includes/drush.inc:735) install.inc:618 [0.09 sec, 3.03 MB] [warning]
Cannot modify header information - headers already sent by (output started at /svr/tools/drush/includes/drush.inc:735) install.inc:619 [0.09 sec, 3.03 MB] [warning]
Drush command could not be completed. [0.09 sec, 3.03 MB] [error]

Comments

PGNetDev’s picture

Priority: Critical » Normal
Status: Active » Closed (fixed)

same config'd NEW install of Pressflow, with same drush install -- all's OK.

try in upgraded installation, same problem as above.

i'm not convinced this has anything to do with drush.

moshe weitzman’s picture

Have you installed drupal? You have to install it before using drush. Except D7 where you can install using drush as well.

axolx’s picture

Does this mean drush site-install cannot be used (currently) to install the first site on a drupal platform? I was hoping to use drush in my build process by making it download core, contrib modules, my custom profile, and then running drush site-install on my custom profile to install.

moshe weitzman’s picture

site-install only works on d7. if are building a d7 based profile, site-install can do it today. if d6, you should look into the provision module and aegir in general

gchaix’s picture

I'm seeing identical symptoms right now on PF 6.16.77 and the current release of Drush (All-versions-3.0 - April 22, 2010):

$ drush status -dv
Found command: core-status (commandfile=core) [0.08 sec, 3.8 MB] [bootstrap]
Drush bootstrap phase : _drush_bootstrap_drupal_root() [0.08 sec, 3.82 MB] [bootstrap]
Initialized Drupal 6.16 root directory at /var/www/drupal-pressflow/htdocs [0.11 sec, 4.84 [notice]
MB]
Drush bootstrap phase : _drush_bootstrap_drupal_site() [0.11 sec, 4.85 MB] [bootstrap]
Initialized Drupal site default at sites/default [0.32 sec, 5.17 MB] [notice]
Drush bootstrap phase : _drush_bootstrap_drupal_configuration() [0.32 sec, 5.17 MB] [bootstrap]
Undefined index: scheme environment.inc:702 [0.32 sec, 5.19 MB] [notice]
Undefined index: user environment.inc:703 [0.32 sec, 5.19 MB] [notice]
Undefined index: host environment.inc:704 [0.32 sec, 5.19 MB] [notice]
PDO support available, but the driver has not been installed. Assuming success. [0.32 sec,[bootstrap]
5.19 MB]
Drush bootstrap phase : _drush_bootstrap_drupal_database() [0.32 sec, 5.19 MB] [bootstrap]
Successfully connected to the Drupal database. [0.32 sec, 5.19 MB] [bootstrap]
Cannot modify header information - headers already sent by (output started at [warning]
/usr/local/lib64/drush/includes/drush.inc:794) install.inc:618 [0.33 sec, 5.57 MB]
Cannot modify header information - headers already sent by (output started at [warning]
/usr/local/lib64/drush/includes/drush.inc:794) install.inc:619 [0.33 sec, 5.57 MB]
Drush command could not be completed. [0.33 sec, 5.57 MB] [error]

patrickfrickel’s picture

Status: Closed (fixed) » Active

I have the exact same issue:
1. Install drupal using drush dl command - no problem
2 set up module folder and attempt to download modules and get

ound command: pm-download (commandfile=pm) [0.03 sec, 2.31 MB] [bootstrap]
Drush bootstrap phase : _drush_bootstrap_drupal_root() [0.03 sec, 2.32 MB] [bootstrap]
Initialized Drupal 6.16 root directory at /var/www/demo/qacubed [0.03 sec, 2.88 MB] [notice]
Drush bootstrap phase : _drush_bootstrap_drupal_site() [0.03 sec, 2.89 MB] [bootstrap]
Initialized Drupal site default at sites/default [0.04 sec, 2.92 MB] [notice]
Drush bootstrap phase : _drush_bootstrap_drupal_configuration() [0.04 sec, 2.93 MB] [bootstrap]
Drush bootstrap phase : _drush_bootstrap_drupal_database() [0.04 sec, 2.93 MB] [bootstrap]
Successfully connected to the Drupal database. [0.04 sec, 2.93 MB] [bootstrap]
Drush bootstrap phase : _drush_bootstrap_drupal_full() [0.05 sec, 3.15 MB] [bootstrap]
session_start(): Cannot send session cookie - headers already sent by (output started at[warning]
/var/www/drush/includes/drush.inc:797) bootstrap.inc:1037 [0.05 sec, 3.22 MB]
session_start(): Cannot send session cache limiter - headers already sent (output [warning]
started at /var/www/drush/includes/drush.inc:797) bootstrap.inc:1037 [0.05 sec, 3.22 MB]
Cannot modify header information - headers already sent by (output started at [warning]
/var/www/drush/includes/drush.inc:797) bootstrap.inc:636 [0.05 sec, 3.85 MB]
Cannot modify header information - headers already sent by (output started at [warning]
/var/www/drush/includes/drush.inc:797) bootstrap.inc:637 [0.05 sec, 3.85 MB]
Cannot modify header information - headers already sent by (output started at [warning]
/var/www/drush/includes/drush.inc:797) bootstrap.inc:638 [0.05 sec, 3.85 MB]
Cannot modify header information - headers already sent by (output started at [warning]
/var/www/drush/includes/drush.inc:797) bootstrap.inc:639 [0.05 sec, 3.85 MB]
Drush command could not be completed. [0.12 sec, 10.67 MB] [error]

The drush command has worked perfectly for months for all commands and now this...very upsetting to go back to the old way of doing things.

patrickfrickel’s picture

Update:
I have an installed version of drush under mamp and it works great....the server is a ubuntu OS and must contribute to the issue.

Any link to enable me to start the trouble shoot process?
1. Is xyz installed
#xyz command - output xyz indicates that it is installed
2. Is abc installed
#abc command - output abc indicates that it is installed

joetsuihk’s picture

same here. all things happen suddenly, which no problem appear yesterday
will cross check all files that may send header.......

Found command: core-status (commandfile=core) [0.05 sec, 3.28 MB]          [bootstrap]
Drush bootstrap phase : _drush_bootstrap_drupal_root() [0.05 sec, 3.3 MB]  [bootstrap]
Initialized Drupal 6.16 root directory at /rgweb/htdocs/recruitmentguide      [notice]
[0.06 sec, 4.09 MB]
Drush bootstrap phase : _drush_bootstrap_drupal_site() [0.06 sec, 4.09 MB] [bootstrap]
Initialized Drupal site default at sites/default [0.09 sec, 4.14 MB]          [notice]
Drush bootstrap phase : _drush_bootstrap_drupal_configuration() [0.09 sec, [bootstrap]
4.14 MB]
Undefined index:  scheme environment.inc:702 [0.09 sec, 4.15 MB]              [notice]
Undefined index:  user environment.inc:703 [0.09 sec, 4.15 MB]                [notice]
Undefined index:  host environment.inc:704 [0.09 sec, 4.15 MB]                [notice]
PDO support available, but the  driver has not been installed. Assuming    [bootstrap]
success. [0.09 sec, 4.15 MB]
Drush bootstrap phase : _drush_bootstrap_drupal_database() [0.09 sec, 4.15 [bootstrap]
MB]
Successfully connected to the Drupal database. [0.09 sec, 4.15 MB]         [bootstrap]
Cannot modify header information - headers already sent by (output started [warning]
at /home/cmsuser/drush/includes/drush.inc:794) install.inc:618 [0.09 sec,
4.48 MB]
Cannot modify header information - headers already sent by (output started [warning]
at /home/cmsuser/drush/includes/drush.inc:794) install.inc:619 [0.09 sec,
4.48 MB]
Drush command could not be completed. [0.09 sec, 4.48 MB]                  [error]
secoif’s picture

Subscribe

drewish’s picture

Status: Active » Closed (duplicate)
joetsuihk’s picture

re @drewish
i do not think so, but i will wait for #455848 to commit and test again.

stephenrobinson’s picture

ditto with xamp, subscribe....