Previous Thread
Next Thread
Print Thread
Hop To
Joined: Dec 2006
Posts: 4
C
stranger
stranger
C Offline
Joined: Dec 2006
Posts: 4
This is what happens...it's on older posts...any suggestions?

Importing threads from UBB.classic™ Forum number 1, 1 of 17 total to be imported.

Continuing the import of "new SoBes..."
Importing " " (-1 replies)
Script: <path removed>\classic_import.php
Line#: 1266
SQL Error: Out of range value adjusted for column 'POST_POSTED_TIME' at row 1
SQL Error #: 1264
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) VALUES ( 0 , 47 , 1 , '' , '' , '\r\n' , '' , '' , 'book.gif' , 0 , 1 , 1 )

Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
First thing, make sure you rebuild all of the meta data files before trying to import. The second, the error itself comes from MySQL 5's default strict mode. The post itself might be corrupt because it doesn't seem to contain any data, but you can try running the following SQL command from something like phpmyadmin before the import to disable the strict mode for mysql 5 and see if that helps:

SET GLOBAL SQL_MODE=”;

Joined: Dec 2006
Posts: 4
C
stranger
stranger
C Offline
Joined: Dec 2006
Posts: 4
OK, did both of those things (I had already been doing the rebuild before importing).

Anyway, now the import runs forever...Literally let it run for 2 days. It always gets to the point where I have 826 messages in one of the forums, and then vague warning messages (see below) keep displaying...Any suggestions?

Importing threads from UBB.classic™ Forum number 1, 1 of 12 total to be imported.

Continuing the import of " "

Continuing... (please wait)
(classic_import.php?ubb=posts&forum=1&topic=45&post=32442&first_post=0&thistopic=46&thispost=33267#bottom)
Generated in 1.2390 seconds in which 0.014 seconds were spent on a total of 208 queries.
eter 1 to be long, string given in c:\inetpub\wwwroot\forums\importers\classic_import.php on line 2164 PHP Warning: mktime() expects parameter 1 to be long, string given in c:\inetpub\wwwroot\forums\importers\classic_import.php on line 2164 PHP Warning: mktime() expects parameter 1 to be long, string given in c:\inetpub\wwwroot\forums\importers\classic_import.php on line 2164 PHP Warning: mktime() expects parameter 1 to be long, string given in c:\inetpub\wwwroot\forums\importers\classic_import.php on line 2164 PHP Warning: mktime() expects parameter 1 to be long, string given in c:\inetpub\wwwroot\forums\importers\classic_import.php on line 2164 PHP Warning: mktime() expects parameter 1 to be long, string given in c:\inetpub\wwwroot\forums\importers\classic_import.php on line 2164 PHP Warning: mktime() expects parameter 1 to be long, string given in c:\inetpub\wwwroot\forums\importers\classic_import.php on line 2164 PHP Warning: mktime() expects parameter 1 to be long, string given in c:\inetpub\wwwroot\forums\importers\classic_import.php on line 2164 PHP Warning: mktime() expects parameter 1 to be long, string given in c:\inetpub\wwwroot\forums\importers\classic_import.php on line 2164 PHP Warning: mktime() expects parameter 1 to be long, string given in c:\inetpub\wwwroot\forums\importers\classic_import.php on line 2164 PHP Warning: mktime() expects parameter 1 to be long, string given in c:\inetpub\wwwroot\forums\importers\classic_import.php on line 2164 PHP Warning: mktime() expects parameter 1 to be long, string given in c:\inetpub\wwwroot\forums\importers\classic_import.php on line 2164 PHP Warning: mktime() expects parameter 1 to be long, string given in c:\inetpub\wwwroot\forums\importers\classic_import.php on line 2164 PHP Warning: mktime() expects parameter 1 to be long, string given in c:\inetpub\wwwroot\forums\importers\classic_import.php on line 2164 PHP Warning: mktime() expects parameter 1 to be long, string given in c:\inetpub\wwwroot\forums\importers\classic_import.php on line 2164 PHP Warning: mktime() expects parameter 1 to be long, string given in c:\inetpub\wwwroot\forums\importers\classic_import.php on line 2164 PHP Warning: mktime() expects parameter 1 to be long, string given in c:\inetpub\wwwroot\forums\importers\classic_import.php on line 2164 PHP Warning: mktime() expects parameter 1 to be long, string given in c:\inetpub\wwwroot\forums\importers\classic_import.php on line 2164 PHP Warning: mktime() expects parameter 1 to be long, string given in c:\inetpub\wwwroot\forums\importers\classic_import.php on line 2164 PHP Warning: mktime() expects parameter 1 to be long, string given in c:\inetpub\wwwroot\forums\importers\classic_import.php on line 2164 PHP Warning: mktime() expects parameter 1 to be long, string given in c:\inetpub\wwwroot\forums\importers\classic_import.php on line 2164 PHP Warning: mktime() expects parameter 1 to be long, string given in c:\inetpub\wwwroot\forums\importers\classic_import.php on line 2164

Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
It's hard to say, but it definitely looks like the data being parsed isn't what it's expected to be. What version of UBB.classic are you importing from?

Joined: Dec 2006
Posts: 4
C
stranger
stranger
C Offline
Joined: Dec 2006
Posts: 4
6.7.1...This board has been through a couple of upgrades though. Thanks in advance.

Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
It looks like it's getting hung up on a corrupt topic. Especially where you're not seeing a topic subject in this:

Continuing the import of " "

Might need you to open a support ticket so I can take a look at a couple things on the server.


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,240 guests, and 216 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)