News:

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

Main Menu

[SMF Converter] XMB - 1.9.8

Started by JayBachatero, January 08, 2007, 09:21:48 AM

Previous topic - Next topic

IFBrock

For my board - 35 users, 13,000 posts:

I run the converter, everything goes fine except for one major problem we're having.

It seems to trim down all of the posts that are above a certain length.

Any ideas?

JayBachatero

Are you using the file in the first post?  I fixed this a while ago.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

IFBrock

Ran the latest.
Now i get this problem:

    p.tid AS ID_TOPIC, p.subject
    FROM `iceflare_zip`.xmb_posts AS p
    WHERE p.subject != ''
    LIMIT 0, 200;

Caused the error:

    You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'p.tid AS ID_TOPIC, p.subject
    FROM `iceflare_zip`.xmb_posts AS p
    WHERE p.subject ' at line 1

JayBachatero

Redownload the file.  Seem's like a few characters where chopped off.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

IFBrock

Worked out just fine this time, no problems.

Thanks a ton Jay :).

weec


PatrickPriest

#66
I am having a major issue with the convert.php function.  We did a "test" forum a few months ago and it worked fine.  However, this weekend we went to convert the actual forum we want to convert from XMB to SMF... and ran into problems.

We copied the database to a "convert" database.  We have a "test" forum that we keep up (for experimental things)... and we set up this XMB "test" forum to use the "convert" database.

We then tried to convert that database to SMF.  When we did this... it seemed to be working... however it never finished.  The page never even changed from the one where I input the information for the forums and the password.  When we go back to look at the database... our phpMyAdmin is locked up.  We also can not delete the "convert" database to try to start over... it to is locked up.

This is causing major issues and any assistance would be greatly appreciated.

Thanks,
Patrick Priest

You can reach me by e-mail at [email protected]  ... it will be sent to my BlackBerry.

Altero

Hi, I have the same problem as PatrickPriest. Can somebody help us?
And another question. How to convert from the latest XMB 1.9.7?

SleePy

Is this issue solved or do you still require assistance?

Have you tried the latest Conversion script?
Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

PatrickPriest


ZWarrior

I am having trouble with the converter.  I am converting a XMB 1.9.6 rc2 to SMF 1.1.3.  I go to the convert.php, and change the path for the XMB to "/home/mysite/public_html/forums" and put in the password for the database.

I hit enter and the page just grinds for a while, changes the address to hxxp:www.ambushsite.com/convert.php?step=1 [nonactive] and I get the following error: "The request timed out before the page could be retrieved."

I went into myPHPAdmin and can see that the users, categories, and boards were imported, but the only message I see out there is the default message from SMF.

Any thoughts or suggestions?

SleePy

Did you try to refresh and see if it continued?
It seems like apache is timing out and the script isn't able to stop it in time.
Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

ZWarrior

Yes, I did.  I can go into the mySQL and see that it only went so far before it died.

Are there particular instructions on how to do this locally?  It sounds like that might work better.

ZWarrior

Update:  I went home and ran the convert.php on the site from there.  Apparently the timeout must be on the proxy server because it ran and did the conversion.  It apparently also over loaded the SQL server because it restarted 4x during the conversion process.  Oops. :D

Thanks for the help however.

GoinNutz

Quote from: IFBrock on March 21, 2007, 01:03:49 AM

It seems to trim down all of the posts that are above a certain length.


This might be a dumb first post for me to put here, but after running into a similar issue (my XMB converted to SMF nicely, but all the text in the posts was cut short or missing half the message etc...) and going through a bit of frustration, here's what I did and I hope it helps someone else...

I was converting from XMB Nexus 1.9.3 (or thereabouts) and the conversion went OK except for the text in posts being cut-off issue. I saw people mentioning to download the sql file in the first post in this thread, but I didn't see the attachment. OK, duh... you have to be registered here on this board and logged in to see the attachments! ;-)

So, I went back and:

1. Downloaded the convert.php from http://www.simplemachines.org/download/index.php?thanks;filename=smf_1-1-2_xmb_converter.zip

2. Downloaded the xmb_to_smf.sql file from http://www.simplemachines.org/community/index.php?topic=140744.msg897640;topicseen#msg897640 (the attachment is there if you are registered/logged in on http://www.simplemachines.org/community to see / download it) and overwrote the old xmb_to_smf.sql with this new one.

3. Uploaded the existing convert.php and the new xmb_to_smf.sql file to my SMF folder on the server and re-ran the convert.php (after logging in of course)

That fixed it! Now the forum categories have the correct names, and the existing posts have the full original non-truncated text.

I know this was probably a "dummy" post, but it just might help someone who is going through the same frustration that I did.

Good luck everyone, and trust me, SMF is WORTH converting to!

genius2

#75
I am trying to convert XMB 1.9 to smf1.4 with this script and have a problem.
I get this:

