Error converter phpbb3 a smf2

Started by F90, February 14, 2013, 04:56:51 PM

Previous topic - Next topic

F90

Error converter phpbb3 a smf2

Converting ranks... Successful.
Converting groups... Successful.
Converting members... Successful.
Converting additional member groups... Successful.
Preparing for categories conversion... Successful.
Converting categories... Successful.
Converting boards... Successful.
Fixing categories... Successful.
Converting topics... Successful.
Converting posts...The database value you're trying to insert does not exist: modified_name




---------------
Select Script
Welcome
Main Conversion
      - Ranks...
      - Groups...
      - Members...
      - Additional member groups...
      - Preparing for categories conversion...
      - Categories...
      - Boards...
      - Fixing categories...
      - Topics...
      - Posts...
      - Polls...
      - Poll options...
      - Poll votes...
      - Personal messages (step 1)...
      - Personal messages (step 2)...
      - Attachments...

Recount Totals and Statistics
Done

Solution? thanks

or spanish

http://www.simplemachines.org/community/index.php?topic=496218.msg3490647#msg3490647

F90

$row['body'] = stripslashes($row['body']);

add:

if(empty($row['modified_name']))
    $row['modified_name'] = 'Guest';

result:

Converting posts...
Parse error: in C:\xampp-portable\htdocs\SMF\convert.php(1254) : eval()'d code on line 74 (a few page)
Successful.
Converting polls... Successful.
Converting poll options... Successful.
Converting poll votes... Successful.
Converting personal messages (step 1)... Successful.
Converting personal messages (step 2)... Successful.
Converting attachments... Successful.
Recalculating forum statistics... Successful.

Conversion Complete
Congratulations, the conversion has completed successfully. If you have or had any problems with this converter, or need help using SMF, please feel free to look to us for support.

------
What can happen? All messages appear as edited

Oldiesmann

Rerun the conversion again, with the edit, but change $row['modified_name'] = 'Guest'; to $row['modified_name'] = '';

The "modified_name" column is what SMF uses to determine who last edited a post. If it's empty, then SMF assumes the post hasn't been edited.

F90

Thanks, after working on the forum, I saw it was just that, I'll leave it at Noser there another way to do so without negative ripple and changed everything.

Advertisement: