 |
 |
 |
 |
#313513 - 03/12/07 09:05 PM
Re: No member profile found for member number: 1
[Re: st515O]
|
Admin Emeritus
Registered: 01/09/00
Posts: 5438
Loc: Lynnwood, WA
|
 okay, this was bad enough to make me log in for the first time in over six months. Let's take a look at that Google cache entry. www. pdngallery.com/cgi-bin/ubb/ultimatebb.cgi%3Fubb%3Dget_profile%3Bu+%22No+member+profile+found+for+member+number:%22 -> www. pdngallery.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_profile;u "No member profile found for member number:" (mutter mutter unable to disable UBBCode mutter mutter) This is not your front page. This is a public profile with no rofile number passed in... or, rather, with a *string* being passed in. Huh? Also, the error message is very specific -- profile 0 can't be found. Not 00000000, not 1, not 00000001, but 0. That means that either a literal zero is being passed in, or something (such as a string) that is being mangled into a zero is being passed in. In other words, I call BS on the data. Something is very wrong there. I call shenanigans on this wtfery. Also, hi.
_________________________
UBB.classic: Love it or hate it, it was mine.
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#313515 - 03/13/07 03:58 AM
Re: No member profile found for member number: 1
[Re: Gizmo]
|
Newbie
Registered: 11/02/06
Posts: 24
|
Oh wow, thank you gizmo... if I never expected you (or anyone) to summon the UBB god himself! :worship:
Charles, thank you so much for chiming in. I understand your explanation for the google cache link, it's obvious based on the URL that the ultimatebb.cgi script is being fed an incomplete "?ubb=get_profile&u" (with no =xxxxxxx) thus resulting in the No member profile found error. I appologise for my oringal post not being clear, but while my error message the same, how I go about recieving it is different. I make no ?ubb=get_profile&u call.
My problem is, I get the "No member profile found for member number: 1" error when trying simply accessing /cgi-bin/ultimatebb.cgi (the main/summary page). No ?ubb=get_profile&u is present... it's simply the front/main page I'm trying to view. After trying several things, the only fix I found is either clearing the "Miscellaneous Pages Includes the UBB Codeâ„¢ Definition page, the FAQ page, and the Daily Active Topics page." part of the cache, which fixes the problem for a few hours or I can fix it for good and take a performance hit by disabling the UBB.classic Accelerator. I hope this makes sense. I've been a very happy UBB.classic user for 7 years! Thanks Charles.
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#313523 - 03/13/07 02:05 PM
Re: No member profile found for member number: 1
[Re: AllenAyres]
|
Admin Emeritus
Registered: 01/09/00
Posts: 5438
Loc: Lynnwood, WA
|
remember Netscape Fasttrack server? remember irix6.4? That sound you just heard from Seattle was my head exploding. Ouch. I quickly realized the forum_*.threads files were needed so I 'rebuilt' everything and was good to go. This is the only change on my end that could have possibly caused this problem. Totally serious here. Go nuke them again, and do another rebuild... and then go back and make sure that they've all been rebuilt. If it's a problem with the topic data, it should be detected during the rebuild. If it's a problem with the member data... eh, dunno, this is still a giant set of wtf, and I haven't even looked at the code in over a year, so who knows.
_________________________
UBB.classic: Love it or hate it, it was mine.
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#313587 - 03/17/07 03:43 PM
Re: No member profile found for member number: 1
[Re: st515O]
|
Newbie
Registered: 11/02/06
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: <?PHP pntfGetCacheForSummary('', " %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: <?PHP pntfGetCacheForSummary('', "", "", "3") ?> 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 
Edited by st5150 (03/17/07 05:30 PM)
|
|
Top
|
|
|
|
 |
 |
 |
 |
|
|