Gossamer Forum
Home : Products : Gossamer Forum : Discussion :

Import UBB6 data?

Quote Reply
Import UBB6 data?
I haven't got a clue!

Have searched through these forums and found the odd snippet from 2003 but it isn't of any help.
Post deleted by MJB In reply to

Last edited by:

MJB: Feb 16, 2006, 1:53 PM
Quote Reply
Re: [MJB] Import UBB6 data? In reply to
Does UBB have any sort of changelog available? Also, have you tried using the UBB5 import?

Adrian
Quote Reply
Re: [brewt] Import UBB6 data? In reply to
I may have a problem here. I have spoken to my host and have found out that I don't have access vi SSH. I don't know if Telnet is the same and I'm currently waiting for a reply.

I have recently been experiencing server problems and the host thinks that it may be our site that is the cause. Our error log over 48 hours was 25MB!

Thanks for your reply, I'll wait to see what the outcome of my current situation is before going any further.
Quote Reply
Re: [MJB] Import UBB6 data? In reply to
Hi,

Quote:
Our error log over 48 hours was 25MB!

Check that you don't have debug mode turned on, that will output a lot of data to the error log.

Cheers,

Alex
--
Gossamer Threads Inc.
Quote Reply
Re: [Alex] Import UBB6 data? In reply to
Alex,

Yes it was enabled. I have disabled it now.

Thanks,

Mark
Quote Reply
Re: [brewt] Import UBB6 data? In reply to
OK, I'm up and running on the new server now. I have logged in to SSH and am getting and error:

Couldn't find the version of UBB you are using

I have tried the following:

import.pl --type=UBB6 --source=
import.pl --type=UBB --source=
import.pl --type=UBB5 --source=

I have debugged and it is reading UBB version from ubb_lib.cgi

Code:
number => "6.7.2"

Last edited by:

MJB: Feb 18, 2006, 8:57 AM
Quote Reply
Re: [MJB] Import UBB6 data? In reply to
I took a look at the code, and it looks like there's a bug in the regex that figures out the version of UBB you're running. Edit your admin/GForum/Import/UBB.pm, around line 104 from:
Code:
# Newer versions of UBB store the version like this.
if (m/number\s*=>\s*['"](0-9.]+)/) {
to this:
Code:
# Newer versions of UBB store the version like this.
if (m/number\s*=>\s*['"]([0-9.]+)/) {

Adrian
Quote Reply
Re: [brewt] Import UBB6 data? In reply to
Success!

I few problems transferring members with a zero post count where the table read ' ' and it should have read '0'. I just deleted them from the UBB.

Also a problem importing the categories. It was looking for categories.file in the noncgi path when it should have been looking for vars_cats.cgi in the cgi path. Arround line 423 of UBB.pm you need to change:

Code:
my $category_file = $self->{noncgi_path} . "/categories.file";

to

Code:
my $category_file = $self->{cgi_path} . "/vars_cats.cgi";

Thanks for your help. Much appreciated.