Well guys, I did some digging and this is what I found.... odd corruption in the summary.html cache file and it seems to have to do with the recent visitors settings. Check it out:
The bad /cache-CTX3K395/ubb_files/summary/summary.html has this in it:
%0A%3Ctable%20border%3D%220%22%20cellpadding%3D%221%22%20cellspacing%3D%221%22%20width%3D%2295%25%22%20align%3D%22center%22%3E%0A%3Ctr%20bgcolor%3D%22%23000000%22%3E%3Ctd%3E%0A%3Ctable%20border%3D%220%22%20width%3D%22100%25%22%20cellpadding%3D%223%22%20cellspacing%3D%220%22%3E%0A", "%0A%3C%2Ftable%3E%3C%2Ftd%3E%3C%2Ftr%3E%3C%2Ftable%3E%0A", "3") ?>
If I view this HTML file in a browser, it displays this junk instead of the island on the bottom where the recent visitors should be.
A good summary.html has this line instead:
Here is what that function is defined as
function pntfGetCacheForSummary ($category, $TBT, $TBB, $colspan) {
global $NonCGIPath, $cache_pw, $PNTFPrune, $TheFile;
$TBT = rawurldecode($TBT);
$TBB = rawurldecode($TBB);
$fto = $NonCGIPath . "/cache-" . $cache_pw . "/pntf/9999";
if($category != "") {
$fto .= "_$category";
} // end if
$fto .= ".cgi";
if(file_exists($fto)) {
$info = stat($fto);
if($info[9] > (time() - ($PNTFPrune * 60))) {
$fo = join("", file($fto));
echo("$TBT$fo$TBB");
// echo "Found the file, and got these: '$category', '$TBT', '$TBB', '$colspan'";
} else {
unlink($TheFile); // Delete the cache file we just read so the next visit will go to the CGI script to regen PNTF.
$fo = join("", file($fto));
echo("$TBT$fo$TBB");
} // end if
} // end if
} // end func
So now its on to figure out what's $TBT
My perl is very rusty, but my PHP never existed in the first place
