News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Converting phpnuke to smf 2.0.5 issues

Started by red281gt, September 12, 2013, 01:24:37 PM

Previous topic - Next topic

red281gt

I am currently trying to convert a nuke site over to a smf site and when I use the phpnuke to smf 2.0 converter it gives me this:
Converting ranks... Successful.
Converting groups... Successful.
Converting members... Successful.
Converting additional member groups... Successful.
Converting categories... Successful.
Converting boards... Successful.
Converting topics...Duplicate entry '1039' for key 'PRIMARY'


The thing is I've scoured both databases and there is not a duplicate entry with the id 1039. Has anyone ever had this problem before? If so can you PLEASE help me!!

Update!

Ok I fixed the above by replacing
---* {$to_prefix}topics
in the sql file to this
---* {$to_prefix}topics
---{
$ignore = true;
---}


But now i get this:

Converting ranks... Successful.
Converting groups... Successful.
Converting members... Successful.
Converting additional member groups... Successful.
Converting categories... Successful.
Converting boards... Successful.
Converting topics... Successful.
Converting posts (this may take some time)... 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 topic notifications... Successful.
Converting board access... Successful.
Converting group access... Successful.
Converting moderators... Successful.
Converting avatar gallery images... Successful.
Converting censored words... Successful.
Converting reserved names... Successful.
Converting banned users...The database value you're trying to insert does not exist: expire_time

mentalist

edit phpnuke_to_smf.sql and search for:
---* {$to_prefix}topics
add after:
---{
$ignore = true;
---}

red281gt

#2
sorry i was editing the OP i did that now look at the OP with the next issue. Thanks by the way.

again tho this is the message i am getting now

Converting banned users...The database value you're trying to insert does not exist: expire_time

mentalist

mhh, odd one.. search for :
array("migrated_ban_" . $row['ban_id'], $ban_time, NULL, '', 'Migrated from php-nuke', 1)
replace with:
array("migrated_ban_" . $row['ban_id'], $ban_time, 0, '', 'Migrated from php-nuke', 1)

red281gt



Advertisement: