Posted by nhoeller on September 15, 2009 at 2:56pm
Jump to:
| Project: | Site notes |
| Version: | 6.x-1.2 |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | postponed (maintainer needs more info) |
Issue Summary
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
#1
SiteNotes 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).
#2
#3
My 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.