Home »
FUDforum Development »
Converters »
phpBB2 error
phpBB2 error [message #26000] |
Wed, 29 June 2005 09:08 |
Dmitry
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 |
Ilia
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
|
|
|
Goto Forum:
Current Time: Sun Nov 24 10:24:08 GMT 2024
Total time taken to generate the page: 0.02408 seconds