After upgrading to Corolla 2.2 and sorting out some problems caused by my poor understanding of how sub-themes worked:

http://drupal.org/node/1314850#comment-5142932

my sub-theme seems to be generating 'page not found' errors on a CSS file, every time a page is accessed. Otherwise, everything seems to be working fine, but obviously, something's a bit broken.

The file in question is:
http://votelesliecrd.ca/sites/all/themes/lesliewallace/css/lesliewallace...

Any help in getting this sorted out would be most appreciated.

Comments

saltspringer’s picture

Oh, that turned into a link, the message I got, minus the http part is:

votelesliecrd.ca/sites/all/themes/lesliewallace/css/lesliewallace.responsive.gpanels.css?lteabw

saltspringer’s picture

I'm also getting lots of 'page not found' errors on this as well:

sites/all/themes/lesliewallace/css/lesliewallace.responsive.style.css

Jeff Burnz’s picture

Can you briefly describe the way you have these themes setup, I am trying to get my head around what themes you have enabled, I assume you have made a subtheme called "lesliewallace" using adapativetheme_subtheme, with the base theme set as "Corolla".

First and simple question - does that file exist, and if it does, is there a typo in the file name?

saltspringer’s picture

I have adaptivetheme as the base theme, and corolla as the sub-theme, and my custom theme, lesliewallace (based on corolla) as sub-theme to that.

That seemed kind of convoluted to me, but I understood that corolla needs adaptivetheme as its base theme, and I wanted to sub-theme from corolla.

As far as I can tell, that file, or those files:

sites/all/themes/lesliewallace/css/lesliewallace.responsive.gpanels.css?lteabw
and
sites/all/themes/lesliewallace/css/lesliewallace.responsive.style.css

don't exist - I thought maybe they were something generated by the theme.

saltspringer’s picture

The site's still reporting the missing file on every page hit, but since this site's only going to be used for the next month or so, I'll probably just live with it.

Don't know if it was a result of my wonky way I originally made the sub-theme - I know better now and it's fixed - but have since made another site with a sub-theme using Zen, and it's all working perfectly.

Jeff Burnz’s picture

Status: Active » Fixed
sites/all/themes/lesliewallace/css/lesliewallace.responsive.gpanels.css
sites/all/themes/lesliewallace/css/lesliewallace.responsive.style.css

Those files are not generated by the system, they were in the starter sub-theme as "adaptive_subtheme.responsive.style.css" etc, you have to rename them.

saltspringer’s picture

I've got three in there still named:

corolla.responsive.gpanels.css
corolla.responsive.style.css
corolla.settings.style.css

should 'corolla' be replaced with 'lesliewallace' for all three?

Thanks.

Jeff Burnz’s picture

Did you copy them in from Corolla? Because you don't need to, unless you are modifying them, but, there must be at least those two files in that folder

sites/all/themes/lesliewallace/css/lesliewallace.responsive.gpanels.css
sites/all/themes/lesliewallace/css/lesliewallace.responsive.style.css

That is what the base theme is demanding exists, I am not sure how to be more clear on this - if they dont exist then you get a 404. Simple. Please read the documentation, its all in the docs on sub-theming these themes.

saltspringer’s picture

Yes, I copied them in from Corolla, but haven't modified them. Originally I hadn't renamed them lesliewallace.responsive, but now have, and the errors have gone away. When I take them out of my sub-theme entirely, the errors come back, even though the base them has them there.

Anyway, it's working now - thanks for your help.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

donquixote’s picture

Status: Closed (fixed) » Needs work

This should go in the subtheme README.txt.

Jeff Burnz’s picture

Status: Needs work » Closed (fixed)

There are docs in template.php already, but I have added an extra few lines to the README (in Footheme, since the best way to subtheme one of these styles themes is to use Footheme).

donquixote’s picture

Status: Closed (fixed) » Needs work

Ah, damn, wrong track :)
I was on adaptivetheme, not Corolla .. that's the same story over there, and the subtheme is "adaptivetheme_subtheme", afaik.
I followed the README.txt to create my own subtheme, and it did not talk about renaming those css files.

I guess, creating a new issue for Adaptivetheme would be even more noise, so I hope we can do this here.
(reopen only to be closed again)

Jeff Burnz’s picture

Status: Needs work » Closed (fixed)

Better to open another thread IMO, I hate starting a new issue 10 comments into another issue.

Please learn about what the Status's mean,needs work pertains to a patch that needs work. The correct status would be "active", and "task" as category.