Recent Topics

1 Nov 30, 2005 16:56    

This is something I thought I noticed happening a while ago but wasn't really concerned with it at the time. It seems like every visit via an external link creates two referer entries in the sidebar stats, instead of just one. Anyone have an idea where I should be looking to get to the bottom of it?

jj.

2 Nov 30, 2005 18:42

You have probably two calls to hit_log() or log_hit() - don't know actually which one it is for 0.9.x.. :)

3 Nov 30, 2005 19:10

Indeed... I had two copies of the following block (dunno why) in the footer area:

<?php // START FOOTER SECTION ?>
<?php 
log_hit(); // log the hit on this page
debug_info(); // output debug info if requested
?>

Thanks,

jj.


Form is loading...