Drupal Losing its Stylesheets

27 Sep 2010
Posted by xeophin

There seems to exist a bug in Drupal 6, where placing a theme into a site-specific theme folder (i.e. sites/example.com/themes) will frakk up the caching.

While the theme might work at first, after the next cron run (supposedly), the theme will only output the HTML as defined by the template files, but without any CSS information. This happens to all users, whether anonymous or logged in.

Clearing the theme cache will resolve the problem temporarily – until the next cron run (and the next irate phone call by a customer ... >_<).

Moving the theme to sites/all/themes will solve the problem and keep you sane – which still poses the question what is wrong with the code in the first place. I will keep you posted – after all, this did not just happen to me alone, but other people too. *pheeew*.

[1]: http://drupal.org/node/923880[2]: http://drupal.org/node/912428There seems to exist a [bug][1] in [Drupal 6](http://drupal.org/drupal-6.0 "Drupal 6.0 released | drupal.org"), where placing a theme into a site-specific theme folder (i.e. `sites/example.com/themes`) will frakk up the caching.While the theme might work at first, after the next cron run (supposedly), the theme will only output the HTML as defined by the template files, but without any CSS information. This happens to all users, whether anonymous or logged in.Clearing the theme cache will resolve the problem temporarily – until the next cron run (and the next irate phone call by a customer ... >_

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account associated with the e-mail address you provide, it will be used to display your avatar.
By submitting this form, you accept the Mollom privacy policy.


Navigation



Languages