详细报错信息如下:
Do you really want to proceed with the install (y/n): y
escapeshellarg() expects parameter 1 to be string, array given [warning]
drush.inc:1387
escapeshellarg() expects parameter 1 to be string, array given [warning]
drush.inc:1387
strtr(): The second argument is not an array drush.inc:643 [warning]
strtr(): The second argument is not an array drush.inc:643 [warning]
The drush command '@none provision-save' could not be found. [error]
A Drupal installation directory could not be found [error]
escapeshellarg() expects parameter 1 to be string, array given [warning]
drush.inc:1387
escapeshellarg() expects parameter 1 to be string, array given [warning]
drush.inc:1387
escapeshellarg() expects parameter 1 to be string, array given [warning]
drush.inc:1387
strtr(): The second argument is not an array drush.inc:643 [warning]
strtr(): The second argument is not an array drush.inc:643 [warning]
The drush command '@server_master provision-verify' could not be [error]
found.
A Drupal installation directory could not be found
这个可能和PHP的版本有关系,有的Drupal在php5
这个可能和PHP的版本有关系,有的Drupal在php5.2比如说运行良好,在5.3下,就会报expects parameter 1 to be string, array given的错误,你需要检查一下,版本的兼容性问题。
嗯 我试看看额
恩 好的 我再尝试看看哈
这两个又是怎么回事呢
The drush command '@none provision-save' could not be found. [error]
A Drupal installation directory could not be found [error]
The drush command '@server_master provision-verify' could not be found. [error]
A Drupal installation directory could not be found
官网是这样解释的https://drupal.org/node/1413778
https://drupal.org/node/2044251
我没有研究作aegir,
我没有研究作aegir,
这个可能和你的drush的配置有关系,你先确定drush能够工作。
我举个例子,drush在Drupal7下只能运行在PHP5.3下面,如果你的服务器是php5.2的话,那么可能就有问题了。你先把这样的问题排除掉。
谢谢葛老师 问题已经解决了
可能确实跟配置有关系 我在win8上用虚拟机按照老外的视频并结合文档始终报错 今天我在台式机(win7的操作系统)使用虚拟机又成功了 具体原因我也没弄明白 谢谢葛老师的指点