Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
Who's Online
4 registered (PianoWorld, smallufo, theskyking, 1 invisible), 20 Guests and 22 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 01/30/08
Posts: 22
Top Posters (30 Days)
Ruben Rocha 165
Rick 116
Gizmo 105
Thelockman 61
driv 50
AllenAyres 35
ScriptKeeper 34
Mark S 30
Ian 30
phoebe 25
Latest Photos
My Home System
test photo gallery
Bernese Mountain Dogs
My Daimler
Dorado and shark
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: 157
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 Offline

*****

Registered: 06/04/06
Posts: 7883
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: 12
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 Offline

*****

Registered: 06/04/06
Posts: 7883
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: 12
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: 1885
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, Google Chrome, & 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: 12
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: 2066
Loc: SoCal, USA
do any of the forum names have & or ' characters in them?
_________________________


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

Registered: 09/06/06
Posts: 12
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: 2066
Loc: SoCal, USA
rather than delete.. just rename them to something without '

that's where i was going smile
_________________________


Top
#213711 - 05/30/08 01:18 AM Re: Upgrading from old threads [Re: Sirdude]
duquesne Offline
stranger

Registered: 09/06/06
Posts: 12
Originally Posted By: Sirdude
rather than delete.. just rename them to something without '

that's where i was going smile


I'm testing on a separate server so it's easier to just delete the rows in the table.

Regardless, still the same problem. I made a fresh copy of all the 6.5 data and restored it on the new server. I deleted the two boards with apostrophes in the title. I dropped and recreated the 7.3 tables and ran the importer again. Same result - stops in the boards step after importing the same three forums. I left it for a couple of hours and nothing else happened.

Top
#213745 - 05/30/08 08:25 AM Re: Upgrading from old threads [Re: duquesne]
Rick Administrator Offline

*****

Registered: 06/04/06
Posts: 7883
Loc: Aberdeen, WA
Might need you to open up a support ticket so I can add some debug code into the importer to see what's going on.
_________________________
UBB.threads™ Developer
My Personal Website · StogieSmokers.com

Top
#216559 - 08/21/08 08:44 AM Re: Upgrading from old threads [Re: Rick]
Zarzal Offline
old hand

Registered: 06/05/06
Posts: 1091
Loc: Berlin, Germany
is this problem fixed? I do a update right now and encounter the same problem. Update a 6.2.2 to 6.5.5 und try running the importer. The same thing happen to me: stopped while importing boards and the browser say ready ... nothing else happen.

it stopped at /importers/threads_import.php?ubb=boards with importing only 2 boards

I stuck at this point and like to bring the board online again.
/update: I fix it like Gizmo: install 7.2.2, use an older importer and then do an update. But it would be nice to have an working 7.3.1 importer


Edited by Zarzal (08/21/08 11:55 AM)
_________________________
my board: http://www.dragon-clan.de
my hobby: http://www.biker-reise.de
Ich kann bei Fragen zu UBBthreads in Deutsch weiterhelfen oder es zumindest versuchen

Top
Page 1 of 2 1 2 >


Shout Box

Today's Birthdays
Eric Flyxe, mark_l_88@yahoo.com
Recent Topics
restricting a media tag to a single forum...
by bakerzdosen
Yesterday at 12:52 PM
Recover topics??
by femistyle
Yesterday at 12:22 PM
duplicate entries in viewmessage.php lang file (7.4.1)
by alnadabi
Yesterday at 05:54 AM
Order of variables in language files should be permanent
by alnadabi
Yesterday at 05:12 AM
How do I set Moderation Queue for an individual user?
by luket
11/20/08 11:28 AM
Forum Stats
4249 Members
33 Forums
30488 Topics
154661 Posts

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