Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
2 registered (SteveS, Jake), 47 Guests and 15 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 06/05/06
Posts: 709
Top Posters (30 Days)
Ruben 51
Gizmo 24
DennyP 24
Dunny 15
SteveS 13
AllenAyres 12
SD 10
dbremer 10
drkknght00 9
doug 8
Latest Photos
OK Corral Shoot Out
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Topic Options
#227589 - 07/09/09 02:06 PM New login error for some users after switching servers
Shawn Grim Offline
stranger
Registered: 05/19/06
Posts: 16
Any ideas?
I have one guy hwo gets the error on his new computer, and the son doesn't when logging in as his dad on the same internet connection and user name/pwd

-Thank you


Thu, Jul 09 2009 12:24:47 -0500
LolaDoggie

Code:
Script: D:\Home\Sites\LearningStrategies.com\wwwroot\forum\libs\ubbthreads.inc.php - Line: 619

REPLACE INTO ubbt_ONLINE
(ONLINE_DISPLAY_NAME,USER_ID,ONLINE_LAST_ACTIVITY,ONLINE_SCRIPT_NAME,ONLINE_BROWSING_FORUM,ONLINE_USER_TYPE,ONLINE_USER_IP,ONLINE_REFERER,ONLINE_AGENT,ONLINE_POST_ID,ONLINE_POST_SUBJECT)
VALUES ( 'LolaDoggie' , '9879' , '1247160287' , 'postlist' , '22' , 'r' , '173.33.4.205' , 'http://www.happyfornoreason.com/community.asp' , 'Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; GTB5; SU 3.22; SU 3.14; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; Zune 3.0; .NET CLR 3.5.30729; OfficeLiveConnector.1.3; OfficeLivePatch.0.0; .NET CLR 3.0.30729; .NET CLR 1.1.4322; Creative AutoUpdate v1.10.10)' , '0' , '' )
- Data too long for column 'ONLINE_AGENT' at row 1


Edited by Gizmo (07/09/09 05:14 PM)
Edit Reason: Wrapped error in code tags
Top
Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
#227593 - 07/09/09 05:12 PM Re: New login error for some users after switching servers [Re: Shawn Grim]
Gizmo Offline

Registered: 06/05/06
Posts: 14995
Loc: Portland, OR; USA
Well, your error is:
Code:
Data too long for column 'ONLINE_AGENT'


So the UA string is too long to be put into the db field:
Code:
Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; GTB5; SU 3.22; SU 3.14; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; Zune 3.0; .NET CLR 3.5.30729; OfficeLiveConnector.1.3; OfficeLivePatch.0.0; .NET CLR 3.0.30729; .NET CLR 1.1.4322; Creative AutoUpdate v1.10.10)


Basically, the user has a holy plethora of crap installed on their computer and it's all attaching to the UA string. The limit for this field is 255 characters, his UA is more than that (280).

I think we need to strip the input on that field to make sure it's never longer than 255 characters or change the field type to a text vs varchar.

_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#227594 - 07/09/09 05:49 PM Re: New login error for some users after switching servers [Re: Shawn Grim]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
We do have this fixed in a later version, can't remember what version exactly, and I know you're planning on upgrading, so that will fix it when you do.

We can't convert the field to a text column since it's a heap table and text fields aren't allowed.
Top
#227595 - 07/09/09 06:56 PM Re: New login error for some users after switching servers [Re: Rick]
Gizmo Offline

Registered: 06/05/06
Posts: 14995
Loc: Portland, OR; USA
Ahh, well, I'd rather strip additional chars anyway tongue...
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#227686 - 07/16/09 02:10 PM Re: New login error for some users after switching servers [Re: Gizmo]
Shawn Grim Offline
stranger
Registered: 05/19/06
Posts: 16
Thanks guys.

I'm going to check with IT to see if their recent server switch is stable and ready for the upgrade.

Best,

Shawn
Top



Moderator:  AllenAyres, Harold, Ian, Ron M 
Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Temporary Password email not being received
by
05/24/12 10:02 PM
Ability to "like" individual posts (not Facebook "likes)
by doug
05/23/12 09:03 AM
Island Permissions
by ThreadsUser
05/22/12 03:03 PM
streaming video
by prkrgrp
05/20/12 07:02 PM
New Posts Corrupted? Can someone help?
by PianoWorld
05/19/12 09:41 AM
Forum Stats
10492 Members
36 Forums
33842 Topics
181709 Posts

Max Online: 978 @ 06/24/07 11:19 PM
Random Image