Hello. Drupal is up and running, but when I change the color set of the Garland theme (or any recolorable theme) the result is that no style is applied and the whole site looks is without any applied css (obviously).
I read some posts and issues, but couldn't find the problem and it's solution.

Should I also add a screenshot?

Comments

rafaeldwan’s picture

i'm surprised there's no replies to this, or the other related report from may, it seems like a big problem.

the only way to get back to a working site is to choose a non-recolorable theme or the "default" setting on a recolorable. This first happened after I turned on "optimize css" and "optimize javascript"... which warn that they can "interfere with theme development" but if it's known that they completely break the color module, shouldn't the warning be a little more specific?

I tried disabling the "optimize" settings, but it remained broken, same after I re-enabled them.

Here's the errors generated when I switch from default blue lagoon garland to olivia. they're similar if not identical for any color change I attempt:

* The selected file themes/garland/images/menu-collapsed.gif could not be uploaded, because the destination is not properly configured.
* The selected file themes/garland/images/menu-collapsed-rtl.gif could not be uploaded, because the destination is not properly configured.
* The selected file themes/garland/images/menu-expanded.gif could not be uploaded, because the destination is not properly configured.
* The selected file themes/garland/images/menu-leaf.gif could not be uploaded, because the destination is not properly configured.
* warning: imagepng() [function.imagepng]: Unable to open 'sites/default/files/color/garland-e1f510e4/body.png' for writing: No such file or directory in /home/fro/www/modules/color/color.module on line 502.
* warning: imagepng() [function.imagepng]: Unable to open 'sites/default/files/color/garland-e1f510e4/bg-bar.png' for writing: No such file or directory in /home/fro/www/modules/color/color.module on line 502.
* warning: imagepng() [function.imagepng]: Unable to open 'sites/default/files/color/garland-e1f510e4/bg-bar-white.png' for writing: No such file or directory in /home/fro/www/modules/color/color.module on line 502.
* warning: imagepng() [function.imagepng]: Unable to open 'sites/default/files/color/garland-e1f510e4/bg-tab.png' for writing: No such file or directory in /home/fro/www/modules/color/color.module on line 502.
* warning: imagepng() [function.imagepng]: Unable to open 'sites/default/files/color/garland-e1f510e4/bg-navigation.png' for writing: No such file or directory in /home/fro/www/modules/color/color.module on line 502.
* warning: imagepng() [function.imagepng]: Unable to open 'sites/default/files/color/garland-e1f510e4/bg-content-left.png' for writing: No such file or directory in /home/fro/www/modules/color/color.module on line 502.
* warning: imagepng() [function.imagepng]: Unable to open 'sites/default/files/color/garland-e1f510e4/bg-content-right.png' for writing: No such file or directory in /home/fro/www/modules/color/color.module on line 502.
* warning: imagepng() [function.imagepng]: Unable to open 'sites/default/files/color/garland-e1f510e4/bg-content.png' for writing: No such file or directory in /home/fro/www/modules/color/color.module on line 502.
* warning: imagepng() [function.imagepng]: Unable to open 'sites/default/files/color/garland-e1f510e4/bg-navigation-item.png' for writing: No such file or directory in /home/fro/www/modules/color/color.module on line 502.
* warning: imagepng() [function.imagepng]: Unable to open 'sites/default/files/color/garland-e1f510e4/bg-navigation-item-hover.png' for writing: No such file or directory in /home/fro/www/modules/color/color.module on line 502.
* warning: imagepng() [function.imagepng]: Unable to open 'sites/default/files/color/garland-e1f510e4/gradient-inner.png' for writing: No such file or directory in /home/fro/www/modules/color/color.module on line 502.
* warning: imagepng() [function.imagepng]: Unable to open 'sites/default/files/color/garland-e1f510e4/logo.png' for writing: No such file or directory in /home/fro/www/modules/color/color.module on line 502.
* warning: imagepng() [function.imagepng]: Unable to open 'sites/default/files/color/garland-e1f510e4/screenshot.png' for writing: No such file or directory in /home/fro/www/modules/color/color.module on line 502.
* The selected file /home/fro/www/sites/default/files/temp/fileb9w5md could not be uploaded, because the destination is not properly configured.
* The selected file /home/fro/www/sites/default/files/temp/file7OGvVE could not be uploaded, because the destination is not properly configured.

Any ideas for fixing this short of a reinstall? Or would that even work?

rafaeldwan’s picture

the problem was with ftp permissions... somehow the theme folder's write permission was off for group and user... I enabled and everything started working again.

now I have to worry about why permissions have randomly changed... but at least the problem's solved...

flashy’s picture

I edited the Garland theme to match my design, it looked perfect. Whilst I was editing it locally, I noticed my CSS changes had been saving in a strange place - sites/default/files/color/garland-42c0dc86/style.css. It was this file that my theme was recognising, not the standard themes/garland/style.css. I continued to theme my site knowing this, thinking it wouldn't be an issue when making it live.

Once I uploaded all my files to the live server, my theme was dead. It wasn't recognising any style sheets. I moved the theme files around, adding the themed style sheet to the themes/garland/style.css - but still it isn't showing up.

I started thinking to myself, is the Garland theme even meant to be edited?

Can anybody help with this strange problem? Hopefully its something really obvious.

Thanks

KidneyPlus’s picture

i had same problems when first installation drupal .
because it's first and there's no content, i reinstall drupal .
and problem fixed .

*note : if the solutions in above my post not solved :)