CSS problems

UnderDesign - October 6, 2006 - 18:23
Project:Checklist
Version:4.7.x-1.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed
Description

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/chec... 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,

and

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

#1

UnderDesign - October 10, 2006 - 20:57
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.

#2

John Morahan - November 30, 2006 - 14:20
Status:active» needs review

Patch to load the CSS using theme_add_style instead of drupal_set_html_head

AttachmentSize
checklist_css.patch.txt 828 bytes

#3

Dave Reid - October 29, 2009 - 04:10
Status:needs review» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.