Converting...
Converting topic notifications... Unsuccessful!
This query:

    INSERT INTO `test`.smf_log_notify
    (ID_MEMBER, ID_TOPIC)
    VALUES ('1128', '1980'),
    ('1128', '1980'),
    ('24', '18'),
    ('8', '101'),
    ('1130', '2005'),
    ('22', '8'),
    ('22', '9'),
    ('23', '10'),
    ('23', '11'),
    ('23', '13'),
    ('23', '38'),
    ('26', '14'),
    ('26', '26'),
    ('26', '86'),
    ('26', '89'),
    ('26', '93'),
    ('26', '62'),
    ('26', '106'),
    ('26', '144'),
    ('26', '143'),
    ('26', '145'),
    ('26', '146'),
    ('26', '152'),
    ('26', '153'),
    ('26', '167'),
    ('26', '163'),
    ('33', '22'),
    ('35', '43'),
    ('37', '717'),
    ('37', '1404'),
    ('37', '2324'),
    ('37', '2654'),
    ('39', '30'),
    ('1138', '2016'),
    ('1138', '2136'),
    ('1138', '2094'),
    ('1138', '2221'),
    ('1138', '2252'),
    ('938', '1163'),
    ('51', '1092'),
    ('51', '1281'),
    ('54', '50'),
    ('54', '51'),
    ('54', '53'),
    ('54', '222'),
    ('58', '56'),
    ('70', '66'),
    ('81', '74'),
    ('87', '79'),
    ('91', '89'),
    ('92', '90'),
    ('94', '94'),
    ('101', '193'),
    ('107', '113'),
    ('107', '95'),
    ('115', '121'),
    ('116', '2185'),
    ('116', '1257'),
    ('116', '2761'),
    ('116', '3063'),
    ('117', '122'),
    ('118', '185'),
    ('124', '130'),
    ('135', '130'),
    ('135', '134'),
    ('135', '131'),
    ('135', '282'),
    ('137', '136'),
    ('141', '137'),
    ('151', '35'),
    ('151', '45'),
    ('151', '151'),
    ('155', '156'),
    ('155', '158'),
    ('155', '165'),
    ('155', '170'),
    ('155', '1863'),
    ('157', '225'),
    ('157', '245'),
    ('157', '1746'),
    ('159', '112'),
    ('161', '143'),
    ('161', '131'),
    ('161', '127'),
    ('161', '221'),
    ('161', '228'),
    ('161', '441'),
    ('161', '290'),
    ('163', '161'),
    ('168', '164'),
    ('182', '171'),
    ('185', '175'),
    ('189', '182'),
    ('192', '169'),
    ('202', '190'),
    ('207', '194'),
    ('207', '253'),
    ('207', '254'),
    ('207', '256'),
    ('207', '308'),
    ('207', '433'),
    ('210', '160'),
    ('210', '171'),
    ('210', '197'),
    ('210', '131'),
    ('211', '196'),
    ('211', '970'),
    ('211', '1240'),
    ('211', '638'),
    ('211', '567'),
    ('211', '570'),
    ('211', '596'),
    ('211', '577'),
    ('211', '589'),
    ('211', '588'),
    ('211', '609'),
    ('211', '636'),
    ('211', '632'),
    ('211', '640'),
    ('211', '637'),
    ('211', '662'),
    ('211', '663'),
    ('211', '664'),
    ('211', '667'),
    ('211', '668'),
    ('211', '833'),
    ('211', '978'),
    ('211', '981'),
    ('211', '983'),
    ('211', '977'),
    ('211', '985'),
    ('211', '1026'),
    ('211', '1034'),
    ('211', '1057'),
    ('211', '1058'),
    ('211', '1071'),
    ('211', '1304'),
    ('211', '1115'),
    ('211', '1783'),
    ('211', '1324'),
    ('211', '1127'),
    ('211', '1795'),
    ('211', '1329'),
    ('211', '1210'),
    ('211', '1362'),
    ('211', '1312'),
    ('211', '1372'),
    ('211', '1374'),
    ('211', '1403'),
    ('211', '1231'),
    ('211', '1390'),
    ('211', '1385'),
    ('211', '1604'),
    ('211', '1416'),
    ('211', '1419'),
    ('211', '1421'),
    ('211', '1423'),
    ('211', '286'),
    ('211', '1441'),
    ('211', '1448'),
    ('211', '1451'),
    ('211', '1577'),
    ('211', '1555'),
    ('211', '1624'),
    ('211', '1693'),
    ('211', '1666'),
    ('211', '1669'),
    ('211', '1635'),
    ('211', '1452'),
    ('211', '1680'),
    ('211', '1681'),
    ('211', '1728'),
    ('211', '1696'),
    ('211', '1727'),
    ('211', '1697'),
    ('211', '1702'),
    ('211', '1725'),
    ('211', '1726'),
    ('211', '1705'),
    ('211', '1765'),
    ('211', '1733'),
    ('211', '1737'),
    ('211', '1738'),
    ('211', '1901'),
    ('211', '1745'),
    ('211', '1755'),
    ('211', '1781'),
    ('211', '1764'),
    ('211', '1792'),
    ('211', '1800'),
    ('211', '1787'),
    ('211', '1798'),
    ('211', '1814'),
    ('211', '1842'),
    ('211', '1845'),
    ('211', '1849'),
    ('211', '1850'),
    ('211', '1866'),
    ('211', '1881'),
    ('211', '1888'),
    ('211', '1883'),
    ('211', '1057'),
    ('211', '1846'),
    ('211', '1890'),
    ('211', '1894'),
    ('211', '1895'),
    ('211', '1509'),
    ('211', '1905'),
    ('211', '1928'),
    ('211', '1879'),
    ('211', '1942'),
    ('211', '1944'),
    ('211', '1946'),
    ('211', '1950'),
    ('211', '1951'),
    ('211', '1952'),
    ('211', '1958'),
    ('211', '1962'),
    ('211', '1923'),
    ('211', '2019'),
    ('211', '2024'),
    ('502', '513'),
    ('502', '580'),
    ('502', '366'),
    ('215', '215'),
    ('216', '248'),
    ('216', '251'),
    ('216', '327'),
    ('216', '351'),
    ('216', '264'),
    ('216', '371'),
    ('216', '386'),
    ('216', '390'),
    ('216', '406'),
    ('216', '313'),
    ('216', '414'),
    ('216', '417'),
    ('216', '209'),
    ('216', '436'),
    ('216', '446'),
    ('216', '451'),
    ('216', '428'),
    ('216', '530'),
    ('216', '500'),
    ('216', '631'),
    ('216', '513'),
    ('216', '1010'),
    ('216', '1291'),
    ('216', '1434'),
    ('216', '1528'),
    ('216', '2766'),
    ('1296', '2417'),
    ('1255', '2370'),
    ('221', '197'),
    ('221', '220'),
    ('221', '212'),
    ('221', '245'),
    ('221', '634'),
    ('221', '785'),
    ('221', '3298'),
    ('221', '2810'),
    ('222', '231'),
    ('222', '226'),
    ('222', '226'),
    ('222', '229'),
    ('222', '228'),
    ('222', '232'),
    ('222', '233'),
    ('222', '79'),
    ('223', '475'),
    ('223', '3382'),
    ('1223', '1939'),
    ('1129', '1762'),
    ('229', '2312'),
    ('242', '330'),
    ('242', '491'),
    ('242', '630'),
    ('243', '339'),
    ('243', '350'),
    ('243', '353'),
    ('243', '352'),
    ('243', '529'),
    ('246', '301'),
    ('246', '2073'),
    ('257', '245'),
    ('257', '245'),
    ('358', '335'),
    ('265', '970'),
    ('360', '338'),
    ('356', '422'),
    ('273', '332'),
    ('384', '393'),
    ('372', '355'),
    ('372', '941'),
    ('372', '895'),
    ('373', '351'),
    ('373', '503'),
    ('441', '809'),
    ('366', '347'),
    ('366', '351'),
    ('366', '354'),
    ('364', '1589'),
    ('362', '346'),
    ('361', '2260'),
    ('354', '149'),
    ('354', '319'),
    ('354', '326'),
    ('352', '309'),
    ('352', '325'),
    ('387', '375'),
    ('403', '2864'),
    ('403', '2849'),
    ('405', '402'),
    ('416', '416'),
    ('416', '417'),
    ('420', '339'),
    ('423', '411'),
    ('433', '436'),
    ('438', '475'),
    ('439', '2140'),
    ('440', '789'),
    ('440', '870'),
    ('440', '866'),
    ('440', '901'),
    ('440', '910'),
    ('446', '298'),
    ('455', '1815'),
    ('458', '479'),
    ('464', '426'),
    ('466', '519'),
    ('476', '535'),
    ('487', '536'),
    ('524', '576'),
    ('524', '611'),
    ('497', '69'),
    ('497', '286'),
    ('505', '1521'),
    ('508', '555'),
    ('510', '720'),
    ('510', '875'),
    ('510', '561'),
    ('510', '492'),
    ('510', '561'),
    ('510', '3164'),
    ('510', '1052'),
    ('510', '529'),
    ('510', '1053'),
    ('510', '1063'),
    ('510', '2148'),
    ('510', '1484'),
    ('510', '1489'),
    ('510', '1662'),
    ('510', '1558'),
    ('510', '1666'),
    ('510', '1710'),
    ('510', '1447'),
    ('510', '1733'),
    ('510', '1902'),
    ('510', '1514'),
    ('510', '1816'),
    ('510', '1820'),
    ('510', '1883'),
    ('510', '1888'),
    ('510', '1693'),
    ('510', '1945'),
    ('510', '1967'),
    ('510', '1993'),
    ('510', '2014'),
    ('510', '2031'),
    ('510', '2043'),
    ('510', '2167'),
    ('510', '2207'),
    ('510', '2282'),
    ('510', '2610'),
    ('510', '2342'),
    ('510', '2772'),
    ('510', '2828'),
    ('510', '2843'),
    ('510', '2852'),
    ('510', '2893'),
    ('510', '3038'),
    ('510', '1491'),
    ('510', '2947'),
    ('510', '3605'),
    ('510', '3634'),
    ('513', '451'),
    ('522', '573'),
    ('526', '578'),
    ('528', '582'),
    ('528', '582'),
    ('529', '1450'),
    ('531', '351'),
    ('533', '754'),
    ('534', '508'),
    ('534', '674'),
    ('539', '641'),
    ('539', '884'),
    ('539', '2068'),
    ('539', '2565'),
    ('540', '587'),
    ('540', '632'),
    ('540', '638'),
    ('540', '25'),
    ('540', '688'),
    ('540', '675'),
    ('540', '780'),
    ('540', '844'),
    ('540', '2152'),
    ('548', '436'),
    ('548', '3522'),
    ('551', '2610'),
    ('551', '2810'),
    ('551', '3579'),
    ('556', '350'),
    ('558', '2967'),
    ('558', '3014'),
    ('558', '2965'),
    ('558', '1152'),
    ('558', '1887'),
    ('558', '3522'),
    ('558', '2437'),
    ('558', '2540'),
    ('558', '2994'),
    ('558', '2652'),
    ('558', '2649'),
    ('558', '2770'),
    ('558', '2777'),
    ('558', '2865'),
    ('558', '3029'),
    ('558', '3095'),
    ('558', '3112'),
    ('558', '3124'),
    ('558', '3231'),
    ('558', '3238'),
    ('558', '3542'),
    ('558', '3342'),
    ('558', '3375'),
    ('558', '3444'),
    ('558', '3459'),
    ('558', '3392'),
    ('558', '3479'),
    ('559', '635'),
    ('559', '1100'),
    ('559', '1099'),
    ('564', '1148'),
    ('564', '2059'),
    ('564', '2353'),
    ('566', '2128'),
    ('566', '2128'),
    ('567', '623'),
    ('567', '628'),
    ('583', '1834'),
    ('588', '1123'),
    ('588', '1124'),
    ('589', '849'),
    ('591', '666'),
    ('594', '436'),
    ('594', '689'),
    ('599', '2656'),
    ('602', '904'),
    ('602', '696'),
    ('602', '776'),
    ('602', '870'),
    ('602', '1295'),
    ('608', '808'),
    ('610', '714'),
    ('610', '714'),
    ('611', '961'),
    ('611', '727'),
    ('611', '810'),
    ('611', '1045'),
    ('611', '594'),
    ('611', '1280'),
    ('611', '440'),
    ('611', '3509'),
    ('622', '451'),
    ('626', '842'),
    ('628', '755'),
    ('628', '634'),
    ('628', '1923'),
    ('628', '2293'),
    ('628', '2343'),
    ('628', '2915'),
    ('628', '2738'),
    ('628', '2963'),
    ('629', '3089'),
    ('629', '208'),
    ('629', '3164'),
    ('629', '760'),
    ('629', '638'),
    ('629', '3051'),
    ('629', '2161'),
    ('629', '3051'),
    ('629', '339'),
    ('629', '2972'),
    ('629', '2928'),
    ('629', '3169'),
    ('629', '2606'),
    ('629', '2534'),
    ('629', '2578');

