I was able to download Drupal 6 just fine, but then when attempting to download modules and themes, I get errors:
[user@ngp-lamp-03 html]# drush --debug dl ngp
Found command: download [0.043 sec] [bootstrap]
Drush bootstrap phase : _drush_bootstrap_drupal_root() [0.044 sec] [bootstrap]
Initialized Drupal 6.14 root directory at /www/dccaucus.com/html [notice]
[0.056 sec]
Drush bootstrap phase : _drush_bootstrap_drupal_site() [0.057 sec] [bootstrap]
Initialized Drupal site default at sites/default [0.057 sec] [notice]
Drush bootstrap phase : _drush_bootstrap_drupal_configuration() [bootstrap]
[0.057 sec]
Undefined index: scheme [0.058 sec] [notice]
Undefined index: user [0.058 sec] [notice]
Undefined index: host [0.058 sec] [notice]
PDO support available, but the driver has not been installed. [bootstrap]
Assuming success. [0.058 sec]
Drush bootstrap phase : _drush_bootstrap_drupal_database() [0.059 [bootstrap]
sec]
Successfully connected to the Drupal database. [0.059 sec] [bootstrap]
Cannot modify header information - headers already sent by (output [warning]
started at /var/www/html/drush/includes/drush.inc:482) [0.064 sec]
Cannot modify header information - headers already sent by (output [warning]
started at /var/www/html/drush/includes/drush.inc:482) [0.064 sec]
Drush command could not be completed. [0.064 sec] [error]
Not really sure what all I'm looking at there. Any tips?
Comments
Comment #1
seanrTried it as a different user, still getting the same error:
Comment #2
seanrFound this issue which suggested adding PDO, but it looks like it already was:
http://drupal.org/node/567062#comment-2017190
So all that did was get me two extra warnings and it still doesn't work. WTF??
Comment #3
jonhattanThe code printing the "PDO support available.." message is this:
your debug log shows a missing value for $type. I suggest you to debug it by doing a print_r($creds) in includes/environment.inc at line 900.
Comment #4
moshe weitzman commentedComment #5
greg.1.anderson commentedNo feedback. Please re-open with more information if needed.
Comment #6
greg.1.anderson commentedComment #7
unitedwallabies commentedFigure out, which directory contains the
pdo.iniandpdo_mysql.inion your system. Then, set environment variablePHP_INI_SCAN_DIRto contain that directory and rerun drush.