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

Home » FUDforum Development » Converters » phpBB2 error
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
phpBB2 error [message #26000] Wed, 29 June 2005 09:08 Go to previous message
Dmitry is currently offline  Dmitry   Russian Federation
Messages: 1
Registered: June 2005
Karma:
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
[Message index]
 
Read Message
Read Message
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: Sun Nov 24 14:34:17 GMT 2024

Total time taken to generate the page: 0.04253 seconds