Caused the error:

    Duplicate entry '1128-1980-0' for key 1


The xmb database is about 3k topics, 30k posts and 1,5k users.
Is there solution for my problem?

genius2

In previous post i used convert.php and xmb_to_smf.sql files from http://www.simplemachines.org/download/index.php?thanks;filename=smf_1-1-2_xmb_converter.zip.

Now i downloaded files from http://www.simplemachines.org/community/index.php?topic=140741 and http://www.simplemachines.org/community/index.php?action=dlattach;topic=140744.0;attach=30180, and continued conversion where last one(the one in my previous post) stoped.
I copied new files over the old ones and clicked on "try again", now i get:

Converting...
Converting personal messages (step 2)... Unsuccessful!
This query:

    INSERT INTO `test`.smf_pm_recipients
    (ID_PM, ID_MEMBER, is_read, labels)
    VALUES ('4', '1', '1', '-1'),
    ('4353', '1', '1', '-1'),
    ('80', '1', '1', '-1'),
    ('498', '1', '1', '-1'),
    ('4235', '1', '1', '-1'),
    ('1271', '1', '1', '-1'),
    ('356', '1', '1', '-1'),
    ('4219', '1', '1', '-1'),
    ('871', '1', '1', '-1'),
    ('1985', '1', '1', '-1'),
    ('1225', '1', '1', '-1'),
    ('504', '1', '1', '-1'),
    ('505', '1', '1', '-1'),
    ('517', '1', '1', '-1'),
    ('518', '1', '1', '-1'),
    ('887', '1', '1', '-1'),
    ('541', '1', '1', '-1'),
    ('548', '1', '1', '-1'),
    ('554', '1', '1', '-1'),
    ('555', '1', '1', '-1'),
    ('556', '1', '1', '-1'),
    ('559', '1', '1', '-1'),
    ('560', '1', '1', '-1'),
    ('573', '1', '1', '-1'),
    ('643', '1', '1', '-1'),
    ('647', '1', '1', '-1'),
    ('1945', '1', '1', '-1'),
    ('683', '1', '1', '-1'),
    ('761', '1', '1', '-1'),
    ('921', '1', '1', '-1'),
    ('773', '1', '1', '-1'),
    ('1967', '1', '1', '-1'),
    ('795', '1', '1', '-1'),
    ('831', '1', '1', '-1'),
    ('837', '1', '1', '-1'),
    ('853', '1', '1', '-1'),
    ('861', '1', '1', '-1'),
    ('897', '1', '1', '-1'),
    ('911', '1', '1', '-1'),
    ('907', '1', '1', '-1'),
    ('1911', '1', '1', '-1'),
    ('927', '1', '1', '-1'),
    ('935', '1', '1', '-1'),
    ('939', '1', '1', '-1'),
    ('943', '1', '1', '-1'),
    ('947', '1', '1', '-1'),
    ('951', '1', '1', '-1'),
    ('968', '1', '1', '-1'),
    ('1251', '1', '1', '-1'),
    ('982', '1', '1', '-1'),
    ('1901', '1', '1', '-1'),
    ('993', '1', '1', '-1'),
    ('1017', '1', '1', '-1'),
    ('1001', '1', '1', '-1'),
    ('1013', '1', '1', '-1'),
    ('1021', '1', '1', '-1'),
    ('1025', '1', '1', '-1'),
    ('1031', '1', '1', '-1'),
    ('1033', '1', '1', '-1'),
    ('1037', '1', '1', '-1'),
    ('1043', '1', '1', '-1'),
    ('2249', '1', '1', '-1'),
    ('1889', '1', '1', '-1'),
    ('1107', '1', '1', '-1'),
    ('1128', '1', '1', '-1'),
    ('1134', '1', '1', '-1'),
    ('1505', '1', '1', '-1'),
    ('1143', '1', '1', '-1'),
    ('1885', '1', '1', '-1'),
    ('1245', '1', '1', '-1'),
    ('1161', '1', '1', '-1'),
    ('1171', '1', '1', '-1'),
    ('1193', '1', '1', '-1'),
    ('1879', '1', '1', '-1'),
    ('1241', '1', '1', '-1'),
    ('1875', '1', '1', '-1'),
    ('1291', '1', '1', '-1'),
    ('1309', '1', '1', '-1'),
    ('1340', '1', '1', '-1'),
    ('1355', '1', '1', '-1'),
    ('1363', '1', '1', '-1'),
    ('1367', '1', '1', '-1'),
    ('1383', '1', '1', '-1'),
    ('1409', '1', '1', '-1'),
    ('1851', '1', '1', '-1'),
    ('1491', '1', '1', '-1'),
    ('1489', '1', '1', '-1'),
    ('1845', '1', '1', '-1'),
    ('1457', '1', '1', '-1'),
    ('1465', '1', '1', '-1'),
    ('1487', '1', '1', '-1'),
    ('1493', '1', '1', '-1'),
    ('1497', '1', '1', '-1'),
    ('1777', '1', '1', '-1'),
    ('2842', '1', '1', '-1'),
    ('1559', '1', '1', '-1'),
    ('1595', '1', '1', '-1'),
    ('1601', '1', '1', '-1'),
    ('1607', '1', '1', '-1'),
    ('1637', '1', '1', '-1'),
    ('1643', '1', '1', '-1'),
    ('1647', '1', '1', '-1'),
    ('1657', '1', '1', '-1'),
    ('1683', '1', '1', '-1'),
    ('2265', '1', '1', '-1'),
    ('2048', '1', '1', '-1'),
    ('2054', '1', '1', '-1'),
    ('2334', '1', '1', '-1'),
    ('2079', '1', '1', '-1'),
    ('2113', '1', '1', '-1'),
    ('2172', '1', '1', '-1'),
    ('2227', '1', '1', '-1'),
    ('2273', '1', '1', '-1'),
    ('2311', '1', '1', '-1'),
    ('2324', '1', '1', '-1'),
    ('2357', '1', '1', '-1'),
    ('2403', '1', '1', '-1'),
    ('2423', '1', '1', '-1'),
    ('2436', '1', '1', '-1'),
    ('2903', '1', '1', '-1'),
    ('2474', '1', '1', '-1'),
    ('2629', '1', '1', '-1'),
    ('2754', '1', '1', '-1'),
    ('2748', '1', '1', '-1'),
    ('2564', '1', '1', '-1'),
    ('2615', '1', '1', '-1'),
    ('2621', '1', '1', '-1'),
    ('2625', '1', '1', '-1'),
    ('2689', '1', '1', '-1'),
    ('2690', '1', '1', '-1'),
    ('2698', '1', '1', '-1'),
    ('2736', '1', '1', '-1'),
    ('2740', '1', '1', '-1'),
    ('2888', '1', '1', '-1'),
    ('3029', '1', '1', '-1'),
    ('2951', '1', '1', '-1'),
    ('2973', '1', '1', '-1'),
    ('2981', '1', '1', '-1'),
    ('2995', '1', '1', '-1'),
    ('3085', '1', '1', '-1'),
    ('3194', '1', '1', '-1'),
    ('3196', '1', '1', '-1'),
    ('3242', '1', '1', '-1'),
    ('3250', '1', '1', '-1'),
    ('3254', '1', '1', '-1'),
    ('3258', '1', '1', '-1'),
    ('3323', '1', '1', '-1'),
    ('3324', '1', '1', '-1'),
    ('3691', '1', '1', '-1'),
    ('3669', '1', '1', '-1'),
    ('3671', '1', '1', '-1'),
    ('4437', '1', '1', '-1'),
    ('3829', '1', '1', '-1'),
    ('3873', '1', '1', '-1'),
    ('3875', '1', '1', '-1'),
    ('3881', '1', '1', '-1'),
    ('3885', '1', '1', '-1'),
    ('3893', '1', '1', '-1'),
    ('3897', '1', '1', '-1'),
    ('4181', '1', '1', '-1'),
    ('3960', '1', '1', '-1'),
    ('3992', '1', '1', '-1'),
    ('3993', '1', '1', '-1'),
    ('3997', '1', '1', '-1'),
    ('4001', '1', '1', '-1'),
    ('4069', '1', '1', '-1'),
    ('4073', '1', '1', '-1'),
    ('4105', '1', '1', '-1'),
    ('4109', '1', '1', '-1'),
    ('4406', '1', '1', '-1'),
    ('4411', '1', '1', '-1'),
    ('4425', '1', '1', '-1'),
    ('4447', '1', '1', '-1'),
    ('4571', '1', '1', '-1'),
    ('4597', '1', '1', '-1'),
    ('4601', '1', '1', '-1'),
    ('4605', '1', '1', '-1'),
    ('4617', '1', '1', '-1'),
    ('4643', '1', '1', '-1'),
    ('4719', '1', '1', '-1'),
    ('4721', '1', '1', '-1'),
    ('4949', '1', '1', '-1'),
    ('5179', '1', '1', '-1'),
    ('4878', '1', '1', '-1'),
    ('5116', '1', '1', '-1'),
    ('5126', '1', '1', '-1'),
    ('5161', '1', '1', '-1'),
    ('5167', '1', '1', '-1'),
    ('5240', '1', '1', '-1'),
    ('5569', '1', '1', '-1'),
    ('5597', '1', '1', '-1'),
    ('5621', '1', '1', '-1'),
    ('5656', '1', '1', '-1'),
    ('5662', '1', '1', '-1'),
    ('5688', '1', '1', '-1'),
    ('5724', '1', '1', '-1'),
    ('5726', '1', '1', '-1'),
    ('5742', '1', '1', '-1'),
    ('6949', '1', '1', '-1'),
    ('6994', '1', '1', '-1'),
    ('7057', '1', '1', '-1'),
    ('7063', '1', '1', '-1'),
    ('4267', '2', '0', '-1'),
    ('27', '4', '1', '-1'),
    ('29', '4', '1', '-1'),
    ('432', '4', '1', '-1'),
    ('1679', '4', '1', '-1'),
    ('3369', '4', '1', '-1'),
    ('3557', '4', '1', '-1'),
    ('4435', '4', '1', '-1'),
    ('1027', '9', '1', '-1'),
    ('1061', '9', '1', '-1'),
    ('1126', '9', '1', '-1'),
    ('1213', '9', '1', '-1'),
    ('119', '12', '1', '-1'),
    ('15', '16', '1', '-1'),
    ('19', '16', '1', '-1'),
    ('23', '16', '1', '-1'),
    ('59', '20', '1', '-1'),
    ('235', '20', '1', '-1'),
    ('385', '20', '1', '-1'),
    ('1983', '20', '1', '-1'),
    ('502', '20', '1', '-1'),
    ('515', '20', '1', '-1'),
    ('539', '20', '1', '-1'),
    ('552', '20', '1', '-1'),
    ('949', '20', '1', '-1'),
    ('1105', '20', '1', '-1'),
    ('1132', '20', '1', '-1'),
    ('1307', '20', '1', '-1'),
    ('1338', '20', '1', '-1'),
    ('2562', '20', '1', '-1'),
    ('2170', '20', '1', '-1'),
    ('2434', '20', '1', '-1'),
    ('2472', '20', '1', '-1'),
    ('2687', '20', '1', '-1'),
    ('2886', '20', '1', '-1'),
    ('2952', '20', '1', '-1'),
    ('3083', '20', '1', '-1'),
    ('3987', '20', '1', '-1'),
    ('4401', '20', '1', '-1'),
    ('4873', '20', '1', '-1'),
    ('4944', '20', '1', '-1'),
    ('5561', '20', '1', '-1'),
    ('5652', '20', '1', '-1'),
    ('5737', '20', '1', '-1'),
    ('6944', '20', '0', '-1'),
    ('7052', '20', '0', '-1'),
    ('7058', '20', '0', '-1'),
    ('113', '28', '1', '-1'),
    ('87', '28', '1', '-1'),
    ('207', '28', '1', '-1'),
    ('653', '28', '1', '-1'),
    ('952', '28', '1', '-1'),
    ('2187', '28', '1', '-1'),
    ('2183', '28', '1', '-1'),
    ('1469', '28', '1', '-1'),
    ('1475', '28', '1', '-1'),
    ('2185', '28', '1', '-1'),
    ('1495', '28', '1', '-1'),
    ('2163', '28', '1', '-1'),
    ('2221', '28', '1', '-1'),
    ('2231', '28', '1', '-1'),
    ('2483', '28', '1', '-1'),
    ('3751', '28', '1', '-1'),
    ('5078', '28', '1', '-1'),
    ('3935', '28', '1', '-1'),
    ('4037', '28', '1', '-1'),
    ('4611', '28', '1', '-1'),
    ('5181', '28', '1', '-1'),
    ('5914', '28', '1', '-1'),
    ('5030', '28', '1', '-1'),
    ('5080', '28', '1', '-1'),
    ('5088', '28', '1', '-1'),
    ('5631', '28', '1', '-1'),
    ('5658', '28', '1', '-1'),
    ('5992', '28', '1', '-1'),
    ('6058', '28', '1', '-1'),
    ('6167', '28', '1', '-1'),
    ('6171', '28', '1', '-1'),
    ('6183', '28', '1', '-1'),
    ('6185', '28', '1', '-1'),
    ('6197', '28', '1', '-1'),
    ('7048', '28', '1', '-1'),
    ('127', '30', '1', '-1'),
    ('954', '35', '1', '-1'),
    ('2708', '35', '1', '-1'),
    ('2840', '35', '1', '-1'),
    ('2884', '35', '1', '-1'),
    ('2355', '35', '1', '-1'),
    ('2465', '35', '1', '-1'),
    ('2466', '35', '1', '-1'),
    ('2541', '35', '1', '-1'),
    ('2663', '35', '1', '-1'),
    ('2677', '35', '1', '-1'),
    ('2683', '35', '1', '-1'),
    ('2694', '35', '1', '-1'),
    ('2730', '35', '1', '-1'),
    ('3335', '35', '1', '-1'),
    ('4397', '35', '1', '-1'),
    ('4409', '35', '1', '-1'),
    ('4423', '35', '1', '-1'),
    ('4469', '35', '1', '-1'),
    ('4813', '35', '1', '-1'),
    ('5595', '35', '1', '-1'),
    ('5607', '35', '1', '-1'),
    ('5619', '35', '1', '-1'),
    ('1054', '37', '1', '-1'),
    ('5146', '37', '1', '-1'),
    ('5150', '37', '1', '-1'),
    ('5388', '37', '1', '-1'),
    ('5391', '37', '1', '-1'),
    ('6841', '1138', '1', '-1'),
    ('5018', '1138', '1', '-1'),
    ('5028', '1138', '1', '-1'),
    ('5056', '1138', '1', '-1'),
    ('5060', '1138', '1', '-1'),
    ('5064', '1138', '1', '-1'),
    ('6908', '1138', '1', '-1'),
    ('7016', '1138', '1', '-1'),
    ('7', '45', '1', '-1'),
    ('13', '45', '1', '-1'),
    ('49', '45', '0', '-1'),
    ('18', '46', '1', '-1'),
    ('1058', '46', '1', '-1'),
    ('6825', '46', '1', '-1'),
    ('6207', '46', '1', '-1'),
    ('6269', '46', '1', '-1'),
    ('6273', '46', '1', '-1'),
    ('6279', '46', '1', '-1'),
    ('6281', '46', '1', '-1'),
    ('6285', '46', '1', '-1'),
    ('6293', '46', '1', '-1'),
    ('6297', '46', '1', '-1'),
    ('6299', '46', '1', '-1'),
    ('5824', '50', '1', '-1'),
    ('169', '51', '1', '-1'),
    ('171', '51', '1', '-1'),
    ('847', '51', '1', '-1'),
    ('857', '51', '1', '-1'),
    ('1067', '51', '1', '-1'),
    ('1097', '51', '1', '-1'),
    ('2714', '51', '1', '-1'),
    ('2099', '51', '1', '-1'),
    ('2109', '51', '1', '-1'),
    ('2336', '51', '1', '-1'),
    ('2345', '51', '1', '-1'),
    ('2389', '51', '1', '-1'),
    ('2395', '51', '1', '-1'),
    ('2397', '51', '1', '-1'),
    ('3697', '51', '1', '-1'),
    ('2401', '51', '1', '-1'),
    ('2413', '51', '1', '-1'),
    ('2481', '51', '1', '-1'),
    ('2607', '51', '1', '-1'),
    ('2617', '51', '1', '-1'),
    ('2627', '51', '1', '-1'),
    ('2633', '51', '1', '-1'),
    ('2643', '51', '1', '-1'),
    ('2651', '51', '1', '-1'),
    ('2671', '51', '1', '-1'),
    ('2953', '51', '1', '-1'),
    ('2979', '51', '1', '-1'),
    ('2987', '51', '1', '-1'),
    ('3817', '51', '1', '-1'),
    ('3835', '51', '1', '-1'),
    ('3843', '51', '1', '-1'),
    ('3988', '51', '1', '-1'),
    ('6768', '51', '1', '-1'),
    ('5767', '51', '1', '-1'),
    ('4402', '51', '1', '-1'),
    ('4874', '51', '1', '-1'),
    ('4945', '51', '1', '-1'),
    ('5586', '51', '1', '-1'),
    ('5611', '51', '1', '-1'),
    ('5641', '51', '1', '-1'),
    ('5660', '51', '1', '-1'),
    ('5664', '51', '1', '-1'),
    ('5668', '51', '1', '-1'),
    ('5672', '51', '1', '-1'),
    ('5694', '51', '1', '-1'),
    ('5698', '51', '1', '-1'),
    ('5710', '51', '1', '-1'),
    ('5712', '51', '1', '-1'),
    ('5722', '51', '1', '-1'),
    ('5728', '51', '1', '-1'),
    ('5738', '51', '1', '-1'),
    ('5771', '51', '1', '-1'),
    ('5775', '51', '1', '-1'),
    ('5777', '51', '1', '-1'),
    ('5785', '51', '1', '-1'),
    ('5792', '51', '1', '-1'),
    ('6191', '51', '1', '-1'),
    ('6179', '51', '1', '-1'),
    ('6199', '51', '1', '-1'),
    ('6201', '51', '1', '-1'),
    ('6205', '51', '1', '-1'),
    ('6209', '51', '1', '-1'),
    ('6237', '51', '1', '-1'),
    ('6303', '51', '1', '-1'),
    ('6338', '51', '1', '-1'),
    ('6439', '51', '1', '-1'),
    ('6849', '51', '1', '-1'),
    ('6884', '51', '1', '-1'),
    ('6892', '51', '1', '-1'),
    ('6945', '51', '1', '-1'),
    ('7053', '51', '1', '-1'),
    ('7059', '51', '1', '-1'),
    ('7114', '51', '1', '-1'),
    ('25', '56', '1', '-1'),
    ('33', '62', '1', '-1'),
    ('39', '62', '1', '-1'),
    ('45', '62', '1', '-1'),
    ('57', '62', '1', '-1'),
    ('65', '62', '1', '-1'),
    ('143', '62', '0', '-1'),
    ('3473', '68', '0', '-1'),
    ('53', '70', '1', '-1'),
    ('3475', '75', '0', '-1'),
    ('3477', '83', '1', '-1'),
    ('3541', '83', '1', '-1'),
    ('3601', '85', '1', '-1'),
    ('3481', '85', '1', '-1'),
    ('6988', '89', '1', '-1'),
    ('7014', '89', '1', '-1'),
    ('83', '104', '0', '-1'),
    ('95', '104', '0', '-1'),
    ('89', '105', '0', '-1'),
    ('4509', '1149', '1', '-1'),
    ('4513', '1149', '1', '-1'),
    ('93', '107', '0', '-1'),
    ('4733', '1150', '1', '-1'),
    ('4739', '1150', '1', '-1'),
    ('4962', '1150', '1', '-1'),
    ('4990', '1150', '1', '-1'),
    ('5952', '1150', '1', '-1'),
    ('6018', '1150', '1', '-1'),
    ('6155', '1150', '1', '-1'),
    ('6159', '1150', '1', '-1'),
    ('6163', '1150', '1', '-1'),
    ('6267', '1150', '1', '-1'),
    ('6469', '1150', '1', '-1'),
    ('6509', '1150', '1', '-1'),
    ('6513', '1150', '1', '-1'),
    ('6519', '1150', '1', '-1'),
    ('6521', '1150', '1', '-1'),
    ('6525', '1150', '1', '-1'),
    ('6585', '1150', '1', '-1'),
    ('281', '124', '1', '-1'),
    ('631', '124', '1', '-1'),
    ('651', '124', '1', '-1'),
    ('735', '124', '1', '-1'),
    ('787', '124', '1', '-1'),
    ('849', '124', '1', '-1'),
    ('2800', '124', '1', '-1'),
    ('980', '124', '1', '-1'),
    ('2255', '124', '1', '-1'),
    ('1724', '124', '1', '-1'),
    ('1750', '124', '1', '-1'),
    ('1756', '124', '1', '-1'),
    ('2181', '124', '1', '-1'),
    ('2123', '124', '1', '-1'),
    ('2161', '124', '1', '-1'),
    ('2287', '124', '1', '-1'),
    ('2593', '124', '1', '-1'),
    ('2613', '124', '1', '-1'),
    ('2619', '124', '1', '-1'),
    ('2623', '124', '1', '-1'),
    ('2631', '124', '1', '-1'),
    ('2639', '124', '1', '-1'),
    ('2645', '124', '1', '-1'),
    ('2653', '124', '1', '-1'),
    ('6777', '124', '1', '-1'),
    ('5994', '124', '1', '-1'),
    ('107', '125', '1', '-1'),
    ('103', '125', '1', '-1'),
    ('99', '125', '1', '-1'),
    ('4651', '1154', '1', '-1'),
    ('4627', '1154', '1', '-1'),
    ('4631', '1154', '1', '-1'),
    ('4659', '1154', '1', '-1'),
    ('3505', '128', '0', '-1'),
    ('4823', '1155', '0', '-1'),
    ('4633', '1156', '1', '-1'),
    ('4713', '1156', '1', '-1'),
    ('4725', '1156', '0', '-1'),
    ('203', '135', '1', '-1'),
    ('426', '135', '1', '-1'),
    ('265', '135', '1', '-1'),
    ('267', '135', '1', '-1'),
    ('275', '135', '1', '-1'),
    ('285', '135', '1', '-1'),
    ('295', '135', '1', '-1'),
    ('1116', '135', '1', '-1'),
    ('309', '135', '1', '-1'),
    ('319', '135', '1', '-1'),
    ('321', '135', '1', '-1'),
    ('327', '135', '1', '-1'),
    ('329', '135', '1', '-1'),
    ('343', '135', '1', '-1');

Caused the error:

    Duplicate entry '4-1' for key 1

JayBachatero

Did you overwrite the files?  Make sure to overwrite the file not resume.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

genius2

I overwrited files, worked ok until it comes to smileys. Now i have problems with smileys. I don't even want to convert those.
Is there a way to skip smileys conversion?
Also, procesing my database keeps long time, is there a way to continue conversion at some point if something goes wrong?
My XMB database is in latin1, but i have mixed data in it that is utf8(cyrilic) and latin1. What i need to do if I want to keep all those cyrilic data(posts, signatures, etc) in the right way?

genius2

I keep getting this:

Converting personal messages (step 1)... Successful.
Converting personal messages (step 2)... Successful.
Converting topic notifications... Successful.
Converting banned users... Successful.
Converting settings... Successful.
Converting moderators... Successful.
Converting smileys... Unsuccessful!
This query:

    ALTER TABLE `test`.smf_smileys
    ORDER BY LENGTH(code) DESC;

Caused the error:

    You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LENGTH(code) DESC' at line 2

Advertisement: