Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
Who's Online
4 registered (AllenAyres, Gizmo, Ruben Rocha, 1 invisible), 18 Guests and 18 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 06/20/07
Posts: 8
Top Posters (30 Days)
Ruben Rocha 161
Rick 116
Gizmo 105
Thelockman 61
driv 50
AllenAyres 39
ScriptKeeper 32
Mark S 30
Ian 30
ntdoc 24
Latest Photos
My Home System
test photo gallery
Bernese Mountain Dogs
My Daimler
Dorado and shark
Topic Options
Rate This Topic
#1725 - 07/23/06 01:26 AM More information might be linked to other issues.
Mors Offline
addict

Registered: 06/26/06
Posts: 445
Loc: So. California
Importer for Threads on PHP5.1 and MySQL5.0 on Windows 2003 IIS 6.0. It dies at users and was fine on the first tables.


==============================================

Processing users 1 - 201 of 519

Importing Mors - Mors (2)
Script:
Line#:
SQL Error:
SQL Error #: 0
Query: insert into ubbt_USER_PROFILE (USER_ID,USER_REAL_EMAIL,USER_DISPLAY_EMAIL,USER_SIGNATURE,USER_DEFAULT_SIGNATURE,USER_HOMEPAGE,USER_OCCUPATION, USER_LOCATION,USER_TOPICS_PER_PAGE,USER_TOPIC_VIEW_TYPE,USER_NOTIFY_ON_PM,USER_ICQ,USER_EXTRA_FIELD_1,USER_EXTRA_FIELD_2,USER_EXTRA_FIELD_3,USER_EXTRA_FIELD_4,USER_EXTRA_FIELD_5,USER_AVATAR,USER_SHOW_AVATARS,USER_VISIBLE_ONLINE_STATUS, USER_ACCEPT_PM,USER_TITLE,USER_POSTS_PER_TOPIC,USER_NAME_COLOR,USER_TIME_OFFSET,USER_TOTAL_POSTS,USER_SHOW_SIGNATURES,USER_RATING,USER_TOTAL_RATES,USER_AVATAR_WIDTH,USER_AVATAR_HEIGHT,USER_ACCEPT_ADMIN_EMAILS,USER_HOBBIES,USER_BIRTHDAY,USER_PUBLIC_BIRTHDAY,USER_TIME_FORMAT,USER_FLOOD_CONTROL_OVERRIDE) values ( 2 , 'mors@validusguild.com' , '' , '' , '[]http://www.validusguild.com/images/mors_sig.jpg[/]' , '' , '' , '' , 10 , 'flat' , 'On' , '' , '' , '' , '' , '' , '' , '' , 1 , 'yes' , 'yes' , 'GM' , 10 , 'Purple' , 0 , 710 , 'yes' , 0 , 0 , '' , '' , '' , '' , '9/5/1964' , 1 , '' , -1 )

_________________________
Happy Customer !!!

Top
#1752 - 07/23/06 07:33 AM Re: More information might be linked to other issues. [Re: Mors]
Rick Administrator Offline

*****

Registered: 06/04/06
Posts: 7883
Loc: Aberdeen, WA
I *think* it doesn't like the fact that USER_AVATAR_WIDTH and HEIGHT are blank. Do you have access to something like phpmyadmin so you can run queries on the database? If so, try running that exact query and see what it comes back with for an error. We may need to adjust the default values in the createtable script.

I think the createtable script might need to be altered like this. Line 456 and 457 have this:

USER_AVATAR_WIDTH int(4),
USER_AVATAR_HEIGHT int(4),

They probably need to be changed to this:

USER_AVATAR_WIDTH int(4) default '0',
USER_AVATAR_HEIGHT int(4) default '0',
_________________________
UBB.threads™ Developer
My Personal Website · StogieSmokers.com

Top
#1835 - 07/24/06 11:02 AM Re: More information might be linked to other issues. [Re: Rick]
Jamin Offline
newbie

Registered: 06/05/06
Posts: 47
Loc: Dallas, TX
My guess is it's a problem with the new Strict mode in MySQL. If this is a localhost installation on your own computer, and/or if you have access to your my.ini file, find the following line:

sql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"

And add a # in front of it to comment it out. Then restart your MySQL service. True, it's probably something that should be changed in the threads installer just for compatibility, but that's a quick fix that will solve those types of problems with a lot of other off-the-shelf scripts.

---Jamin
_________________________
"Those who would give up essential liberty to purchase a little temporary safety, deserve neither liberty nor safety."

Top
#1856 - 07/24/06 04:55 PM Re: More information might be linked to other issues. [Re: Jamin]
Mors Offline
addict

Registered: 06/26/06
Posts: 445
Loc: So. California
Yes I am sure this is it. Basically the importer dies every time. I have been trying to find out about MySQL 5.0.22 so I can get used to it. I was just reading a out this when you posted it. I will have to try it.
_________________________
Happy Customer !!!

Top
#1939 - 07/25/06 04:14 PM Re: More information might be linked to other issues. [Re: Mors]
Mors Offline
addict

Registered: 06/26/06
Posts: 445
Loc: So. California
This change to my.ini did in fact fix this error I was getting.

I don't think it was Rick's script.

Thanks Jamin
_________________________
Happy Customer !!!

Top


Shout Box

Today's Birthdays
Eric Flyxe, mark_l_88@yahoo.com
Recent Topics
Looking to move to the best host provider to support UBB Threads from IIS to Linux
by Ruben Rocha
31 minutes 17 seconds ago
restricting a media tag to a single forum...
by bakerzdosen
Yesterday at 12:52 PM
Recover topics??
by femistyle
Yesterday at 12:22 PM
duplicate entries in viewmessage.php lang file (7.4.1)
by alnadabi
Yesterday at 05:54 AM
Order of variables in language files should be permanent
by alnadabi
Yesterday at 05:12 AM
Forum Stats
4249 Members
33 Forums
30489 Topics
154669 Posts

Max Online: 978 @ 06/24/07 08:19 PM