Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
Who's Online
1 Registered (1 invisible), 20 Guests and 18 Spiders online.
Key: Admin, Global Mod, Mod
Top Posters
Gizmo 11670
Rick 7543
Ian 4099
Mark S 3969
ntdoc 3101
Sirdude 2041
jgeoff 1876
David Dreezer 1748
driv 1552
AllenAyres 1519
Latest Photos
Carrie - So Very
Testing
Test Photo
4TH of July at the river!
Test shots from D300 part 3
Page 1 of 2 1 2 >
Topic Options
Rate This Topic
#212669 - 05/18/08 05:41 AM Upgrading from old threads
Gardener Offline
member

Registered: 06/06/06
Posts: 148
Loc: Sweden
I've spent the last two days upgrading my ooooold 6.1.1 threads db to 6.5.5.

Now I'm trying to import it to 7.3 but it's proving difficult.

During an import to 7.3 it breaks when trying to insert a forum, one of the fields don't exist any more.

Rather than trying to fix the importer myself (without knowledge about the internal changes in threads) I thought I upgrade to 7.2.x instead. No such luck though, as those files are removed from the Member Area.

OK, so maybe an import to 7.0.2, which I actually have, and then upgrade to 7.3? No such luck either, this time the importer breaks on:
Quote:
insert into ubbt_BANNED_USERS (USER_ID,BAN_EXPIRATION,BAN_REASON) values ( 902 , 0 , 'Imported Ban' )


So... It would be nice to have an upgrade option available where the importer and the UBB.threads package are synced.

Unfortunately I can't wait with the upgrade, the site is closed and due to hoster issues I won't be able to start it up again before the site is upgraded.

Does anyone have any ideas? Can I get an old version of the importer which works with 7.0.2 somewhere? Is there a way to download older version of UBB.threads that actually work with the published importer?
_________________________
aka Olle Johansson

Top
#212868 - 05/19/08 09:19 AM Re: Upgrading from old threads [Re: Gardener]
Rick Administrator Online   content

*****

Registered: 06/04/06
Posts: 7543
Loc: Aberdeen, WA
I'm actually working on this right now. The importer in the members area is meant to work with 7.3, but it looks like it has an issue or two that I'm trying to get fixed ASAP and then will update the members area.
_________________________
UBB.threads™ Developer
My Personal Website · StogieSmokers.com

Top
#213519 - 05/27/08 11:58 AM Re: Upgrading from old threads [Re: Rick]
duquesne Offline
stranger

Registered: 09/06/06
Posts: 5
I moved 6.5 to a new server running MySQL 5 and PHP 5. I installed 7.3. Everything worked fine up til the import step. The 6.5 importer imports the categories and users but when it gets to the forums, after three it stalls. No messages or errors. It just sits there. I reset some timing values as suggested in another thread about timing out (you can change the max_execution_time for PHP locally on a shared server using a .htaccess file). Nothing worked - it stalls in the same place. I am hoping this is a known issue with the importer on 7.3 that will be fixed soon.

Top
#213581 - 05/28/08 07:47 AM Re: Upgrading from old threads [Re: duquesne]
Rick Administrator Online   content

*****

Registered: 06/04/06
Posts: 7543
Loc: Aberdeen, WA
If you downloaded the importer when 7.3 first came out you might want to grab it again, as we've had to update it a few times.

I need to get a version # in the import scripts so we can make sure people have the latest one.
_________________________
UBB.threads™ Developer
My Personal Website · StogieSmokers.com

Top
#213600 - 05/28/08 01:53 PM Re: Upgrading from old threads [Re: Rick]
duquesne Offline
stranger

Registered: 09/06/06
Posts: 5
The current importer file is the same size as the one I downloaded a few days ago. I downloaded it again anyway. Drpped all the 7.3 tables and recreated them using the install script. I changed the following line in the threads_import.php file:

Quote:
setTimeout("window.location.href='$url';", 1000);


