php forum
php mysql forum
php mysql smarty
 
Page 1 of 2 1 2 >
Topic Options
#313461 - 03/09/07 07:04 PM No member profile found for member number: 1
st515O Offline
Newbie

Registered: 11/02/06
Posts: 24
Anyone know what this error means in ubb classic? It shows up when trying to view the main page. It goes away for a few hours when the cache is cleared, but always comes back. Nothing is wrong or abnormal about member number 1's profile and I can't figure out.

It looks like this http://72.14.253.104/search?q=cache:sVdttRgUF6EJ:www.pdngallery.com/cgi-bin/ubb/ultimatebb.cgi%3Fubb%3Dget_profile%3Bu+%22No+member+profile+found+for+member+number:%22&hl=en&ct=clnk&cd=16&gl=us&client=firefox-a


Top
Buy Stuff!
#313469 - 03/09/07 08:57 PM Re: No member profile found for member number: 1 [Re: st515O]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
A member profile may be currupted; you should try rebuilding the member meta deta
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#313483 - 03/11/07 04:38 AM Re: No member profile found for member number: 1 [Re: Gizmo]
st515O Offline
Newbie

Registered: 11/02/06
Posts: 24
Thanks. It didn't help. I did find this out though, when clearning the cache, it's the " Miscellaneous Pages
Includes the UBB Codeâ„¢ Definition page, the FAQ page, and the Daily Active Topics page." option that fixes this problem. Odd. I think it has something to do with the daily active topics but who knows. Anyone know the details of how this function works in the cache and have any tips on trouble shootin it?

Top
#313511 - 03/12/07 08:11 PM Re: No member profile found for member number: 1 [Re: st515O]
st515O Offline
Newbie

Registered: 11/02/06
Posts: 24
I've rebuilt everything, search index, post history, forum stats, etc with no luck. Only disabling the accelerator seems to fix this and I'm at a loss. If the accelerator is enabled, it takes 2-6 hours for the error to pop up. Any ideas anyone? I don't even know how to start debuging this error.



ps- I think this is the wrong section for this post so feel free to move it to a more proper location.

Top
#313513 - 03/12/07 09:05 PM Re: No member profile found for member number: 1 [Re: st515O]
Charles Capps Offline
Admin Emeritus

Registered: 01/09/00
Posts: 5438
Loc: Lynnwood, WA
confused

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
#313514 - 03/12/07 09:14 PM Re: No member profile found for member number: 1 [Re: Charles Capps]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
i told everyone I'd get him back....
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#313515 - 03/13/07 03:58 AM Re: No member profile found for member number: 1 [Re: Gizmo]
st515O Offline
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
#313516 - 03/13/07 04:06 AM Re: No member profile found for member number: 1 [Re: st515O]
st515O Offline
Newbie

Registered: 11/02/06
Posts: 24
Just brain storming......maybe a few days before the problem started, I zapped the .threads files and some other v5.x junk I had lying around for half a decade after I upgraded to version six five of the board. 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. I'm also running PHP 4,3,9(safe mode) which could probably use a version upgrade.... but I've ran .classic on much older versions/boxes with no problems (remember Netscape Fasttrack server? remember irix6.4? laugh )


Edited by st5150 (03/13/07 04:07 AM)

Top
#313517 - 03/13/07 09:28 AM Re: No member profile found for member number: 1 [Re: Charles Capps]
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
Hey CC! wavey
_________________________
- Allen wavey
- What Drives You?

Top
#313518 - 03/13/07 09:35 AM Re: No member profile found for member number: 1 [Re: st515O]
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
It never hurts to keep your php and perl updated to relatively current offerings, tho as we get further and further from .classic's EOL who knows how the scripts will work in perl 6 and php 5+.
_________________________
- Allen wavey
- What Drives You?

Top
#313523 - 03/13/07 02:05 PM Re: No member profile found for member number: 1 [Re: AllenAyres]
Charles Capps Offline
Admin Emeritus

