0

Similar to but the solution doesn't work: How to solve "This version is not compatible with Drupal 7.x and should be replaced" error?

I've followed everything I can find but a basic custom theme in sites/all/themes is not working at all. Here is my .info:

name = Custom
description = Custom custom theme built with Stark
package = Core
version = 7.1
core = 7.x

regions[content] = Content
regions[main_nav] = Navigation
regions[sub_nav] = Sub Nav
regions[landing_large] = Front Large Box
regions[landing_ads] = Landing Ads
regions[landing_ad_bottom] = Landing Ad Bottom
regions[landing_books] = Landing Books
regions[home_first] = Home first
regions[home_second] = Home second
regions[home_third] = Home third
regions[search_box] = Search Box
regions[search_ad_box] = Search Ad Box
regions[content_first] = Content First
regions[content_second] = Content Second
regions[content_authors] = Content Third
regions[content_blogs] = Content Fourth
regions[sidebar_right] = Sidebar Right
regions[footer_first] = Footer First
regions[footer_second] = Footer Second
regions[footer_third] = Footer Third
regions[footer_fourth] = Footer Fourth
regions[copyright] = Copyright
regions[shopping_cart] = Shopping Cart

stylesheets[all][] = css/layout.css

I've tried with and without Package, it clearly has defined the version, the core version, the content region...what is it? I copied the .info file from a theme that works perfectly and this is the .info of that other theme verbatim.

1 Answer 1

4

Your custom theme is surely not a part of Core package, so remove that line first. Second, you mentioned that the theme is built based on Stark but you didn't define it in the info file, so add this line :

base theme = stark

Third, usage of version is discouraged in Drupal 7, so delete this line as well.

1
  • This doesn't work.It's ok, though. I already rage quit Drupal the other night. These kinds of things shouldn't happen with a platform this aged.
    – o_O
    Jun 27, 2013 at 23:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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