2

I am uploading my Drupal Commerce Kickstart website to the host from my local computer, and I seem to be facing issues at every turn. I have not edited any of the code (trying to avoid it) or moved around any folders except in themes so it's likely something to do with that.

It does not seem to be affecting the functionality of the website but clearly I've moved (or not properly uploaded via FTP) something important. I searched through as best I could and haven't found anyone else who has broken Drupal like this so I'm feeling pretty special.

Why are modules showing up as themes?

screenshot

  • I think we'll need a bit more details on your problem to be able to help. When you say your modules are showing up as themes, what do you mean? – anemirovsky Nov 7 '14 at 0:30
  • I mean quite literally my Module list is duplicated in my Appearance panel as if they are all installed themes! Here is a screenshot: i62.tinypic.com/svt2cw.jpg – Fei Lauren Nov 7 '14 at 0:39
  • 3
    Can you show a tree of your sites folder? – AyeshK Nov 7 '14 at 2:04
7

Drupal uses a function called _system_rebuild_theme_data() to help determine the list of themes (both enabled and disabled) to show on that page. That function does a number of things, but the first thing it does is to look for any .info files within the "themes" directories, which can include /themes, /sites/all/themes, sites/anydirectory/themes.

So, based on the screenshot, it appears that you have some modules placed in a themes directory. I would go through your themes directories to make sure that that isn't the case.

| improve this answer | |
  • Bingo. Stemming from the bizarre organization of Commerce Kickstart. I upgraded and broke everything, but was able to fix by moving the kickstart theme into the sites folder - Kickstart is nice for a fast build but not the most friendly for upgrades, it seems... This is awesome though, thank you! – Fei Lauren Nov 8 '14 at 4:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.