Module installation using drush giving error

Ron

I have downloaded drush and cofigured it properly .Now I am trying to download a module "themekey" and install it to my drupal .Its downloading properly using

drush dl themekey

but when I try to install it using

drush en -y themekey

I get this error

drush en -y themekey
Command pm-enable needs a higher bootstrap level to run - you will   [error]
need to invoke drush from a more functional Drupal environment to run
this command.
The drush command 'en themekey' could not be executed.               [error]
A Drupal installation directory could not be found

Please help me in this , I am new in drpal drush and did not find way to solve this Here is my drupal folder

 /opt/lampp/htdocs/projects/drupal_test/
jojomojo

You need a working drupal installation, meaning php can be executed the mysql server can be reached. Then you have to change into the root directory of your installation - in your case:

cd /opt/lampp/htdocs/projects/drupal_test/

and execute the command:

drush en modulename -y

For debugging use

drush rq

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Yii2 installation using composer giving error

From Dev

Trying to run Python using Reticulate giving a module not found error, but it is installed

From Dev

React Marquee module giving error

From Dev

Drush enable error

From Dev

Drupal drush error

From Dev

Using Drush permissions issue

From Dev

Missing drush in OpenShift Drupal module

From Dev

jNews installation giving database error in Joomla! 3

From Dev

Why is it giving error in module part1?

From Dev

Using setdiff with cellfun giving error

From Dev

Drush error after Yosemite update

From Dev

Drush error after Yosemite update

From Dev

Aerospike-loader installation giving error on Ubuntu 14.04

From Dev

Erlang installation giving erlang-mode is broken error

From Dev

Using Tshark in Python Subprocess is giving syntax error

From Dev

Giving error while using varchar field in oracle

From Dev

toString() giving error when using to pass parameter

From Dev

Using spinnerPlugin on page load is giving error.

From Dev

Fill Dropdownlist using values in ListItem is giving error

From Dev

Brunch, RequireJS, and ReactJS is giving me "Error: Mismatched anonymous define() module"

From Dev

Django/Apache setup giving me a 'module not found' error

From Dev

CCAvenue Payment Module Giving Error in the Order Cart Page, Prestashop 1.6.1.7

From Dev

ddev using drush behind proxy fails to connect

From Dev

hexo installation using npm error

From Dev

Module python-twitter (github) giving error "No Module named cmdline" from shell

From Dev

Using '.' in Web Api using Attribute Routing is giving 404 error

From Dev

Giving Credit for Perl Module

From Dev

Using $@ for error message passing in module

From Dev

Using $@ for error message passing in module

Related Related

  1. 1

    Yii2 installation using composer giving error

  2. 2

    Trying to run Python using Reticulate giving a module not found error, but it is installed

  3. 3

    React Marquee module giving error

  4. 4

    Drush enable error

  5. 5

    Drupal drush error

  6. 6

    Using Drush permissions issue

  7. 7

    Missing drush in OpenShift Drupal module

  8. 8

    jNews installation giving database error in Joomla! 3

  9. 9

    Why is it giving error in module part1?

  10. 10

    Using setdiff with cellfun giving error

  11. 11

    Drush error after Yosemite update

  12. 12

    Drush error after Yosemite update

  13. 13

    Aerospike-loader installation giving error on Ubuntu 14.04

  14. 14

    Erlang installation giving erlang-mode is broken error

  15. 15

    Using Tshark in Python Subprocess is giving syntax error

  16. 16

    Giving error while using varchar field in oracle

  17. 17

    toString() giving error when using to pass parameter

  18. 18

    Using spinnerPlugin on page load is giving error.

  19. 19

    Fill Dropdownlist using values in ListItem is giving error

  20. 20

    Brunch, RequireJS, and ReactJS is giving me "Error: Mismatched anonymous define() module"

  21. 21

    Django/Apache setup giving me a 'module not found' error

  22. 22

    CCAvenue Payment Module Giving Error in the Order Cart Page, Prestashop 1.6.1.7

  23. 23

    ddev using drush behind proxy fails to connect

  24. 24

    hexo installation using npm error

  25. 25

    Module python-twitter (github) giving error "No Module named cmdline" from shell

  26. 26

    Using '.' in Web Api using Attribute Routing is giving 404 error

  27. 27

    Giving Credit for Perl Module

  28. 28

    Using $@ for error message passing in module

  29. 29

    Using $@ for error message passing in module

HotTag

Archive