Home »
FUDforum Development »
Converters »
phpBB2 error
phpBB2 error [message #26000] |
Wed, 29 June 2005 09:08 ![Go to next message Go to next message](/forum/theme/default/images/down.png) |
Dmitry
![Russian Federation Russian Federation](/forum/images/flags/ru.png) 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 Go to previous message](/forum/theme/default/images/up.png) |
Ilia
![Canada Canada](/forum/images/flags/ca.png) 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 Feb 16 12:51:13 GMT 2025
Total time taken to generate the page: 0.02169 seconds