Closed (fixed)
Project:
Attached Node
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Anonymous (not verified)
Created:
7 Sep 2006 at 17:05 UTC
Updated:
8 May 2021 at 15:46 UTC
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
Comment #1
TomChiverton commentedI 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.
Comment #2
rolodmonkey commentedNo activity in four years. I am assuming that this was fixed.