FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Converters » phpBB2 error
Show: Today's Messages :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Switch to threaded view of this topic Create a new topic Submit Reply
phpBB2 error [message #26000] Wed, 29 June 2005 05:08 Go to next message
Dmitry is currently offline  Dmitry   Russian Federation
Messages: 1
Registered: June 2005
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
Hello,
I was noticed conversion script displays an error like "Table fud26_fl_108 does not exist" when it starts importing phpBB messages. Seems this happens because it does not rename forum tables when change original FUDforum forum_id to an imported forum ID.

It started working after I have added the following code at line 415 of phpBB2.php:
if ($id != $obj->forum_id) {
q("DROP TABLE IF EXISTS {$DBHOST_TBL_PREFIX}fl_{$obj->forum_id}");
q("ALTER TABLE {$DBHOST_TBL_PREFIX}fl_$id RENAME TO {$DBHOST_TBL_PREFIX}fl_{$obj->forum_id}");
}


Regards,
Dmitry
Re: phpBB2 error [message #26002 is a reply to message #26000] Wed, 29 June 2005 09:15 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
You're right, I've added the fix to the script in CVS.

FUDforum Core Developer
Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
Previous Topic: phpBB2 -> Fudforum convertion crash
Next Topic: phpBB 2.0.10 -> fud fails
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Mon Oct 23 20:28:18 EDT 2017

Total time taken to generate the page: 0.00587 seconds