Добрый вечер.
Операционная система: Ubuntu 10.04
Установил drush (версия 2.0-6) c помощью менеджера пакетов.
Пытаюсь скачать Drupal с его помощью.
admin@evgeny-desktop:~/public_html$ drush dl
Project drupal (6.19) downloaded to /home/admin/public_html/. [success]
Project drupal (6.19) downloaded to /home/admin/public_html/. [success]
Все ок.
Далее пытаюсь скачать модуль.
admin@evgeny-desktop:~/public_html/mysite$ drush -v dl devel
Function ereg() is deprecated [notice]
Function ereg() is deprecated [notice]
Function ereg() is deprecated [notice]
Function ereg() is deprecated [notice]
Function ereg() is deprecated [notice]
Function ereg() is deprecated [notice]
Function ereg() is deprecated [notice]
Function ereg() is deprecated [notice]
Function ereg() is deprecated [notice]
Function ereg() is deprecated [notice]
Function ereg() is deprecated [notice]
Function ereg() is deprecated [notice]
Function ereg() is deprecated [notice]
Initialized Drupal 6.19 root directory at [notice]
/home/admin/public_html/mysite
Initialized Drupal site default at sites/default [notice]
Undefined index: scheme [notice]
Undefined index: user [notice]
Undefined index: host [notice]
Cannot modify header information - headers already sent by (output [warning]
started at /usr/share/drush/includes/drush.inc:439)
Cannot modify header information - headers already sent by (output [warning]
started at /usr/share/drush/includes/drush.inc:439)
Drush command could not be completed. [error]
Function ereg() is deprecated [notice]
Function ereg() is deprecated [notice]
Function ereg() is deprecated [notice]
Function ereg() is deprecated [notice]
Function ereg() is deprecated [notice]
Function ereg() is deprecated [notice]
Function ereg() is deprecated [notice]
Function ereg() is deprecated [notice]
Function ereg() is deprecated [notice]
Function ereg() is deprecated [notice]
Function ereg() is deprecated [notice]
Function ereg() is deprecated [notice]
Function ereg() is deprecated [notice]
Initialized Drupal 6.19 root directory at [notice]
/home/admin/public_html/mysite
Initialized Drupal site default at sites/default [notice]
Undefined index: scheme [notice]
Undefined index: user [notice]
Undefined index: host [notice]
Cannot modify header information - headers already sent by (output [warning]
started at /usr/share/drush/includes/drush.inc:439)
Cannot modify header information - headers already sent by (output [warning]
started at /usr/share/drush/includes/drush.inc:439)
Drush command could not be completed. [error]
Такие вот вещи выдает.
Что это может быть?
Спасибо.
Комментарии
http://drupal.org/search/apachesolr_multisitesearch/Function%20ereg()%20is%20deprecated
Ну тогда и друпал ставь с помощью менеджера пакетов. А вообще не занимайся фигней и постать себе нормальный drush, т.е. последнюю версию. У меня под Ubuntu 10.10 оно работает на ура.
А у меня все работает кроме одного. Скачал модуль Module Builder и соответственно запускаю:
drush mb my_module menu perm nodeapi
Говорит, что не нашел определения хуков. Но я эти хуки уже на несколько раз в несколько путей скачал и в админке все пути менял - не хочет все равно.