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
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
Is UBB.threads still going?
by Aaron101 - 04/01/2022 8:18 AM
Who's Online Now
3 members (Ruben, Nightcrawler, 1 invisible), 855 guests, and 273 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)