运行drush命令是出现问题。
Command pm-refresh needs a higher bootstrap level to run - you will need to invoke drush from a more functional Drupal environment to run this command.
这条命令是运行 drush rf 出现的提示。
通过google查询,找到解决办法。
I had this problem too. I'm using Drush 7.x-4.4 with Drupal 6.20 and PostgreSQL. It seems that Drush could not find the PostgreSQL driver, which is normally set up in php.ini. So I created a directory /etc/drush and put a soft link inside it pointing to my php.ini (which already had the PostgreSQL driver enabled). Drush then worked. Steve
大体翻一下:貌似是Drush找不到数据库驱动,驱动通常是在php.ini里面设置。因此我创建了一个文件夹/etc/drush 建立了一个软连接把php.ini指向过去。问题解决了。(大意)
因此按照这个思路,我也建立了一个目录,建立了一个软连接。
mkdir /etc/drush
ln -s /www/wdlinux/etc/php.ini /etc/drush/php.ini
reboot
这个问题也解决了。
没有评论,留下你的印记,证明你来过。
◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。