Project:Statistics Advanced Settings
Version:6.x-1.3
Component:Code
Category:bug report
Priority:normal
Assigned:Dave Reid
Status:closed (fixed)

Issue Summary

With cache enabled I get the following error:

Fatal error: Call to undefined function drupal_set_header() in /home/sobfam/public_html/sites/all/modules/statistics_advanced/statistics_advanced.module on line 110

Thank you.

Comments

#1

Assigned to:Anonymous» Dave Reid

Yep I just noticed this on my own site. This will be fixed shortly.

#2

Note to myself to use a combination of:

<?php
function _statistics_advanced_is404or403() {
 
function_exists('headers_list')
 
function_exists('drupal_set_header')
  global
$base_root; db_result(db_query("headers FROM {cache_page} WHERE cid = '%s'", $base_root . request_uri()));
}
?>

#3

ditto... does the current dev fix this?

#4

Status:active» fixed

Fixed in 6.x-1.x. Sorry for the delay, I've been having some major laptop problems. :/

#5

Thanks... :-)

#6

Status:fixed» closed (fixed)

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

nobody click here