Closed (fixed)
Project:
Site Notes
Version:
6.x-1.2
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
15 Sep 2009 at 14:56 UTC
Updated:
22 Feb 2013 at 20:05 UTC
I had created a modified theme (garland-bdm) but recently switched to a sub-theme (garland-nh) and deleted the old theme. Whenever I access SiteNotes, I get an error that the page 'sites/all/themes/garland-bdm/style.css' is not found. The referrer is 'admin/build/sitenotes'. SiteNotes itself seems to work fine - the only issue is the error message in the log.
Is SiteNotes storing the full path to 'style.css'?
Thanks, Norbert
PS. Nancy, very useful module!
Comments
Comment #1
nancydruSiteNotes is really a pretty simple module and doesn't use a CSS of its own. I have no idea why it would refer to the old CSS.
Are you using CSS caching? If so, it might help to purge all the old cached CSS files (check Cleaner).
Comment #2
nancydruComment #3
nhoeller commentedMy apologies for the slow response - Drupal was running along nicely and other priorities took over my life. When I checked the source of the SiteNote, I found the following:
link rel="stylesheet" type="text/css" href="/sites/all/themes/garland-bdm/style.css"
link rel="stylesheet" type="text/css" href="/sites/all/modules/fckeditor/fckeditor.css"
link rel="stylesheet" type="text/css" href="/sites/all/themes/garland-bdm/style.css"
link rel="stylesheet" type="text/css" href="/sites/all/modules/fckeditor/fckeditor.css"
I run three sites under a common Drupal 6.15 installation. One of the other sites had one SiteNote containing the following. Since it pointed to a valid theme, it did not report any problems.
link rel="stylesheet" type="text/css" href="/sites/all/themes/garland/style.css"
link rel="stylesheet" type="text/css" href="/sites/all/modules/fckeditor/fckeditor.css"
I am at a loss to explain where the CSS imbeds came from. I have cleaned up the CSS and will watch to see if it reappears.
Comment #4
nancydruI don't either, but it sounds like you fixed this.