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

Home » FUDforum Development » Converters » phpbb convert - not all messages are imported & the sorting is arbitrarily
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: phpbb convert - not all messages are imported & the sorting is arbitrarily [message #28379 is a reply to message #28374] Thu, 20 October 2005 19:47 Go to previous messageGo to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma:
Senior Member
Administrator
Core Developer
There are 2 reasons why the counts may not match:

1) Whe the forum selects messages it does it by performing an INNER JOIN between the messages, message_body and topics table. Which means if there are orphaned records there are less entries.

You can check for this by executing the same query with count(*) and seeing how many rows are being returned.

2) The forum id of the message does not correspond to a know value, you add an error printing message for that by editing conversion script, in particular the:
<?php
if (!isset($forum_map[(int)$obj->forum_id])) {
                        continue;
                }
?>

code block.

Not sure about the other error, you'd need to show me (you did run the consistency checker, right?).


FUDforum Core Developer
[Message index]
 
Read Message icon9.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message icon14.gif
Previous Topic: phpbb2 conversion
Next Topic: vB 2.3.0
Goto Forum:
  

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

Current Time: Fri Oct 25 23:41:12 GMT 2024

Total time taken to generate the page: 0.05840 seconds