Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Nov 2006
Posts: 24
Newbie
Newbie
Offline
Joined: Nov 2006
Posts: 24
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

Code

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 smile

Last edited by st5150; 03/17/2007 5:30 PM.
Sponsored Links
Entire Thread
Subject Posted By Posted
No member profile found for member number: 1 st515O 03/10/2007 3:04 AM
Re: No member profile found for member number: 1 Gizmo 03/10/2007 4:57 AM
Re: No member profile found for member number: 1 st515O 03/11/2007 11:38 AM
Re: No member profile found for member number: 1 st515O 03/13/2007 3:11 AM
Re: No member profile found for member number: 1 Charles Capps 03/13/2007 4:05 AM
Re: No member profile found for member number: 1 Gizmo 03/13/2007 4:14 AM
Re: No member profile found for member number: 1 st515O 03/13/2007 10:58 AM
Re: No member profile found for member number: 1 st515O 03/13/2007 11:06 AM
Re: No member profile found for member number: 1 AllenAyres 03/13/2007 4:35 PM
Re: No member profile found for member number: 1 Charles Capps 03/13/2007 9:05 PM
Re: No member profile found for member number: 1 Gizmo 03/14/2007 12:01 AM
Re: No member profile found for member number: 1 st515O 03/15/2007 3:41 AM
Re: No member profile found for member number: 1 st515O 03/16/2007 9:02 AM
Re: No member profile found for member number: 1 Gizmo 03/16/2007 10:26 AM
Re: No member profile found for member number: 1 st515O 03/16/2007 12:57 PM
Re: No member profile found for member number: 1 st515O 03/16/2007 10:01 PM
Re: No member profile found for member number: 1 Gizmo 03/16/2007 11:50 PM
Re: No member profile found for member number: 1 st515O 03/17/2007 1:43 AM
Re: No member profile found for member number: 1 st515O 03/17/2007 10:43 PM
Re: No member profile found for member number: 1 navaho 03/20/2007 3:01 AM
Re: No member profile found for member number: 1 AllenAyres 03/20/2007 3:30 PM
Re: No member profile found for member number: 1 st515O 03/20/2007 11:34 PM
Re: No member profile found for member number: 1 navaho 03/21/2007 10:52 PM
Re: No member profile found for member number: 1 st515O 03/22/2007 8:24 AM
Re: No member profile found for member number: 1 Charles Capps 03/22/2007 10:34 AM
Re: No member profile found for member number: 1 st515O 03/25/2007 8:20 AM
Re: No member profile found for member number: 1 Gizmo 03/25/2007 11:36 AM
Re: No member profile found for member number: 1 navaho 03/27/2007 3:08 AM
Re: No member profile found for member number: 1 AllenAyres 03/13/2007 4:28 PM

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
AllenAyres
AllenAyres
Texas
Posts: 21,079
Joined: March 2000
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)