vBulletin Modifications

What does this error mean exactly.

Welcome to vBHackers.com! - vBHackers Updates:

Go Back   vBulletin Modifications > General vBulletin Section > General vBulletin Support

Reply
 
LinkBack Thread Tools
Old 08-25-2006, 04:22 PM   #1
vB User
Join Date: Jun 2006
snakeboy is on a distinguished road

Default What does this error mean exactly?

Hi,

I recently migrated a bunch of users (around 100) into a fresh installed 3.5.5 board, and only ONE user is constantly getting this error when logging in, but I don't know why or how to fix it.

I've tried:

1 - Removing his default avatar completely.
2 - Adding a new avatar from the boards selection.
3 - Added a new user and merged the two users into the new user. (This obviously resulted in the original user being deleted once completed, so I renamed the new user to match the old deleted user.)
4 - Changing his usergroup up and down again.

I have also rebuilt the relevant counters and attempted the "Fix broken profiles" setting after each attempt.

What is this code saying is wrong and how do I fix it?

You must first be a registered member to view any code.
Any suggestions would be appreciated.

-snake




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 08-25-2006, 04:30 PM   #2
Michael Biddle
Staff
Michael Biddle's Avatar
Join Date: Feb 2005
Real Name: Michael Biddle
Location: Anaheim
Michael Biddle is on a distinguished road

Default

can i get the whole error?
__________________
Support will ONLY be offered through forums
Michael Biddle / vBHackers.com
vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations

vBSEO Google Sitemap Generator - Version 2.2 Released Mandatory Upgrade for vBSEO 3.2.0 GOLD

6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You.

Crawlability Network: vBulletin SEO | vBulletin Hackers




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-25-2006, 04:31 PM   #3
vBulletin Guru
Nick R's Avatar
Join Date: May 2006
Real Name: Nick
Location: Cyberspace, UK
Nick R is on a distinguished road

Default

well you can see the problem:" WHERE user.userid =;" The userid variable is blank, Do this query: "SELECT user.userid, user.username FROM user WHERE user.username = 'THE USERNAME HERE'" And tell me what it comes back with.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-25-2006, 04:42 PM   #4
vB User
Join Date: Jun 2006
snakeboy is on a distinguished road

Default

Quote:
Originally Posted by rogersnm
well you can see the problem:" WHERE user.userid =;" The userid variable is blank, Do this query: "SELECT user.userid, user.username FROM user WHERE user.username = 'THE USERNAME HERE'" And tell me what it comes back with.
I ran the query, and it returns the username and the userid. The username being themadhatter and the userid being 108 and the result generated in 0.0004s.

I don't get it?

-snake

PS, here's the full error as it was requested:

You must first be a registered member to view any code.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-25-2006, 04:43 PM   #5
vBulletin Guru
Nick R's Avatar
Join Date: May 2006
Real Name: Nick
Location: Cyberspace, UK
Nick R is on a distinguished road

Default

as i said, i quote:
Quote:
Originally Posted by rogersnm
well you can see the problem:" WHERE user.userid =;" The userid variable is blank, Do this query: "SELECT user.userid, user.username FROM user WHERE user.username = 'THE USERNAME HERE'" And tell me what it comes back with.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-25-2006, 04:48 PM   #6
vB User
Join Date: Jun 2006
snakeboy is on a distinguished road

Default

Quote:
Originally Posted by rogersnm
as i said, i quote:
I ran the query you gave, it returned the username and userid correctly. I am still not able to login as this user, getting this error still:

At login, I supply the username and password and it says "thank you for logging in themadhatter" followed instantly by this error.

You must first be a registered member to view any code.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-25-2006, 04:55 PM   #7
vBulletin Guru
Nick R's Avatar
Join Date: May 2006
Real Name: Nick
Location: Cyberspace, UK
Nick R is on a distinguished road

Default

the query wasn't going to fix anything just to see if there was actually a userid allocated to that user. Try reuploading all the scripts again just incase one got corrupted.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-25-2006, 05:02 PM   #8
vB User
Join Date: Jun 2006
snakeboy is on a distinguished road

Default

Quote:
Originally Posted by rogersnm
the query wasn't going to fix anything just to see if there was actually a userid allocated to that user. Try reuploading all the scripts again just incase one got corrupted.
I see. Uploading the boards scripts doesn't seem to have had any effect.

It baffles me that no other users have reported any issues whatsoever, and extensive testing I've done alone has revealed no issues.
I can access this user's posts on the board as well as his profile via the admincp without issue, so vb appears to be able to locate him, but not when it matters, ie login time for him.

As an alternative, how could I delete this user WITHOUT having all his posts on the board marked as "guest" and then attempt re-adding him. Perhaps this would solve it?

-snake




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-25-2006, 07:31 PM   #9
vB User
Join Date: Jun 2006
snakeboy is on a distinguished road

Default

Quote:
Originally Posted by snakeboy

As an alternative, how could I delete this user WITHOUT having all his posts on the board marked as "guest" and then attempt re-adding him. Perhaps this would solve it?
<bump>

Re-uploading ALL the boards files has had no effect, so this tells me that the fault lies in the database, right? My idea above should work though, shouldn't it? But how?

-snake




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-25-2006, 07:39 PM   #10
vBulletin Guru
Nick R's Avatar
Join Date: May 2006
Real Name: Nick
Location: Cyberspace, UK
Nick R is on a distinguished road

Default

BACK UP YOUR DB FIRST!!!!

easier said than done... It's not just changing the id in one table but alot of tables. BUT what you could do is change all the posts. Delete the old user, make a new one then run:
Quote:
UPDATE post SET userid = 'NEW USERID',
username = 'NEW USERNAME' WHERE userid ='OLD USERID'
Then run
Quote:
UPDATE thread SET postuserid = 'NEW USERID',
postusername = 'NEW USERNAME' WHERE postuserid ='OLD USERID'
BUT BACK UP YOUR DB FIRST!!!!
And then it should work




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT -3. The time now is 12:17 AM.

Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc. (Patent Pending)