Since installing Checklist (great module - fantastic idea, btw), I have been seeing loads of errors in the admin log. They all revolve around unlocateable CSS files. Here's an example:

Type	page not found
Date	Friday, October 6, 2006 - 7:13pm
User	Visitor
Location	http://www.vcommunity.org.uk/request_introduction/modules/checklist/checklist.css
Referrer	http://www.vcommunity.org.uk/request_introduction/patrick_nelson
Message	request_introduction/modules/checklist/checklist.css not found.
Severity	warning
Hostname	84.65.27.208

The location, referrer and message always point to different locations, e.g,

Location	http://www.vcommunity.org.uk/comment/reply/modules/checklist/checklist.css
Referrer	http://www.vcommunity.org.uk/comment/reply/2973
Message	comment/reply/modules/checklist/checklist.css not found.

and

Location	http://www.vcommunity.org.uk/forum_topic/stevenj/2973/modules/checklist/checklist.css
Referrer	http://www.vcommunity.org.uk/forum_topic/stevenj/2973/how_many_people
Message	forum_topic/stevenj/2973/modules/checklist/checklist.css not found.

I'm assuming there is a typo somewhere in module file, but have no idea. Anyone else?

CommentFileSizeAuthor
#2 checklist_css.patch.txt828 bytesjohn morahan

Comments

Patrick Nelson’s picture

Priority: Normal » Critical

Because of the lack of an answer here, and for the benefit of anyone else experiencing the same problem, I solved it (albeit, not nicely) by commenting out line 127:

    if ($css = variable_get('checklist_css', '')) {
/**      drupal_set_html_head("\n<style type=\"text/css\">@import \"$css\";</style>\n"); */
    }

I've also changed the priority of this bug to critical because (IMO) the module doesn't work properly - if you don't want loads of error messages clogging up your watchdog.

john morahan’s picture

Status: Active » Needs review
StatusFileSize
new828 bytes

Patch to load the CSS using theme_add_style instead of drupal_set_html_head

dave reid’s picture

Status: Needs review » Closed (fixed)

Closing old issues. New module is being created using this namespace.