Previous Thread
Next Thread
Print Thread
Hop To
#170604 12/19/2006 3:51 PM
Joined: Sep 2004
Posts: 29
M
newbie
newbie
M Offline
Joined: Sep 2004
Posts: 29
Hello,

it seems that the importer renumbers posts. This breaks all external links to topics on the forum during the migration to version 7.

Is there a way to get a "old id, new id" map somewhere (MySQL)?

Joined: Nov 2006
Posts: 3,095
Likes: 1
Carpal Tunnel
Carpal Tunnel
Joined: Nov 2006
Posts: 3,095
Likes: 1
Please take a look at the following post which should help you.

https://www.ubbcentral.com/forums/ubbthreads.php?ubb=showflat&Board=11&Number=170348

.

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

I just tried the .Classic redirect scripts for the first time and they don't seem to be entirely working...

/ubb/ultimatebb.php - Kinda works...

http://www.gangsterbb.net/ubb/ultimatebb.php?ubb=get_topic;f=12;t=000022
takes me to
http://www.gangsterbb.net/threads/u...000022&Number=0&site_id=1#import

However, links like

http://www.gangsterbb.net/ubb/ultimatebb.php?ubb=forum;f=13
just takes me to the main Threads cfrm page, not the particular forum


/cgi-bin/ultimatebb.cgi - Gives me a blank page even with $redirect = 0;
Since most of my SE links are to the cgi pages, I've reverted back to the original for now.


For both redirect scripts:

$URL = "http://www.gangsterbb.net/threads";
$site_id = 1;
$redirect = 302; (0 doesn't help)
$search_friendly = 0;

Path to PERL is correct.

Clues?


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: Nov 2006
Posts: 3,095
Likes: 1
Carpal Tunnel
Carpal Tunnel
Joined: Nov 2006
Posts: 3,095
Likes: 1
Well not sure about classic because I actually went from 6.5 Threads to 7.0 Threads and it worked for me and others.


Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Links directly to the forum will just redirect to the main page, as we don't actually map the old forum ids to the new ones.

As for the cgi redirect problem. You might try looking at the server error logs if you have access to it, perhaps there is something in there as to what's going wrong.

Joined: Aug 2006
Posts: 1,649
Likes: 1
Pooh-Bah
Pooh-Bah
Joined: Aug 2006
Posts: 1,649
Likes: 1
Okay, I don't know what's going on, but the cgi links are now taking me to the Threads home page, instead of a blank page (with $redirect = 0;)

e.g.,
http://www.gangsterbb.net/cgi-bin/ultimatebb.cgi?ubb=print_topic;f=9;t=001279
(I reverted back to the original again; with the redirect that went to cfrm page)

Seems most of my .classic links are for print_topic and recent_user_posts (not sure if that gives a clue)


I'm not getting any errors in the log right now, but there are a few of these from around the time I was testing it before - which is the same error I got a while back, about the /none "directory":

[Tue Dec 19 15:35:14 2006] [error] [client xx.xx.xxx.xx] script not found or unable to stat: /home2/gbb/public_html/cgi-bin/none


Last edited by jgeoff; 12/19/2006 8:15 PM. Reason: reverted .cgi script back

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: Sep 2004
Posts: 29
M
newbie
newbie
M Offline
Joined: Sep 2004
Posts: 29
Thanks, that did it smile

Missed this part while migrating my forum to the v7.

Joined: Nov 2006
Posts: 3,095
Likes: 1
Carpal Tunnel
Carpal Tunnel
Joined: Nov 2006
Posts: 3,095
Likes: 1
Great, glad to hear it. grin

Joined: Sep 2004
Posts: 29
M
newbie
newbie
M Offline
Joined: Sep 2004
Posts: 29
Yeah. But there are still some error reports coming in from users about links not longer working. I'll analyze this further and see what the problem is.

Joined: Nov 2006
Posts: 3,095
Likes: 1
Carpal Tunnel
Carpal Tunnel
Joined: Nov 2006
Posts: 3,095
Likes: 1
Perhaps ask them to logout and delete there cookie for your site and see if it makes any difference.

Joined: Sep 2004
Posts: 29
M
newbie
newbie
M Offline
Joined: Sep 2004
Posts: 29
They have. It seems that the new post id is in fact different from the original post id for these posts. And the "mapper" scripts from the Imports folder can of course not fix that.

Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Not sure if you're coming from threads or classic, but it should redirect you to the proper new post if you edited and uploaded all of the redirect scripts.

Joined: Sep 2004
Posts: 29
M
newbie
newbie
M Offline
Joined: Sep 2004
Posts: 29
Hi, Rick

I've upgraded from 6.5 to the 7.x. For most posts it works, but for some posts it fails. Not sure what the difference is, and it will be hard to verify if these links worked with the old forum.

I guess I can live with the current status quo, if nothing else comes up.

Joined: Jun 2006
Posts: 464
Likes: 1
M
Addict
Addict
M Offline
Joined: Jun 2006
Posts: 464
Likes: 1
What are the messages.. post no longer exists ??


Happy Customer !!!
Joined: Sep 2004
Posts: 29
M
newbie
newbie
M Offline
Joined: Sep 2004
Posts: 29
"Page not found"


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
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
Who's Online Now
1 members (Geoff), 770 guests, and 174 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 20240506)