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

Home » FUDforum Development » Converters » phpBB2 error
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
phpBB2 error [message #26000] Wed, 29 June 2005 09:08 Go to next message
Dmitry is currently offline  Dmitry   Russian Federation
Messages: 1
Registered: June 2005
Karma: 0
Junior Member
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 13:15 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
You're right, I've added the fix to the script in CVS.

FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
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: Sat Sep 28 13:46:18 GMT 2024

Total time taken to generate the page: 0.03189 seconds