試圖安裝我的第一個drupal模塊。繼本書因爲「FTP」錯誤而無法工作,所以我安裝了drush。下載似乎現在工作,啓用命令給我這個錯誤。我是Ubuntu和drupal的每一部分的noob。幫幫我。謝謝。嘗試啓用帶有drush的drupal模塊的引導程序錯誤
[email protected]:/var/www/drupal$ sudo drush en module_filter
Command pm-enable 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 'en module_filter' 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.and tried it.
Drush was attempting to connect to :
Drupal version : 7.14
Site URI : http: //default
Database driver : mysql
Database hostname : localhost
Database username : drupal7
Database name : drupal7
Default theme : garland
Administration theme: garland
PHP configuration :
Drush version : 5.3
Drush configuration:
Drupal root : /var/www/drupal
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.
可能相關:
[email protected]:~$ sudo dpkg-reconfigure -plow phpmyadmin
[sudo] password for NNH:
/usr/sbin/dpkg-reconfigure: phpmyadmin is broken or not fully installed
試圖 「/無功/網絡/的Drupal /網站/默認$ sudo的drush恩module_filter」 得到了同樣的錯誤。這是網站的根?從/ var/www/drupal下載命令似乎很開心。將嘗試與MySQL連接,請查找命令。 – NoobNeedingHelp
在這種情況下,網站的根目錄是/ var/www/drupal,所以你似乎從一開始就處於正確的位置。我假設你有/var/www/drupal/sites/default/settings.php。 –