Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi all,
trying to create a subtheme via drush:
drush zen "mxtzen"
I receive the following error:
[error] Command zen needs the following module(s) enabled to run: zen.
The drush command 'zen mxtzen' could not be executed.
Trying to enable zen theme first, but always receveing the same error, and my subtheme is not created.
I'm missing something?
Thank you very much
Comments
Comment #1
rcaracaus CreditAttribution: rcaracaus commentedsame here, had to make sub theme by hand
Comment #2
abelb CreditAttribution: abelb commentedI was having the same problem but got it to work like this:
Update to the latest drush release. I keep drush in a git repo and just pulled and got the latest updates, cleared cache on my local site and in drush and it works now.
Comment #3
MXTSuggestion #2 resolve the issue.
Thank you very much for your support.
Comment #4
tregeagle CreditAttribution: tregeagle commentedI was getting the same problem so I updated drush using,
pear upgrade drush/drush
All is good:
upgrade ok: channel://pear.drush.org/drush-5.4.0
Now when I run try to create a subtheme I get the following:
Comment #5
tregeagle CreditAttribution: tregeagle commentedd'oh.
I resolved this by a couple of
drush cc all
'smy bad.
Comment #6
Anonymous (not verified) CreditAttribution: Anonymous commentedThank you. This helped.
Comment #8
JohnAlbinHey, maybe we need to make this a documentation issue.
If you've just downloaded Zen, you don't need to enable it, so there's nothing going to clear the cache for you.
Comment #9
JohnAlbinComment #10
JohnAlbinDone! https://drupal.org/node/2021609
Comment #12
yuseferi CreditAttribution: yuseferi commentedYou should enable zen theme and set as default and go to your drupalsite root directory then try it
Comment #13
simohell CreditAttribution: simohell commentedSetting zen as default theme works for me. Not all that handy when upgrading a site theme from a non-responsive to zen...