Hi, I'm trying to get drush site-install working and I am getting an error saying firstly 'The system cannot find the path specified when I am in my drupal root, then repeatedly '$_GET is not recognized as an internal or external variable', then 'Table databasename.variable doesn't exit'

I am using windows 7 in the command line. I have installed all the libraies seperately using these instructions to the letter
https://gist.github.com/861733

I have also tried using the drush installer and command prompt with no joy.

Anyone have any ideas?

Comments

greg.1.anderson’s picture

Issue tags: +Windows

Drush on Windows needs some love.

beltofte’s picture

Can you try to run the Drush commands again and include --debug when executing the command? And then paste the output here in the issue.

Thanks in advance.

greg.1.anderson’s picture

Status: Active » Postponed (maintainer needs more info)
sanday’s picture

I do some debugg :

C:\wamp\www\drupal>drush disable stalker --debug
Bootstrap to phase 0. [0.05 sec, 2.44 MB] [bootstrap]

Drush bootstrap phase : _drush_bootstrap_drush() [0.06 sec, 2.59 MB] [bootstrap]

'mode' is not recognized as an internal or external command,
operable program or batch file.
Cache HIT cid: 5.4-commandfiles-0-d9f6f0f70a06438a7eb7253d65345ef3 [debug]

[0.44 sec, 2.6 MB]
Bootstrap to phase 0. [0.56 sec, 5.48 MB] [bootstrap]

Bootstrap to phase 5. [0.58 sec, 5.48 MB] [bootstrap]

Drush bootstrap phase : _drush_bootstrap_drupal_root() [0.59 sec, [bootstrap]

5.48 MB]
Initialized Drupal 6.25 root directory at C:/wamp/www/drupal [0.65 [notice]

sec, 6.68 MB]
Drush bootstrap phase : _drush_bootstrap_drupal_site() [0.66 sec, [bootstrap]

6.68 MB]
Initialized Drupal site default at sites/default [0.66 sec, 6.69 MB] [notice]

Cache HIT cid: 5.4-commandfiles-2-c32acd775c18a90c5b41d0fc9accf5ab [debug]

[0.71 sec, 6.69 MB]
Drush bootstrap phase : _drush_bootstrap_drupal_configuration() [0.72[bootstrap]

sec, 6.69 MB]
Drush bootstrap phase : _drush_bootstrap_drupal_database() [0.87 sec,[bootstrap]

6.72 MB]
Successfully connected to the Drupal database. [0.87 sec, 6.72 MB] [bootstrap]

Drush bootstrap phase : _drush_bootstrap_drupal_full() [0.9 sec, 6.98[bootstrap]

MB]
Cache HIT cid: 5.4-commandfiles-5-2beae4810982d966487e1648abcef54f [debug]

[1.25 sec, 18.91 MB]
Cache HIT cid: 5.4-commandfiles-2-1c82782e4f0daa661b06df029df9c6f1 [debug]

[1.31 sec, 19.68 MB]
The drush command 'disable stalker' could not be found. Run `drush [error]

cache-clear drush` to clear the commandfile cache if you have
installed new extensions. [1.35 sec, 19.68 MB]

lionsharz’s picture

Version: » All-versions-3.x-dev

bump - getting this same error as the start of rezamarefaty's debug

'mode' is not a recognized command... drush on windows (not running in cygwin envrionment, rather straight windows)

Kind of came out of nowhere this one. The only previous mention of 'mode' was a change made to line 137/138 of rsync.core.inc

-- $mode = '-akz';
++ $mode = '-rultvz';

EDIT: Only happens through the GIT bash window - its ok through when I launch drush bash

greg.1.anderson’s picture

Version: All-versions-3.x-dev » 8.x-6.x-dev
Status: Postponed (maintainer needs more info) » Closed (won't fix)
Issue tags: +Needs migration

This issue was marked closed (won't fix) because Drush has moved to Github.

If you still need help, please ask your question again on Drupal Answers and then post a link here to the new question. Please also change the status of this issue to closed (duplicate).

Use our Github project for contributing code, or reporting bugs, or requesting features.