I changed the 1000 to 30000 and then to 9000 as per a suggestion in another post.

I used the .htaccess file to change the PHP values max_execution_time from 60 to 600 and max_input_time from 60 to 300.

I brought up threads_import.php in my browser. Categories and members import fine. Each time it stalls after importing three forum (board) definitions. The 6.5 tables are in a separate MySQL database from the 7.3 tables.

Process always stalls in the same place. Might there be a problem in the source table for the board definitions (w3t_Boards). Browsing the table I can't see how the order of import is being determined.

Any suggestions? Oh, and it's MySQL 5.0.22 and PHP 5.1.6

Thanks

Top
#213662 - 05/29/08 10:42 AM Re: Upgrading from old threads [Re: duquesne]
jgeoff Offline
Pooh-Bah

Registered: 08/08/06
Posts: 1876
Loc: NJ

Out of curiosity, is the particular forum it's stalling on excessively large compared to the first two? It took my forums like 11 hours to import from Classic if I remember correctly, so maybe it's actually not stalling? (I would think a Threads-to-Threads import would be a little quicker, though).
_________________________
GangsterBB.NET (Ver. 7.3)
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Browsers: Firefox 3.0 & Safari 3.1 (XP and iPhone)

Top
#213672 - 05/29/08 11:29 AM Re: Upgrading from old threads [Re: jgeoff]
duquesne Offline
stranger

Registered: 09/06/06
Posts: 5
Originally Posted By: jgeoff

Out of curiosity, is the particular forum it's stalling on excessively large compared to the first two? It took my forums like 11 hours to import from Classic if I remember correctly, so maybe it's actually not stalling? (I would think a Threads-to-Threads import would be a little quicker, though).


Good point but it is just at the step that imports the forum definition and not the contents. The w3t_Boards table only has about 30 rows in it (one per forum). It imports three rows from this table and stops (I left it for 30 minutes and nothing else happened). It is the same three forums each time I tried. Looking at the data I don't why these three are being chosen. Without that information I can't determine what what the next row is and examine that for problems.

The 6.5 board is still running on another server. I'm going to close it and copy over the data again to see if that affects the import.

Top
#213673 - 05/29/08 11:30 AM Re: Upgrading from old threads [Re: duquesne]
Sirdude Offline


Registered: 04/19/07
Posts: 2041
Loc: SoCal, USA
do any of the forum names have & or ' characters in them?
_________________________

A taxpayer voting for Obama is like a chicken voting for Colonel Sanders.

Top
#213682 - 05/29/08 01:46 PM Re: Upgrading from old threads [Re: Sirdude]
duquesne Offline
stranger

Registered: 09/06/06
Posts: 5
Originally Posted By: Sirdude
do any of the forum names have & or ' characters in them?


Two have an apostrophe ('). One doesn't show up on the active 6.5 board but is in the w3t_Boards table. I'll delete both boards and try the import again.

Thanks

Top
#213683 - 05/29/08 01:55 PM Re: Upgrading from old threads [Re: duquesne]
Sirdude Offline


Registered: 04/19/07
Posts: 2041
Loc: SoCal, USA
rather than delete.. just rename them to something without '

that's where i was going smile
_________________________

A taxpayer voting for Obama is like a chicken voting for Colonel Sanders.

Top
Page 1 of 2 1 2 >


Shout Box

Recent Topics
Import UBB classic from to UBB threads runs on a new server
by Hari Varma
Today at 06:30 AM
Import UBB classic 6.7.2 to UBB threads 7.3.1
by MrVasu
Today at 12:44 AM
File Attachment problem
by Murphdog
Yesterday at 07:44 PM
group_foumperms.php Hangs
by mmem700
Yesterday at 05:58 AM
What causes this message to pop up?
by Larry Miller
Yesterday at 04:13 AM
Forum Stats
4010 Members
33 Forums
30825 Topics
156535 Posts

Max Online: 978 @ 06/24/07 08:19 PM