Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
2 registered (Ruben, Bert), 20 Guests and 7 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 08/15/11
Posts: 17
Top Posters (30 Days)
Ruben 37
Gizmo 19
Bert 12
Rob Provencher 12
SD 9
Rimex 9
sw55 7
Eugene 5
TCS1 4
Matthias1976 4
Latest Photos
Uhm...
Mayan End of World
Gas Station Disco Video Shoot
Test Pictures
Audrey Kate
Page 1 of 2 1 2 >
Topic Options
#212669 - 05/18/08 07:41 AM Upgrading from old threads
Gardener Offline
member
Registered: 06/06/06
Posts: 189
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
Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
#212868 - 05/19/08 11:19 AM Re: Upgrading from old threads [Re: Gardener]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10177
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.
Top
#213519 - 05/27/08 01:58 PM Re: Upgrading from old threads [Re: Rick]
duquesne Offline
stranger
Registered: 09/06/06
Posts: 15
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 09:47 AM Re: Upgrading from old threads [Re: duquesne]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10177
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.
Top
#213600 - 05/28/08 03:53 PM Re: Upgrading from old threads [Re: Rick]
duquesne Offline
stranger
Registered: 09/06/06
Posts: 15
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 12:42 PM Re: Upgrading from old threads [Re: duquesne]
jgeoff Offline
Pooh-Bah
Registered: 08/08/06
Posts: 1931
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.5.6)
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Browsers: Chrome, Firefox, & Safari (Win7 and iPhone); No IE, ever!
Top
#213672 - 05/29/08 01:29 PM Re: Upgrading from old threads [Re: jgeoff]
duquesne Offline
stranger
Registered: 09/06/06
Posts: 15
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 01:30 PM Re: Upgrading from old threads [Re: duquesne]
SD Offline
Registered: 04/19/07
Posts: 4205
Loc: SoCal, USA
do any of the forum names have & or ' characters in them?
_________________________

Threads tutorials . Threads & Wordpress experts . UBB resume

If I you, click this link as to why
Top
#213682 - 05/29/08 03:46 PM Re: Upgrading from old threads [Re: SD]
duquesne Offline
stranger
Registered: 09/06/06
Posts: 15
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 03:55 PM Re: Upgrading from old threads [Re: duquesne]
SD Offline
Registered: 04/19/07
Posts: 4205
Loc: SoCal, USA
rather than delete.. just rename them to something without '

that's where i was going smile
_________________________

Threads tutorials . Threads & Wordpress experts . UBB resume

If I you, click this link as to why
Top
Page 1 of 2 1 2 >



Moderator:  AllenAyres, Harold, Ian, Ron M 
Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Express hosting.
by Ruben
05/16/13 03:54 PM
Level of detail in new user registration emails
by Mitch P.
05/15/13 10:20 PM
Approving users
by Bert
05/15/13 09:22 PM
Users randomly added to other group
by Bert
05/15/13 09:15 PM
Posting and other problems with 7.5.7
by Matthias1976
05/15/13 02:58 PM
Forum Stats
10964 Members
36 Forums
33956 Topics
183378 Posts

Max Online: 978 @ 06/24/07 10:19 PM
Random Image