Closed (fixed)
Project:
Corolla
Version:
7.x-2.2
Component:
Other
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Oct 2011 at 05:23 UTC
Updated:
4 Jan 2012 at 11:29 UTC
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
Comment #1
saltspringer commentedOh, 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
Comment #2
saltspringer commentedI'm also getting lots of 'page not found' errors on this as well:
sites/all/themes/lesliewallace/css/lesliewallace.responsive.style.css
Comment #3
Jeff Burnz commentedCan 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?
Comment #4
saltspringer commentedI 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.
Comment #5
saltspringer commentedThe 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.
Comment #6
Jeff Burnz commentedThose 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.
Comment #7
saltspringer commentedI'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.
Comment #8
Jeff Burnz commentedDid 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.
Comment #9
saltspringer commentedYes, 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.
Comment #11
donquixote commentedThis should go in the subtheme README.txt.
Comment #12
Jeff Burnz commentedThere 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).
Comment #13
donquixote commentedAh, 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)
Comment #14
Jeff Burnz commentedBetter 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.