Hi,

if I enable Drupal's cache mechanism, every page I try to download as anonymous user is completely blank (0 bytes) and the following error is added to the error log file of Apache :

PHP Fatal error: Call to undefined function drupal_set_html_head() in /var/www/html/modules/attached_node/attached_node.module on line 31

If I disable cache, everything works fine.

The attached_node.module file has the following mark :

$Id: attached_node.module,v 1.12 2006/08/13 18:12:15 javanaut Exp $

Comments

TomChiverton’s picture

Priority: Normal » Critical

I have changed the function to be:
/**
* Adds attached_node stylesheet to html head section of pages
*/
function attached_node_init() {
global $base_url;
if (function_exists('drupal_set_html_head')){
drupal_set_html_head("
");
}
}

and all appears well. Without this test, RSS feeds are empty too.

rolodmonkey’s picture

Status: Active » Fixed

No activity in four years. I am assuming that this was fixed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.