Previous Thread
Next Thread
Print Thread
Hop To
#165635 10/10/2006 1:02 PM
Joined: Jun 2006
Posts: 626
Addict
Addict
Joined: Jun 2006
Posts: 626
I received the following error when at the importing of the topics stage:

Processing topics (5968 - 5987) of 6238 total topics.

Script:
Line#:
SQL Error:
SQL Error #: 0
Query: insert into ubbt_POSTS (POST_PARENT_ID,TOPIC_ID,POST_IS_TOPIC,POST_POSTED_TIME,POST_POSTER_IP,POST_SUBJECT,POST_BODY,POST_DEFAULT_BODY,POST_ICON,POST_IS_MEMBER_POST,USER_ID,POST_ADD_SIGNATURE,POST_IS_APPROVED,POST_HAS_FILE,POST_HAS_POLL,POST_MARKUP_TYPE,POST_LAST_EDITED_TIME,POST_LAST_EDITED_BY,POST_PARENT_USER_ID) values ( 0 , 6015 , 1 , 1149529059 , '142.177.197.84' , 'Still another test. :thanks: ' , 'Still another test. ' , 'Still another test. ' , 'cool.gif' , 1 , 3 , 0 , 1 , 0 , 0 , 'markup' , '' , '' , '' )

I hit the back button and tried it a few more times but only made things worse, therefore, when I have more time, I will be deleting the whole database and doing a new install.

In the meantime, can you tell me what happened, why, and what I should do to correct it?

Joined: Jun 2006
Posts: 626
Addict
Addict
Joined: Jun 2006
Posts: 626
I think I know what happened.

It looks like I ran out of disk space, therefore, I will be doing a lot of deleting of old topics, etc. before starting again.

Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
I'm going to guess that this is related to MySQL 5's strict mode in where you can't have a blank value for an integer column. Is this your server or a hosted server? I'm making some changes to the import script to account for this and should have it finished by this afternoon. If this is your server there is a SQL command that you can use to disable strict mode so the importer will work properly:

SET GLOBAL SQL_MODE='';

Joined: Jun 2006
Posts: 626
Addict
Addict
Joined: Jun 2006
Posts: 626
It is a hosted server, and I did run out of my allotted server space, which I feel is the problem, however, if it happens again, which I will be surprised if it does.

At any rate, after I do the install, if you have the importer script done, then I will download it for future use. smile

Joined: Jun 2006
Posts: 626
Addict
Addict
Joined: Jun 2006
Posts: 626
Has the importer script been updated for importing from UBBT6.5.5?

Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
If it was just a space issue then you won't need the updated importer. We will be updating the importers tommorow in the mebers area but that will only address the problem with MySQL 5 and strict mode, which I wrongly assumed your problem was wink

Joined: Jun 2006
Posts: 626
Addict
Addict
Joined: Jun 2006
Posts: 626
OK.

I have been deleting unnecessary items.

I will soon be ready to try another import.

If I still have the same problem, I will let you know.

Joined: Jun 2006
Posts: 626
Addict
Addict
Joined: Jun 2006
Posts: 626
By the way, doesn't this forum do post wraps for long script code quoted here?

Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
If you're using a browser that will support it there is a css attribute for overflow that will actually give a side scrolling bar in the content of the post. We may end up sticking something in to force a wrap on long strings but it does add a bit to the processing of posts.

Joined: Jun 2006
Posts: 626
Addict
Addict
Joined: Jun 2006
Posts: 626
I imported again today without any problems at all.

By the way, I tested this out on a version of MySql that is less than version 4.

So far, it is working great!

Thought you might like to know.

Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Most things will work in older versions, but you'll get errors with a few things, like searching wink

Joined: Jun 2006
Posts: 626
Addict
Addict
Joined: Jun 2006
Posts: 626
I noticed that Firefox supports it as I am looking at it through Firefox.


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Mirrored databases
by Baldeagle - 12/05/2025 3:27 PM
Cant get past check files during upgrade
by sniperbbb - 11/27/2025 1:55 AM
UBB.threads 8.0.1 Patch Released: Fixes
by isaac - 11/26/2025 1:39 PM
8.0.1 Patch Changelog Discussion
by isaac - 11/26/2025 12:34 PM
Who's Online Now
0 members (), 3,017 guests, and 212 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
test
test
by Gizmo, August 20
Ride safe!
Ride safe!
by Morgan, December 7
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20251126)