Css-Images do not load
| Project: | Support File Cache |
| Version: | 5.x-1.1-a |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | postponed (maintainer needs more info) |
Jump to:
As soon as activating sf_cache the css-background-images get lost.
I've tested this with the garland-theme and the yaml-theme on a new drupal-installation (just the core without any other contributed modules). Drupal is installed into the sub-folder "drupal-core" in the htdocs. After the installation of sf_cache I just activated the replacement of support files through their bundles.
It seems to be a bug in the output of the background-image urls. For example the url of the #header_region in the garland theme before turning on the replacement was:
url(images/bg-navigation.png)
After turning on the replacement the url changed to:
url(//drupal-core/drupal-core/themes/garland/images/bg-navigation.png)
Additional yslow tells me that non of the background images is loaded because it is looked for them in the wrong urls. Please have a look at the screenshot.
| Attachment | Size |
|---|---|
| urls.jpg | 240.2 KB |

#1
Please post your sf_cache settings as well. Otherwise I can only guess.
#2
Which settings do you mean? As told I use the out-of-the-box-settings of sf_cache as they are after installation. I didn't change anything except turning on the replacement. Either no bundles (because Logging is tuned off by default) or autodetected bundles (in the yaml-theme). Anything else you want to know?
#3
This might have been fixed in the most recent version of sf_cache in the dev branch. Please check.
#4
Sorry for the delay! Had a lot of other things to do.
No, the problem isn't fixed with the newest dev-version.