Css-Images do not load

smitty - February 13, 2009 - 17:31
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)
Description

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.

AttachmentSize
urls.jpg240.2 KB

#1

kkaefer - February 13, 2009 - 23:46
Status:active» postponed (maintainer needs more info)

Please post your sf_cache settings as well. Otherwise I can only guess.

#2

smitty - February 14, 2009 - 10:52

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

kkaefer - February 20, 2009 - 19:43

This might have been fixed in the most recent version of sf_cache in the dev branch. Please check.

#4

smitty - March 6, 2009 - 17:40

Sorry for the delay! Had a lot of other things to do.

No, the problem isn't fixed with the newest dev-version.

 
 

Drupal is a registered trademark of Dries Buytaert.