Registered: 01/09/00
Posts: 5438
Loc: Lynnwood, WA
Quote:
remember Netscape Fasttrack server? remember irix6.4?
That sound you just heard from Seattle was my head exploding. Ouch.

Quote:
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
#313524 - 03/13/07 05:01 PM Re: No member profile found for member number: 1 [Re: Charles Capps]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Lol it exploded last night when i linked you to this thread too... I thought St Hellens blew again... It was just the head of cc...

_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#313545 - 03/14/07 08:41 PM Re: No member profile found for member number: 1 [Re: Gizmo]
st515O Offline
Newbie

Registered: 11/02/06
Posts: 24
Well I zapped the .thread files, rebuilt the post stats then rebuilt the member stats. Enabled the accelerator and 5.5 hours later, the error popped up again frown I'm running out of things to try....its starting to become more witchcraft than science. I'm wondering if a good place to start is looking at exactly what is cleared under the "Miscellaneous Pages
Includes the UBB Codeâ„¢ Definition page, the FAQ page, and the Daily Active Topics page." option? Also, the cache directory seems to be randomly generated... for example cache-CTX3K395 Is there a way to change this? If I zap it with a rm -rf , the board script instantly recreates it. I saw the cache directory is listed in vars_config.inc.php, so I'm pondering editing the script to make my own cache directory name.... but this could be the start of the end for the board.

Top
#313558 - 03/16/07 02:02 AM Re: No member profile found for member number: 1 [Re: st515O]
st515O Offline
Newbie

Registered: 11/02/06
Posts: 24
Renamed the cache directory in both the cgi and php vars config files..... started out with a brand new fresh copy of the cache directory.... 6 hours later back to the same error.

I also verified all the members files were ASCII and not binary with the 'file' command ( file *.cgi | grep -v ASCII ).

Trying to prune some old posts now.

Interesting enough, it seems the error started in one forum, then one by one it spread to the other forums until finally the mail ultimatebb.cgi script started giving the error.

The saga continues....


EDIT: Using the 'Upgrade Your UBB.Classic' option made the error go away for 30 minutes. Odd, I haven't looked at the code, but from the looks of things I always thought it only compared version numbers of files and not much more.


Edited by st5150 (03/16/07 02:30 AM)

Top
#313559 - 03/16/07 03:26 AM Re: No member profile found for member number: 1 [Re: st515O]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Lol the "upgrade your ubb" button runs updates on your vars files; theres a reason it's part of an upgrade wink
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#313561 - 03/16/07 05:57 AM Re: No member profile found for member number: 1 [Re: Gizmo]
st515O Offline
Newbie

Registered: 11/02/06
Posts: 24
Gizmo, what do you mean by 'runs updates' ? I started to glance at the code, but got distracted.

Top
#313568 - 03/16/07 03:01 PM Re: No member profile found for member number: 1 [Re: st515O]
st515O Offline
Newbie

Registered: 11/02/06
Posts: 24
Keep your fingers crossed everyone..... I did a bunch of things including restoring missing files in the user ratings and raters directories. Almost 12 hours and going strong.

Top
#313573 - 03/16/07 04:50 PM Re: No member profile found for member number: 1 [Re: st515O]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Well, part of running an upgrade within classic is to click the "upgrade your ubb" button, it will apply any specified updates to your variables files, since they are not touched by the upgrade .zip's uploads.
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#313575 - 03/16/07 06:43 PM Re: No member profile found for member number: 1 [Re: Gizmo]
st515O Offline
Newbie

Registered: 11/02/06
Posts: 24
I spoke too soon, after 4 hours the error popped up.... but I found a new way to get it to go away, I simply viewed the Configuration Settigns, didn't change a thing and clicked "Update Configuration Settings" .... gonna go look at the code now to see exactly what's changed/touched when I do that.


Top
#313587 - 03/17/07 03:43 PM Re: No member profile found for member number: 1 [Re: st515O]
st515O Offline
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

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


Edited by st5150 (03/17/07 05:30 PM)

Top
Page 1 of 2 1 2 >



Moderator:  Gizmo, Ian_W 
Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks