Can you tell me if I have done something stupid and if so how I resolve it.

I tested on a local installation and then I installed Drupal 6.12 on my working site and then added the Acquia Slate theme.

Now I am seeing error log entries for at least one user that say:-

Page not found: sites/all/themes/acquia_slate/iepngfix.htc

I have done some searching, I think I have messed up!...

I installed the Acquia Slate theme in my Drupal Themes directory and the error report and what I have read seems to suggest that I should have installed it in a sites/all/themes directory.

If this is the case, is there a way I can resolve the problem without losing all my site content?

Thanks for any help.

Comments

domesticat’s picture

Category: support » bug

I'm changing this to a bug report. The issue comes from line 126 in ie6-fixes.css:

/**************************/
/* ALPHA TRANSPARENCY FIX */
/**************************/
div#logo img,
div.pngfix { 
  behavior: url(/sites/all/themes/acquia_slate/iepngfix.htc);   /* change path here and in iepngfix.htc to match theme location */ 
} 

The site I'm running acquia_slate on is part of a multi-site install, and as a result this theme doesn't (and won't ever) live in /sites/all/themes. If the URL has to be fully spelled out in this manner, that's not a big deal; it just means there needs to be something in the documentation indicating tweaks may be necessary for acquia_slate on multi-site installs.

jwolf’s picture

Status: Active » Closed (works as designed)

Acquia Slate does not use any alpha transparent png images. However, for consistency and documentation purposes, the pngfix code is available in the theme for those wishing to use alpha transparent png images with this theme.

@Josie_h - you can change the path in ie6-fixes.css and iepngfix.htc to the location where your theme is installed.

@domesticat - I'm not sure why having a multi-site setup would matter as to the path of the theme unless you want to isolate the theme to only one site. /sites/example.com/themes = only available to example.com vs. /sites/all/themes = available to all sites.

I think the part that says /* change path here and in iepngfix.htc to match theme location */ in the ie6-fixes.css kinda indicates that this is not a bug and is by design.

Yes, documentation on d.o would be helpful and I have added such documentation at http://drupal.org/node/418326#pngfix

Josie_h’s picture

Thanks jwolf,

I probably went the long way about it, but I didn't seem to be gatting any replies to the support request so I changed the location of the theme (moved it to the correct directory) to reflect what was reported by the error message. Seems to working now.