Previous Thread
Next Thread
Print Thread
Hop To
Joined: Nov 2006
Posts: 31
M
newbie
newbie
M Offline
Joined: Nov 2006
Posts: 31
I am upgrading from 6.7.2 classic to 7.0.1 threads, and everything was going smoothly - I have a rather large board, so left the upgrade script on overnight. All tests passed during the 7.0.1 installation and the initial upgrade screens.

In the morning I found that the upgrade script was looping on a single thread - the numbers in the URL kept increasing but the text still said "importing thread xxx..."

Inspecting the MySQL database revealed that the script was creating blank entries (POST_BODY was empty, PARENT_ID was 0, USER_ID was 1) for this thread. I stopped the script since we were getting nowhere.

I know this post might be too vague for anybody to help, but I can provide more specific info as needed. Can anybody help?

Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
That's a tough one. Did it give the title of the thread it was importing? If so, is there anything special about it in classic, number of replies, etc?

Joined: Nov 2006
Posts: 31
M
newbie
newbie
M Offline
Joined: Nov 2006
Posts: 31
Yes, the title was displayed... Also what's crazy is that I did a search for a thread with that title on my old board, but nothing came up.

Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Hmm, you might try rebuilding the various metadata. The importer will just read all of the files in the forum directories. If it's not coming up when you search for it perhaps it's corrupt and the forum can't read it. Beyond that if we can get the full url that you see when it does this perhaps we can isolate it down to a single forum.

Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
I ran into a similar issue with an import today. It was a corrupt topic, but a small change should get around it. Line 1328 of classic_import.php looks like this:

if( $curr_post == $this_post_count ) {

Change that, to this:

if( $curr_post >= $this_post_count ) {


Joined: Nov 2006
Posts: 31
M
newbie
newbie
M Offline
Joined: Nov 2006
Posts: 31
Well I had rebuilt all the metadata right before the upgrade, just in case. Will try again with the fix you suggested.

Joined: Nov 2006
Posts: 31
M
newbie
newbie
M Offline
Joined: Nov 2006
Posts: 31
It worked, thanks Rick!


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Version 7.7.5 Images suddenly not displaying
by Stovebolt - 05/04/2024 11:19 AM
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
Who's Online Now
1 members (1 invisible), 939 guests, and 146 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 20240501)