Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
Well, I have a the same small problem with Drupal 6.19. I have a few websites which run all custom themes. I use a lot of modules which have their own CSS files and my custom themes CSS file is pretty complex. Things are running pretty good on Drupal 6.17 and 6.18, but 6.19 breaks the file. Seems like when Optimize CSS is enabled the files are not merged correctly and things get broken.
I stick now with 6.18, but if one day 6.20 will be released with security fixes and this problem with the CSS file optimization still exists then I won't be able to update to the new version. I could have the optimization disabled, but it has to be enabled due to a few reasons.
Where could be the problem ? What has changed to cause this problem, which bugfix in 6.19 could cause this problem and what can I do ( besides to disable the optimization ) to fix this problem.
For me, this was caused by one missing } in one css file, which broke my zen subtheme based site when aggregation is turned on. Took me hours to find it.
Comments
Comment #1
torsti commentedI can confirm this - it happens when updating from 6.18 to 6.19. This might be related to Zen... Matt, are you using Zen 1.x or 2.x theme?
Comment #2
Anonymous (not verified) commentedWell, I have a the same small problem with Drupal 6.19. I have a few websites which run all custom themes. I use a lot of modules which have their own CSS files and my custom themes CSS file is pretty complex. Things are running pretty good on Drupal 6.17 and 6.18, but 6.19 breaks the file. Seems like when Optimize CSS is enabled the files are not merged correctly and things get broken.
I stick now with 6.18, but if one day 6.20 will be released with security fixes and this problem with the CSS file optimization still exists then I won't be able to update to the new version. I could have the optimization disabled, but it has to be enabled due to a few reasons.
Where could be the problem ? What has changed to cause this problem, which bugfix in 6.19 could cause this problem and what can I do ( besides to disable the optimization ) to fix this problem.
Thanks
Igor
Comment #3
dddave commentedI am using Acquia Marina + Fusion and I have no problems with the upgrade. Upgraded from 6.17 to 6.19.
IF this is indeed caused by something in 6.19 this would be of major priority as css aggregation is performance critical.
Comment #4
damien tournoud commentedLikely a duplicate of #881132: CSS Optimization breaks with non-UTF-8 .css files.
Comment #5
mattyoung commentedMaybe this is caused by #444228: Optimize CSS option causes php cgi to segfault in pcre function "match"?
The site the has this problem does not use the Zen theme. Another site that uses the zen theme does not have this problem
Comment #6
skyredwangsubscribe
Comment #7
dwhutton commentedsubscribe
Comment #8
justindavis commentedI'm noticing the same problem. My theme is Zen 1.x based.
Comment #9
wpanssi commentedsubscribe
Comment #10
roald commentedSame issue - subscribing. My theme is Zen 1.x based.
Comment #11
roald commentedSee solutions provided here: http://drupal.org/node/881132
Comment #12
kevinwalsh commentedFor me, this was caused by one missing } in one css file, which broke my zen subtheme based site when aggregation is turned on. Took me hours to find it.