Previous Thread
Next Thread
Print Thread
Hop To
#165500 10/09/2006 5:57 PM
Joined: Aug 2006
Posts: 1,649
Likes: 1
Pooh-Bah
Pooh-Bah
Joined: Aug 2006
Posts: 1,649
Likes: 1

I dropped my tables and am importing again with much greater success than when I had categories and some test forums/posts filled in already (it didn't overwrite what was in there already).

However - My Categories are being mis-assigned because a "clean install" of the db includes Category 1 "General Discussion" -- My Category 1 is different. tongue But thru phpMyAdmin I should be able to correct that once the import is complete.


GangsterBB.NET (Ver. 7.6.1.1)
PHP Version 5.6.40 / MySQL 5.7.23-23 (was 5.6.41-84.1) / Apache 2.4.54
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Joined: Jul 2006
Posts: 4,057
Joined: Jul 2006
Posts: 4,057
I would think it would be easier to start again?

Make a new DB smile


BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo
Joined: Aug 2006
Posts: 1,649
Likes: 1
Pooh-Bah
Pooh-Bah
Joined: Aug 2006
Posts: 1,649
Likes: 1
I did that time, from scratch. And it took 8 hours to import, and this time it went smoothly. It shouldn't take more than a few moments to fix things in phpMyAdmin (but, I don't think we should have to "fix things" after a clean install... wink



GangsterBB.NET (Ver. 7.6.1.1)
PHP Version 5.6.40 / MySQL 5.7.23-23 (was 5.6.41-84.1) / Apache 2.4.54
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Joined: Aug 2006
Posts: 1,649
Likes: 1
Pooh-Bah
Pooh-Bah
Joined: Aug 2006
Posts: 1,649
Likes: 1
Hmmm. Besides the default Forum 1 that I should've deleted before importing, I think my problem was that I had deleted some Classic forums in the past, so there were some gaps. I had to fix all the Forum #s in phpMyAdmin, as well as some mixed-up forum descriptions and such that got mixed up somehow. The importer apparently didn't keep the Forum #s intact?

What I don't know how to do is copy threads from one forum to another, so I'm gonna need some help and will PT Rick with that if that's the course I should take at this point...

Problem is, this isn't my final import - I'm gonna have to do it again once I go live with v7. I'm just trying to set up a beta test for my group, and to check performance with a fully loaded board. I really don't want to have to go thru all this again next time, fixing things after importing. :/


GangsterBB.NET (Ver. 7.6.1.1)
PHP Version 5.6.40 / MySQL 5.7.23-23 (was 5.6.41-84.1) / Apache 2.4.54
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Hmm, that's odd. Gaps in the forums shouldn't matter, I've done a few imports with some pretty big gaps. The forum numbers, categories numbers, etc. will definitely change when an import is done. They won't be the same as what they were in .classic. This is totally normal behaviour. You definitely shouldn't have to, nor want to, alter those at all since everything is tied to the id in the database. Changing any of those is definitely going to cause an issue.

The only thing I've had to fix after an import is where no forums are showing up. This is a small bug on some setups in the importer that isn't assigning the forums to a category and usually fixable with a quick query in the database if I can get the admin username/password. The problem is since you've already changed all of the forum #s I'm not entirely sure your current database is fixable.


Joined: Aug 2006
Posts: 1,649
Likes: 1
Pooh-Bah
Pooh-Bah
Joined: Aug 2006
Posts: 1,649
Likes: 1

Okay, well, everything is working except Topics being in the wrong Forums. Is there an easy way to say "Move all Topics in Forum 14 into Forum 15", etc?

If not, then I'll try again -- hey, what's another 8-9 hour import after the first two? laugh -- but this time I'm gonna delete the default Category 1 first. And, if it doesn't come out perfectly, I'm gonna PT you the admin info and I won't touch a thing! laugh

Question: If Cat and Forum #s change (which is good to know that that's normal), does the redirector script point from a topic in Classic (for instance, a link on a search engine) to the NEW topic in Threads? Or how are search engine links handled after the switch?

Thanks!

JG



GangsterBB.NET (Ver. 7.6.1.1)
PHP Version 5.6.40 / MySQL 5.7.23-23 (was 5.6.41-84.1) / Apache 2.4.54
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Off of the top of my head I think you can fix the topics with the following query.

Update ubbt_TOPICS set FORUM_ID='#' where FORUM_ID='#'

So the first # is what the forum id should be while the second # is what it currently is. That should get you going for testing anyways. If this is going to be your final import I'd recommend a fresh import just to be safe though wink

As for your question. When importing there is a table that maps the old forum/topic/post id's to the new topic in .threads. When the redirect scripts are put in place it actually takes the info passed to it and queries the map table to find out where the new topic is located and redirects the user to the new topic.

Joined: Aug 2006
Posts: 1,649
Likes: 1
Pooh-Bah
Pooh-Bah
Joined: Aug 2006
Posts: 1,649
Likes: 1
Will the map table be screwed up now if I continue trying to "fix" what I have? Maybe I should just start over again...

Edit: Never mind, I think you added that bit about "testing" vs "Final" wink

Last edited by jgeoff; 10/10/2006 5:51 PM.

GangsterBB.NET (Ver. 7.6.1.1)
PHP Version 5.6.40 / MySQL 5.7.23-23 (was 5.6.41-84.1) / Apache 2.4.54
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Personally, if it were me I'd start fresh. I know it's a pain to go through that whole import process again, but it's definitely the safest route to ensure that it doesn't cause any issues in the future.

Joined: Aug 2006
Posts: 1,649
Likes: 1
Pooh-Bah
Pooh-Bah
Joined: Aug 2006
Posts: 1,649
Likes: 1
Originally Posted by Rick
Update ubbt_TOPICS set FORUM_ID='#' where FORUM_ID='#'


BTW, this worked great - thanks!

I will start fresh after my "public test" wink

Last edited by jgeoff; 10/10/2006 6:00 PM.

GangsterBB.NET (Ver. 7.6.1.1)
PHP Version 5.6.40 / MySQL 5.7.23-23 (was 5.6.41-84.1) / Apache 2.4.54
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP

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
1 members (Geoff), 1,124 guests, and 219 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)