Simple Machines Community Forum

SMF Support => Converting to SMF => Topic started by: JayBachatero on January 08, 2007, 09:21:48 AM

Title: [SMF Converter] XMB - 1.9.8
Post by: JayBachatero on January 08, 2007, 09:21:48 AM
Software: XMB
Version: 1.9.8

This is the official support topic for XMB 1.9.8 converter.  Use this topic to ask for support for this converter.

Changelog
! Typo (xmb_to_smf.sql)
! Set the correct subject for posts without a subject. (xmb_to_smf.sql)
! When inserting into log_notify board use INSERT IGNORE INTO. (xmb_to_smf.sql)
! When converting topics make sure that "closed" column is set to the correct value (xmb_to_smf.sql)
! 255 characters are not enough to limit a post body to. (xmb_to_smf.sql)
! Make sure IN_CODE is defined. (xmb_to_smf.sql)


convert.php
Use this convert.php (http://www.simplemachines.org/community/index.php?topic=140741.0) with the .sql file attached in this topic.
Title: Re: [SMF Converter] XMB - 1.9.6
Post by: weec on January 08, 2007, 02:39:48 PM
yes, standart converter have this trouble "255 characters"
i am trying new converter

QuoteConverting...
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... 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.
Now that everything is converted over, your SMF installation should have all the posts, boards, and members from the XMB 1.9 Nexus installation.

We hope you had a smooth transition!
test passed !!!

'Converting posts... Successful' is lost in converter`s message ????

used XMB Nexus 1.9.6 RC2
Title: Re: [SMF Converter] XMB - 1.9.6
Post by: JayBachatero on January 08, 2007, 03:17:01 PM
The reason for "Converting posts... Successful" not being there is because it's gone on the page reload.  Did everything convert correctly though?
Title: Re: [SMF Converter] XMB - 1.9.6
Post by: weec on January 08, 2007, 03:36:28 PM
yes, now the posts full(comleted)

[bug]double personal messages
QuoteПрочитать     Октября 22, 2006, 03:12:39 pm     получение статуса admin     iPod     
Прочитать    Октября 23, 2006, 09:39:32 pm    хо4у ADMINKy    lmz.hunter    
Прочитать    Октября 23, 2006, 09:39:32 pm    хо4у ADMINKy    lmz.hunter    
Прочитать    Октября 25, 2006, 01:33:32 pm    плиз хелп    Sm0ke    
Прочитать    Октября 25, 2006, 01:33:32 pm    плиз хелп    Sm0ke    
Прочитать    Октября 27, 2006, 03:12:16 am    ADMIN    lmz.hunter    
Прочитать    Октября 27, 2006, 03:12:16 am    ADMIN    lmz.hunter    
Прочитать    Октября 28, 2006, 06:36:25 am    Объявление! Набор администраторов серверов    DDP    
Прочитать    Октября 28, 2006, 06:36:25 am    Объявление! Набор администраторов серверов    DDP    
Прочитать    Октября 29, 2006, 03:34:55 pm    Уточнение    iPod    
Прочитать    Октября 29, 2006, 03:34:55 pm    Уточнение    iPod    
Прочитать    Октября 29, 2006, 03:48:32 pm    Хачу стать админом    ardr!ck    
Прочитать    Октября 29, 2006, 03:48:32 pm    Хачу стать админом    ardr!ck    
Прочитать    Октября 29, 2006, 07:10:38 pm    сделай меня одмином pliss!!!    InkvezItor    
Прочитать    Октября 29, 2006, 07:10:38 pm    сделай меня одмином pliss!!!    InkvezItor    
Прочитать    Октября 30, 2006, 11:23:36 am    CS    zayka    
Прочитать    Октября 30, 2006, 11:23:36 am    CS    zayka    
Прочитать    Октября 30, 2006, 11:36:18 pm    заявка    InkvezItor    
Прочитать    Октября 30, 2006, 11:36:18 pm    заявка    InkvezItor    
Прочитать    Октября 31, 2006, 12:26:07 am    набор администраторов    mrFREEZE    
Прочитать    Октября 31, 2006, 12:26:07 am    набор администраторов    mrFREEZE    
Прочитать    Ноября 01, 2006, 10:11:26 pm    заявки    InkvezItor    
Прочитать    Ноября 01, 2006, 10:11:26 pm    заявки    InkvezItor    
Прочитать    Ноября 04, 2006, 05:15:51 pm    ADMINKA    best    
Прочитать    Ноября 04, 2006, 05:15:51 pm    ADMINKA    best

please fix this bug
Title: Re: [SMF Converter] XMB - 1.9.6
Post by: JayBachatero on January 08, 2007, 03:46:55 PM
Can you PM me access to phpMyAdmin and an admin account for the forum?
Title: Re: [SMF Converter] XMB - 1.9.6
Post by: weec on January 08, 2007, 11:56:26 PM
I can send mysqldump of forum`s databases xmb & smf
to your E-mail

OK?
Title: Re: [SMF Converter] XMB - 1.9.6
Post by: JayBachatero on January 09, 2007, 12:15:02 AM
Alright.  I'll look at it tom and see what's wrong.
Title: Re: [SMF Converter] XMB - 1.9.6
Post by: weec on January 09, 2007, 01:15:37 AM
finded bugs
- converted only one moderator (not all moderators) of one forum
- cracked structure of forums and categories (all forums moved to General Category)

mysqldumps is sended on your e-mail (used mysql 3.23 & CP1251)
Title: Re: [SMF Converter] XMB - 1.9.6
Post by: JayBachatero on January 09, 2007, 08:39:54 AM
Replied to the email.
Title: Re: [SMF Converter] XMB - 1.9.6
Post by: babyjuker on January 11, 2007, 11:33:32 AM
i keep getting this error when converting

Converting topics... Unsuccessful!
This query:

INSERT INTO `iceyboar_dummy`.smf_topics
(ID_TOPIC, isSticky, ID_BOARD, ID_MEMBER_STARTED, numReplies, numViews, locked, ID_FIRST_MSG, ID_LAST_MSG, ID_POLL)
VALUES ('1620', '0', '103', '37', '12', '79', '0', '17457', '19561', '0'),
('1621', '0', '29', '32', '5', '49', '0', '17464', '24222', '0'),
('1622', '0', '29', '1', '16', '72', '0', '17480', '17773', '0'),
('1623', '0', '29', '32', '7', '31', '0', '17509', '20317', '0'),
('1624', '0', '20', '1', '19', '94', '0', '17517', '18168', '0'),
('1625', '0', '29', '6', '8', '37', '0', '17526', '17619', '0'),
('1626', '0', '96', '3', '5', '52', '0', '17531', '17633', '0'),
('1628', '0', '29', '12', '16', '90', '0', '17539', '23060', '0'),
('1629', '0', '96', '3', '8', '134', '0', '17545', '17628', '1629'),
('1631', '0', '29', '19', '10', '57', '0', '17562', '18027', '0'),
('1632', '0', '29', '45', '5', '37', '0', '17564', '18250', '0'),
('1633', '0', '29', '17', '4', '28', '0', '17578', '17873', '0'),
('1634', '0', '29', '13', '7', '22', '0', '17607', '18144', '0'),
('1635', '0', '96', '13', '11', '54', '0', '17609', '17934', '0'),
('1637', '0', '29', '6', '20', '95', '1', '17626', '19477', '0'),
('1638', '0', '29', '1', '0', '6', '0', '17652', '17652', '0'),
('1639', '0', '29', '1', '9', '58', '0', '17661', '18781', '0'),
('1640', '0', '29', '19', '2', '16', '0', '17663', '17674', '0'),
('1641', '0', '96', '1', '8', '72', '0', '17664', '32305', '0'),
('1642', '0', '29', '11', '7', '36', '1', '17665', '35132', '0'),
('1643', '0', '29', '11', '8', '36', '0', '17671', '17832', '0'),
('1644', '0', '29', '1', '14', '89', '0', '17678', '18018', '0'),
('1645', '0', '29', '1', '2', '44', '0', '17681', '18575', '0'),
('1646', '0', '29', '1', '1', '45', '0', '17683', '20107', '0'),
('1647', '0', '29', '1', '6', '26', '0', '17685', '18008', '0'),
('1649', '0', '29', '11', '7', '31', '0', '17697', '17742', '0'),
('1650', '0', '29', '22', '9', '85', '0', '17701', '19584', '0'),
('1651', '0', '94', '11', '4', '43', '1', '17704', '17718', '0'),
('1655', '0', '29', '1', '4', '20', '0', '17726', '18037', '0'),
('1656', '0', '29', '0', '29', '179', '0', '17744', '18510', '0'),
('1657', '0', '29', '9', '10', '61', '0', '17783', '29130', '0'),
('1658', '0', '29', '19', '3', '29', '0', '17811', '17835', '0'),
('1659', '0', '96', '19', '11', '86', '0', '17825', '17882', '0'),
('1660', '0', '92', '1', '4', '73', '0', '17839', '17848', '0'),
('1661', '0', '29', '1', '17', '65', '0', '17845', '18402', '0'),
('1662', '0', '116', '1', '4', '56', '0', '17878', '18611', '0'),
('1663', '0', '29', '20', '6', '41', '0', '17896', '18107', '0'),
('1664', '0', '29', '38', '3', '31', '1', '17945', '20620', '0'),
('1665', '0', '29', '38', '10', '39', '0', '17950', '18139', '0'),
('1667', '0', '29', '38', '8', '37', '0', '17969', '18387', '0'),
('1668', '0', '103', '9', '3', '41', '0', '17975', '18181', '0'),
('1669', '0', '108', '18', '12', '79', '0', '17980', '18720', '0'),
('1670', '0', '29', '13', '4', '33', '0', '17985', '18634', '0'),
('1671', '0', '93', '0', '16', '81', '0', '17993', '19664', '0'),
('1672', '0', '29', '0', '2', '62', '0', '18020', '18094', '0'),
('1673', '0', '29', '0', '5', '36', '1', '18021', '18072', '0'),
('1674', '0', '29', '32', '9', '52', '0', '18041', '18257', '0'),
('1675', '0', '15', '32', '9', '41', '0', '18043', '18778', '0'),
('1676', '0', '29', '24', '4', '17', '0', '18044', '18085', '0'),
('1678', '0', '29', '0', '16', '74', '1', '18066', '18258', '0'),
('1680', '0', '29', '0', '24', '139', '0', '18078', '29245', '0'),
('1683', '0', '29', '12', '8', '37', '0', '18116', '18478', '0'),
('1684', '0', '116', '12', '6', '51', '0', '18117', '18184', '0'),
('1685', '0', '29', '12', '22', '94', '0', '18149', '18809', '0'),
('1686', '0', '29', '12', '14', '64', '0', '18178', '19863', '0'),
('1687', '0', '29', '12', '13', '68', '0', '18185', '33726', '0'),
('1688', '0', '29', '12', '6', '24', '0', '18186', '18229', '0'),
('1689', '0', '29', '12', '16', '79', '0', '18193', '32453', '1689'),
('1691', '0', '29', '12', '6', '33', '0', '18253', '18540', '0'),
('1692', '0', '93', '47', '16', '91', '1', '18268', '19639', '0'),
('1693', '0', '29', '0', '7', '50', '0', '18269', '22493', '0'),
('1694', '0', '29', '0', '15', '119', '0', '18298', '20941', '0'),
('1696', '0', '29', '0', '22', '108', '0', '18309', '20608', '0'),
('1697', '0', '29', '32', '10', '44', '0', '18346', '18541', '0'),
('1698', '0', '29', '0', '10', '47', '0', '18355', '18536', '0'),
('1699', '0', '29', '0', '34', '117', '0', '18357', '18514', '0'),
('1700', '0', '93', '11', '3', '44', '1', '18391', '18492', '0'),
('1702', '0', '29', '11', '11', '56', '0', '18399', '18530', '0'),
('1705', '0', '29', '29', '23', '162', '0', '18452', '19277', '0'),
('1706', '0', '29', '36', '11', '38', '1', '18453', '18518', '0'),
('1707', '0', '116', '19', '20', '110', '0', '18475', '18801', '0'),
('1708', '0', '29', '1', '16', '95', '0', '18500', '27086', '0'),
('1709', '0', '29', '0', '15', '73', '0', '18529', '25320', '0'),
('1710', '0', '29', '1', '24', '137', '0', '18532', '32632', '0'),
('1711', '0', '29', '45', '21', '148', '0', '18543', '18856', '0'),
('1712', '0', '116', '1', '3', '26', '0', '18547', '18692', '0'),
('1713', '0', '116', '1', '16', '70', '0', '18551', '18927', '0'),
('1714', '0', '29', '1', '12', '79', '0', '18556', '20385', '0'),
('1715', '0', '116', '1', '11', '66', '0', '18581', '18676', '0'),
('1716', '0', '29', '1', '5', '27', '0', '18584', '18903', '0'),
('1717', '0', '29', '1', '7', '56', '0', '18587', '18909', '0'),
('1718', '0', '29', '0', '7', '39', '0', '18588', '18719', '0'),
('1719', '0', '104', '1', '29', '434', '0', '18599', '67985', '0'),
('1720', '0', '29', '40', '4', '30', '0', '18600', '18643', '0'),
('1721', '0', '29', '1', '10', '51', '0', '18617', '19151', '0'),
('1722', '0', '29', '13', '21', '88', '0', '18622', '21820', '0'),
('1723', '0', '137', '1', '4', '21', '0', '18632', '18649', '0'),
('1724', '0', '29', '18', '13', '66', '0', '18658', '24522', '0'),
('1725', '0', '29', '37', '0', '7', '0', '18671', '18671', '0'),
('1726', '0', '131', '37', '0', '84', '0', '18672', '18672', '1726'),
('1727', '0', '137', '33', '11', '52', '0', '18689', '18852', '0'),
('1728', '0', '29', '13', '2', '18', '0', '18706', '19086', '0'),
('1730', '0', '29', '12', '15', '44', '0', '18728', '18888', '0'),
('1731', '0', '93', '3', '33', '243', '1', '18730', '28847', '0'),
('1732', '0', '29', '3', '1', '24', '0', '18733', '18743', '0'),
('1733', '0', '29', '12', '2', '17', '0', '18741', '18914', '0'),
('1735', '0', '15', '0', '8', '65', '0', '18773', '20290', '0'),
('1736', '0', '29', '32', '11', '42', '0', '18787', '18922', '0'),
('1737', '0', '29', '19', '0', '8', '0', '18798', '18798', '0'),
('1738', '0', '29', '38', '4', '30', '0', '18806', '21233', '0'),
('1739', '0', '29', '38', '16', '98', '0', '18812', '20110', '0'),
('1740', '0', '29', '0', '0', '8', '1', '18821', '18821', '0'),
('1741', '0', '29', '0', '0', '9', '1', '18822', '18822', '0'),
('1742', '0', '29', '0', '4', '29', '0', '18824', '18895', '0'),
('1743', '0', '29', '32', '17', '73', '0', '18825', '19412', '0'),
('1744', '0', '137', '32', '9', '55', '0', '18830', '18962', '0'),
('1745', '0', '29', '32', '4', '32', '0', '18842', '18855', '0'),
('1746', '0', '29', '6', '18', '73', '0', '18859', '19214', '0'),
('1747', '0', '29', '0', '6', '39', '1', '18880', '19373', '0'),
('1748', '0', '29', '0', '3', '26', '0', '18884', '19040', '0'),
('1749', '0', '29', '1', '1', '14', '0', '18893', '18894', '0'),
('1750', '0', '29', '1', '15', '85', '0', '18896', '19202', '0'),
('1751', '0', '15', '0', '16', '98', '0', '18917', '20634', '0'),
('1753', '0', '29', '5', '5', '20', '0', '18933', '19011', '0'),
('1754', '0', '29', '26', '4', '20', '0', '18936', '18972', '0'),
('1755', '0', '29', '5', '2', '11', '0', '18938', '18945', '0'),
('1756', '0', '29', '26', '13', '71', '0', '18947', '20596', '0'),
('1757', '0', '29', '32', '6', '31', '0', '18949', '19123', '0'),
('1760', '0', '29', '32', '11', '49', '0', '18957', '20723', '0'),
('1761', '0', '103', '47', '10', '85', '0', '18961', '19981', '0'),
('1762', '0', '29', '0', '28', '13', '0', '6915', '18966', '0'),
('1764', '0', '29', '5', '12', '89', '0', '18992', '30387', '0'),
('1765', '0', '29', '5', '8', '49', '0', '18994', '19208', '0'),
('1767', '0', '29', '26', '6', '38', '0', '19018', '24694', '0'),
('1769', '0', '103', '9', '7', '58', '0', '19027', '19271', '0'),
('1770', '0', '104', '4', '13', '233', '1', '19028', '33088', '0'),
('1771', '0', '29', '1', '7', '47', '0', '19045', '19181', '0'),
('1772', '0', '29', '1', '35', '266', '0', '19060', '63319', '0'),
('1775', '0', '108', '12', '8', '48', '0', '19115', '19203', '0'),
('1776', '0', '29', '24', '7', '47', '0', '19116', '19377', '0'),
('1777', '0', '29', '12', '8', '51', '0', '19118', '20464', '0'),
('1778', '0', '29', '24', '21', '96', '0', '19133', '25504', '0'),
('1779', '0', '92', '5', '4', '60', '0', '19157', '20521', '0'),
('1780', '0', '29', '19', '12', '108', '0', '19160', '19376', '0'),
('1782', '0', '29', '13', '1', '14', '0', '19207', '19213', '0'),
('1785', '0', '29', '19', '4', '25', '0', '19223', '19267', '0'),
('1786', '0', '29', '19', '9', '51', '0', '19228', '19827', '0'),
('1788', '0', '29', '41', '26', '173', '0', '19280', '20149', '0'),
('1789', '0', '29', '0', '11', '59', '0', '19290', '19413', '0'),
('1790', '0', '29', '22', '3', '51', '0', '19312', '19656', '0'),
('1791', '0', '29', '19', '1', '12', '0', '19316', '19336', '0'),
('1793', '0', '15', '0', '12', '56', '0', '19375', '20667', '0'),
('1795', '0', '29', '5', '4', '34', '0', '19383', '19468', '0'),
('1796', '0', '29', '5', '8', '25', '0', '19384', '19959', '0'),
('1797', '0', '29', '5', '15', '68', '0', '19385', '20668', '0'),
('1798', '0', '29', '5', '18', '95', '0', '19386', '20182', '0'),
('1799', '0', '29', '41', '3', '21', '0', '19391', '20159', '0'),
('1800', '0', '29', '0', '12', '98', '0', '19402', '19918', '0'),
('1801', '0', '93', '0', '18', '87', '0', '19403', '19637', '0'),
('1802', '0', '29', '34', '1', '9', '0', '19419', '19420', '0'),
('1803', '0', '29', '0', '4', '31', '1', '19424', '19458', '0'),
('1804', '0', '29', '32', '9', '69', '0', '19430', '20585', '0'),
('1805', '0', '29', '0', '14', '72', '0', '19431', '20215', '0'),
('1806', '0', '29', '32', '3', '29', '0', '19434', '21222', '0'),
('1807', '0', '29', '32', '3', '19', '0', '19435', '23939', '0'),
('1808', '0', '96', '13', '8', '34', '0', '19443', '19520', '0'),
('1809', '0', '103', '28', '7', '67', '0', '19449', '20564', '0'),
('1810', '1', '24', '0', '0', '80', '0', '19471', '19471', '0'),
('1811', '0', '29', '5', '14', '47', '0', '19475', '22335', '0'),
('1812', '0', '29', '0', '44', '325', '0', '19476', '36996', '0'),
('1813', '0', '29', '32', '2', '15', '1', '19478', '19496', '0'),
('1814', '0', '29', '5', '18', '94', '0', '19481', '22204', '1814'),
('1815', '0', '29', '41', '10', '69', '1', '19486', '20619', '0'),
('1816', '0', '29', '13', '14', '93', '0', '19489', '29419', '0'),
('1817', '0', '103', '0', '13', '76', '0', '19529', '20458', '0'),
('1818', '0', '29', '32', '22', '145', '0', '19532', '27176', '0'),
('1819', '0', '29', '32', '9', '51', '1', '19534', '20566', '0'),
('1820', '0', '29', '32', '8', '43', '0', '19537', '20124', '0'),
('1821', '0', '116', '19', '10', '48', '0', '19550', '19627', '0'),
('1823', '0', '131', '32', '0', '99', '0', '19554', '19554', '1823'),
('1824', '0', '108', '39', '2', '27', '0', '19565', '19571', '0'),
('1825', '0', '29', '1', '16', '83', '0', '19578', '21305', '0'),
('1826', '0', '29', '27', '3', '16', '0', '19589', '20055', '0'),
('1827', '0', '29', '35', '20', '100', '0', '19604', '20939', '0'),
('1828', '0', '29', '19', '0', '6', '0', '19605', '19605', '0'),
('1829', '0', '103', '45', '18', '127', '0', '19616', '23540', '0'),
('1830', '0', '29', '19', '8', '48', '0', '19618', '20603', '0'),
('1831', '0', '93', '51', '17', '104', '0', '19638', '26167', '0'),
('1832', '0', '29', '20', '4', '24', '0', '19647', '24413', '0'),
('1833', '0', '92', '5', '19', '133', '0', '19651', '20892', '0'),
('1834', '0', '116', '19', '5', '43', '0', '19655', '24477', '0'),
('1835', '0', '29', '5', '5', '19', '0', '19678', '19729', '0'),
('1837', '0', '108', '44', '7', '69', '0', '19681', '21651', '0'),
('1838', '0', '29', '5', '20', '157', '0', '19693', '22852', '0'),
('1839', '0', '29', '5', '28', '118', '0', '19697', '32431', '0'),
('1840', '0', '29', '5', '12', '47', '0', '19705', '20145', '0'),
('1841', '0', '29', '5', '5', '37', '0', '19708', '19736', '0'),
('1842', '0', '29', '5', '12', '57', '0', '19709', '20726', '0'),
('1844', '0', '116', '5', '9', '52', '0', '19714', '21293', '0'),
('1845', '0', '29', '45', '18', '77', '0', '19747', '19961', '0'),
('1846', '0', '29', '19', '10', '64', '0', '19775', '19947', '0'),
('1848', '0', '29', '13', '2', '25', '0', '19785', '20485', '0'),
('1849', '0', '29', '12', '9', '52', '0', '19868', '20025', '0'),
('1850', '0', '29', '32', '7', '48', '1', '19883', '19934', '0'),
('1851', '0', '29', '29', '10', '56', '0', '19896', '20170', '0'),
('1852', '0', '29', '32', '2', '22', '0', '19943', '19945', '0'),
('1853', '0', '29', '47', '18', '102', '0', '19974', '21465', '0'),
('1854', '0', '29', '47', '15', '105', '0', '19986', '20072', '0'),
('1855', '0', '116', '19', '22', '138', '0', '19997', '21310', '0'),
('1856', '0', '116', '19', '13', '89', '0', '19998', '25411', '0'),
('1857', '0', '29', '32', '6', '51', '0', '20044', '20248', '0'),
('1858', '0', '29', '33', '13', '85', '0', '20066', '21587', '0'),
('1859', '0', '29', '1', '31', '193', '0', '20080', '21320', '0'),
('1860', '0', '29', '1', '2', '18', '0', '20082', '20089', '0'),
('1861', '0', '29', '32', '3', '25', '0', '20104', '20514', '0'),
('1862', '0', '29', '1', '8', '38', '0', '20109', '21125', '0'),
('1863', '0', '93', '41', '19', '148', '0', '20121', '21681', '0'),
('1864', '0', '29', '38', '9', '31', '0', '20130', '20467', '0'),
('1866', '0', '29', '1', '17', '74', '0', '20185', '22474', '0'),
('1867', '0', '131', '33', '0', '119', '0', '20187', '20187', '1867'),
('1868', '1', '57', '1', '33', '228', '0', '20191', '136171', '0'),
('1869', '0', '15', '45', '10', '48', '0', '20199', '21705', '0'),
('1870', '0', '29', '0', '30', '135', '0', '20219', '20567', '0'),
('1871', '0', '29', '0', '15', '89', '0', '20222', '20806', '0'),
('1872', '0', '29', '0', '15', '45', '0', '20223', '21415', '0'),
('1875', '0', '29', '0', '10', '43', '0', '20239', '20515', '1875'),
('1876', '0', '96', '3', '11', '94', '0', '20254', '20946', '1876'),
('1877', '0', '29', '0', '19', '90', '0', '20263', '26538', '0'),
('1878', '0', '15', '11', '16', '74', '0', '20292', '21352', '0'),
('1879', '0', '29', '0', '12', '55', '0', '20296', '21576', '0'),
('1883', '0', '29', '11', '12', '37', '0', '20360', '20453', '0'),
('1884', '0', '29', '0', '19', '100', '0', '20364', '20984', '1884'),
('1885', '0', '29', '11', '11', '68', '0', '20373', '20734', '0'),
('1886', '0', '93', '48', '11', '56', '0', '20386', '21470', '0'),
('1887', '0', '29', '11', '7', '38', '0', '20393', '27014', '0'),
('1888', '0', '29', '29', '10', '54', '0', '20399', '20601', '0'),
('1889', '0', '29', '33', '18', '100', '0', '20436', '28470', '0'),
('1890', '0', '29', '12', '3', '19', '0', '20469', '20525', '0'),
('1891', '0', '29', '45', '8', '44', '0', '20476', '20743', '0'),
('1892', '0', '29', '1', '9', '48', '0', '20481', '21279', '0'),
('1893', '0', '29', '32', '3', '23', '0', '20528', '20580', '0'),
('1894', '0', '29', '36', '7', '43', '1', '20530', '20704', '0'),
('1895', '0', '29', '0', '23', '169', '0', '20569', '20910', '0'),
('1896', '0', '29', '32', '8', '66', '0', '20572', '26075', '0'),
('1897', '0', '15', '41', '23', '154', '0', '20592', '20897', '0'),
('1898', '0', '29', '4', '7', '52', '1', '20642', '20731', '0'),
('1899', '0', '103', '20', '7', '60', '0', '20647', '21386', '0'),
('1901', '0', '29', '13', '3', '21', '0', '20671', '20842', '0'),
('1902', '0', '29', '33', '12', '71', '0', '20677', '26650', '0'),
('1903', '0', '96', '33', '10', '67', '0', '20679', '20953', '0'),
('1906', '0', '29', '0', '10', '53', '0', '20720', '20824', '0'),
('1907', '0', '29', '42', '3', '41', '0', '20728', '21476', '0'),
('1908', '0', '29', '12', '6', '35', '0', '20747', '20828', '0'),
('1909', '0', '15', '12', '12', '66', '0', '20748', '21707', '0'),
('1910', '0', '29', '12', '12', '59', '0', '20753', '24145', '0'),
('1912', '0', '29', '12', '8', '63', '0', '20755', '21553', '0'),
('1914', '0', '116', '12', '5', '51', '0', '20760', '21250', '0'),
('1915', '0', '29', '29', '4', '31', '0', '20761', '20778', '0'),
('1916', '0', '29', '32', '14', '87', '0', '20783', '24476', '1916'),
('1918', '0', '29', '1', '25', '151', '0', '20793', '22617', '0'),
('1919', '0', '15', '32', '8', '41', '0', '20812', '21774', '0'),
('1921', '0', '29', '19', '2', '17', '0', '20830', '20838', '0'),
('1922', '0', '29', '19', '7', '28', '0', '20832', '21805', '0'),
('1923', '0', '29', '13', '16', '116', '0', '20843', '24171', '0'),
('1925', '0', '29', '19', '17', '102', '0', '20848', '21304', '0'),
('1926', '0', '131', '33', '0', '100', '0', '20849', '20849', '1926'),
('1929', '0', '96', '19', '11', '73', '0', '20880', '22123', '0'),
('1930', '0', '29', '28', '12', '89', '0', '20906', '21384', '0'),
('1932', '0', '29', '42', '10', '52', '1', '20949', '32884', '0'),
('1933', '0', '29', '45', '11', '37', '0', '20950', '21199', '0'),
('1934', '0', '20', '33', '48', '640', '1', '20951', '27567', '0'),
('1935', '0', '29', '0', '17', '57', '0', '20956', '25088', '0'),
('1936', '0', '96', '13', '5', '48', '0', '20957', '21154', '0'),
('1937', '0', '29', '13', '2', '9', '0', '20958', '21224', '0'),
('1938', '0', '29', '0', '12', '50', '0', '20960', '21068', '0'),
('1939', '0', '15', '12', '20', '83', '0', '21018', '21166', '0'),
('1940', '0', '15', '11', '14', '55', '0', '21021', '21708', '0'),
('1941', '0', '116', '11', '10', '57', '0', '21032', '21299', '0'),
('1944', '0', '29', '5', '12', '74', '0', '21135', '33934', '1944'),
('1945', '0', '29', '32', '15', '73', '0', '21148', '21291', '0'),
('1946', '0', '29', '5', '15', '69', '0', '21171', '21373', '0'),
('1947', '0', '29', '0', '6', '25', '1', '21203', '21364', '0'),
('1948', '0', '116', '19', '1', '20', '0', '21223', '21252', '0'),
('1949', '0', '29', '0', '15', '63', '0', '21236', '21321', '0'),
('1950', '0', '116', '19', '1', '18', '0', '21307', '21541', '0'),
('1951', '0', '96', '11', '6', '48', '0', '21314', '21329', '0'),
('1952', '0', '103', '0', '6', '67', '0', '21324', '21366', '0'),
('1954', '0', '29', '45', '7', '37', '0', '21356', '23808', '0'),
('1955', '0', '29', '32', '9', '56', '0', '21359', '21451', '0'),
('1956', '0', '104', '32', '3', '75', '1', '21370', '21777', '0'),
('1957', '0', '108', '1', '6', '35', '0', '21372', '21392', '0'),
('1958', '0', '29', '0', '9', '52', '0', '21375', '24559', '0'),
('1959', '0', '29', '0', '8', '74', '0', '21387', '21603', '0'),
('1960', '0', '29', '32', '4', '35', '0', '21395', '21540', '0'),
('1961', '0', '29', '32', '7', '26', '0', '21396', '32319', '0'),
('1962', '0', '29', '32', '8', '34', '1', '21397', '21463', '0'),
('1963', '0', '29', '32', '7', '50', '0', '21398', '26077', '0'),
('1964', '0', '29', '32', '4', '28', '0', '21400', '24176', '0'),
('1965', '0', '108', '45', '5', '30', '0', '21409', '24664', '0'),
('1966', '0', '93', '49', '25', '129', '0', '21417', '23869', '0'),
('1967', '0', '15', '0', '13', '70', '0', '21426', '24066', '0'),
('1968', '0', '112', '5', '7', '53', '0', '21429', '26523', '0'),
('1969', '0', '29', '13', '1', '8', '0', '21431', '21733', '0'),
('1970', '0', '29', '0', '3', '19', '0', '21452', '21457', '0'),
('1971', '0', '29', '12', '2', '12', '0', '21464', '21549', '0'),
('1972', '0', '103', '22', '4', '40', '0', '21467', '21674', '0'),
('1973', '0', '29', '0', '5', '58', '0', '21472', '22251', '0'),
('1974', '0', '29', '12', '11', '74', '0', '21480', '21712', '0'),
('1975', '0', '108', '0', '7', '30', '0', '21482', '21534', '0'),
('1976', '0', '29', '12', '1', '8', '0', '21483', '21484', '0'),
('1978', '0', '29', '0', '15', '82', '0', '21496', '21725', '0'),
('1980', '0', '15', '6', '15', '70', '0', '21523', '22413', '0'),
('1981', '0', '29', '33', '14', '72', '0', '21527', '24807', '0'),
('1982', '0', '29', '17', '4', '30', '0', '21531', '21544', '0'),
('1983', '0', '29', '1', '6', '47', '0', '21542', '21562', '0'),
('1984', '0', '29', '0', '7', '72', '0', '21545', '21682', '0'),
('1985', '0', '29', '1', '8', '29', '0', '21559', '22411', '0'),
('1986', '0', '29', '0', '15', '116', '0', '21568', '27223', '0'),
('1987', '0', '93', '0', '23', '116', '0', '21580', '22087', '0'),
('1988', '0', '29', '0', '15', '129', '0', '21604', '29016', '0'),
('1989', '0', '29', '22', '19', '150', '0', '21610', '26250', '0'),
('1990', '0', '93', '3', '24', '170', '1', '21611', '27778', '0'),
('1991', '0', '29', '22', '3', '30', '0', '21615', '21662', '0'),
('1992', '0', '29', '0', '7', '41', '1', '21619', '23537', '0'),
('1993', '0', '29', '13', '13', '57', '0', '21624', '27521', '0'),
('1994', '0', '29', '1', '2', '26', '0', '21634', '21701', '0'),
('1996', '0', '29', '32', '7', '35', '0', '21669', '21862', '0'),
('1997', '0', '29', '32', '4', '20', '1', '21676', '22124', '0'),
('1998', '0', '29', '19', '6', '41', '0', '21691', '22243', '0'),
('1999', '0', '29', '32', '5', '26', '0', '21693', '22138', '0'),
('2000', '0', '29', '19', '6', '23', '0', '21698', '21931', '0'),
('2001', '0', '103', '37', '12', '84', '0', '21716', '38110', '0'),
('2002', '0', '29', '22', '5', '39', '1', '21721', '22089', '0'),
('2003', '0', '29', '0', '12', '48', '0', '21728', '24153', '0'),
('2004', '0', '103', '14', '16', '108', '0', '21739', '21983', '0'),
('2005', '0', '29', '0', '8', '57', '0', '21749', '22267', '0'),
('2006', '0', '15', '34', '11', '59', '0', '21754', '22483', '0'),
('2007', '0', '29', '13', '4', '19', '0', '21778', '22157', '0'),
('2008', '0', '29', '33', '9', '43', '0', '21787', '22780', '0'),
('2009', '0', '29', '45', '14', '68', '0', '21803', '26954', '0'),
('2011', '0', '29', '0', '9', '29', '0', '21843', '23550', '0'),
('2015', '0', '29', '5', '17', '69', '0', '21878', '22876', '0'),
('2016', '0', '15', '19', '8', '55', '0', '21879', '24232', '0'),
('2017', '0', '29', '5', '3', '22', '0', '21881', '30236', '0'),
('2018', '0', '29', '5', '4', '19', '0', '21885', '21904', '0'),
('2019', '0', '29', '5', '14', '77', '0', '21891', '26568', '0'),
('2020', '0', '29', '5', '13', '81', '0', '21900', '22387', '0'),
('2021', '0', '29', '5', '3', '21', '0', '21907', '21945', '0'),
('2022', '0', '29', '5', '7', '35', '0', '21911', '22316', '0'),
('2023', '0', '29', '5', '3', '15', '0', '21913', '22084', '0'),
('2024', '0', '29', '36', '8', '62', '0', '21914', '23683', '0'),
('2025', '0', '29', '19', '14', '72', '0', '21916', '22818', '0'),
('2026', '0', '29', '0', '45', '291', '1', '21918', '22899', '0'),
('2027', '0', '29', '17', '12', '69', '0', '21922', '22840', '0'),
('2028', '0', '29', '32', '18', '66', '0', '21935', '23081', '0'),
('2029', '0', '29', '0', '19', '118', '0', '21944', '29004', '0'),
('2030', '0', '29', '19', '14', '91', '0', '21950', '22384', '0'),
('2032', '0', '103', '47', '6', '48', '0', '21960', '22391', '0'),
('2033', '0', '103', '47', '7', '51', '0', '21968', '22715', '0'),
('2035', '0', '29', '47', '10', '50', '0', '21974', '22553', '0'),
('2036', '0', '103', '47', '4', '41', '0', '21978', '21998', '0'),
('2037', '0', '103', '47', '4', '46', '0', '21984', '22015', '0'),
('2038', '0', '103', '36', '5', '68', '0', '21985', '34439', '0'),
('2039', '0', '29', '47', '8', '73', '0', '21994', '24200', '0'),
('2040', '0', '29', '0', '24', '189', '0', '22002', '23025', '0'),
('2041', '0', '29', '0', '15', '50', '0', '22030', '23940', '0'),
('2042', '0', '29', '0', '21', '95', '0', '22032', '29682', '0'),
('2044', '0', '29', '47', '19', '96', '0', '22054', '22891', '2044'),
('2045', '0', '29', '0', '10', '59', '0', '22091', '24703', '0'),
('2046', '0', '29', '19', '23', '143', '0', '22097', '26585', '0'),
('2047', '0', '29', '0', '10', '49', '0', '22099', '22495', '0'),
('2048', '0', '93', '50', '21', '111', '0', '22100', '27587', '0'),
('2049', '0', '29', '0', '12', '45', '0', '22110', '23670', '0'),
('2050', '0', '29', '0', '10', '55', '0', '22130', '22681', '0'),
('2051', '0', '29', '1', '8', '59', '0', '22137', '22678', '0'),
('2052', '0', '29', '31', '29', '156', '0', '22161', '24167', '0'),
('2053', '0', '116', '9', '21', '120', '0', '22177', '24617', '0'),
('2054', '0', '29', '9', '10', '54', '0', '22211', '22419', '0'),
('2055', '0', '29', '0', '3', '33', '0', '22272', '22297', '0'),
('2056', '0', '15', '9', '11', '37', '0', '22274', '22380', '0'),
('2057', '0', '29', '1', '11', '38', '0', '22287', '22606', '0'),
('2058', '0', '29', '3', '14', '73', '0', '22293', '22869', '0'),
('2060', '0', '29', '1', '10', '61', '0', '22298', '24900', '0'),
('2061', '0', '29', '1', '10', '55', '0', '22303', '23983', '0'),
('2062', '0', '96', '1', '9', '55', '0', '22310', '26768', '0'),
('2063', '0', '29', '31', '15', '70', '0', '22329', '25695', '0'),
('2064', '0', '29', '1', '19', '92', '0', '22332', '24148', '0'),
('2065', '0', '29', '32', '13', '64', '0', '22348', '22853', '0'),
('2066', '0', '29', '6', '18', '85', '0', '22361', '23556', '0'),
('2067', '0', '29', '0', '7', '29', '0', '22367', '22690', '0'),

EDIT - use code tag.
Title: Re: [SMF Converter] XMB - 1.9.6
Post by: JayBachatero on January 11, 2007, 01:39:45 PM
What is the error at the end of the page?  Duplicate key?
Title: Re: [SMF Converter] XMB - 1.9.6
Post by: weec on January 11, 2007, 11:58:28 PM
QuoteConverting personal messages (step 1)... Successful.
Converting personal messages (step 2)... Successful.

this steps is maked double personal messages
Title: Re: [SMF Converter] XMB - 1.9.6
Post by: JayBachatero on January 12, 2007, 12:00:11 AM
Quote from: weec on January 11, 2007, 11:58:28 PM
QuoteConverting personal messages (step 1)... Successful.
Converting personal messages (step 2)... Successful.
Quote

this steps is maked double personal messages
There are two steps in pm conversion.
Title: Re: [SMF Converter] XMB - 1.9.6
Post by: weec on January 12, 2007, 01:36:58 AM
ok, i am tryed new  convert.php January 10, 2007

Title: Re: [SMF Converter] XMB - 1.9.6
Post by: zamorc on January 13, 2007, 05:14:13 AM
How long should it take to convert xmb forum with about 80.000 posts, 500 members? My is working now more than 15 hours???
Title: Re: [SMF Converter] XMB - 1.9.6
Post by: weec on January 13, 2007, 09:50:53 AM
yes
80.000 - very big base
try convert your base on local mashine
Title: Re: [SMF Converter] XMB - 1.9.6
Post by: JayBachatero on January 13, 2007, 01:57:56 PM
It shouldn't take that long.  What step are you up to?
Title: Re: [SMF Converter] XMB - 1.9.6
Post by: zamorc on January 13, 2007, 04:15:46 PM
try convert your base on local mashine
It means I need to install mysql and php. I am not sure I am sure that I can do this.

What step are you up to?
I don't know what do you mean.

Title: Re: [SMF Converter] XMB - 1.9.6
Post by: themortalgod on January 13, 2007, 04:50:28 PM
I recently tried to convert from XMB to SMF, I run the converter and it loads for  about 10 min then i get a blank white page and the message "done" in the status bar, when i go to my installation of SMF it has succesfully copied over the usernames and passwords, created 1 of 8 boards, but not copied any of the posts over,  I have tried a couple times and everytime it seems to only copy the same amount of data

the board i am copying has about 150 000 posts and about 7000 users if that effects anything
Title: Re: [SMF Converter] XMB - 1.9.6
Post by: zamorc on January 13, 2007, 06:37:52 PM
I have just received a message: (is there anything I can do and before I click "try again")

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... Unsuccessful!
This query:

    INSERT INTO `zanimiv_smf`.zanimiv_log_notify
    (ID_MEMBER, ID_TOPIC)
    VALUES ('1', '30'),
    ('1', '34'),
    ('1', '38'),
    ('1', '57'),
    ('1', '74'),
    ('1', '86'),
    ('1', '105'),
    ('1', '108'),
    ('1', '109'),
    ('1', '110'),
    ('1', '130'),
    ('1', '142'),
    ('1', '160'),
    ('1', '162'),
    ('1', '166'),
    ('1', '182'),
    ('1', '193'),
    ('1', '196'),
    ('1', '204'),
    ('1', '206'),
    ('1', '227'),
    ('38', '12'),
    ('17', '7'),
    ('17', '1'),
    ('17', '1350'),
    ('376', '2878'),
    ('20', '94'),
    ('385', '1566'),
    ('47', '96'),
    ('47', '2046'),
    ('47', '71'),
    ('47', '4126'),
    ('47', '257'),
    ('47', '1269'),
    ('48', '560'),
    ('54', '120'),
    ('77', '2860'),
    ('77', '2705'),
    ('77', '2852'),
    ('77', '2569'),
    ('77', '2850'),
    ('90', '382'),
    ('90', '268'),
    ('91', '105'),
    ('91', '825'),
    ('94', '8'),
    ('277', '1049'),
    ('99', '2271'),
    ('99', '135'),
    ('99', '180'),
    ('100', '105'),
    ('116', '1170'),
    ('116', '1779'),
    ('116', '2868'),
    ('473', '1337'),
    ('122', '105'),
    ('131', '60'),
    ('131', '120'),
    ('135', '105'),
    ('158', '1666'),
    ('162', '71'),
    ('162', '643'),
    ('162', '71'),
    ('162', '307'),
    ('162', '71'),
    ('173', '3069'),
    ('206', '46'),
    ('210', '2096'),
    ('210', '1795'),
    ('210', '1921'),
    ('215', '1079'),
    ('215', '1759'),
    ('215', '1079'),
    ('219', '251'),
    ('229', '357'),
    ('229', '564'),
    ('229', '3479'),
    ('229', '933'),
    ('229', '1944'),
    ('229', '1421'),
    ('229', '1289'),
    ('229', '1458'),
    ('229', '1813'),
    ('229', '3097'),
    ('229', '2835'),
    ('229', '2877'),
    ('229', '1973'),
    ('229', '424'),
    ('229', '2204'),
    ('229', '3717'),
    ('229', '3612'),
    ('229', '3808'),
    ('229', '3819'),
    ('229', '3262'),
    ('264', '1973'),
    ('264', '306'),
    ('264', '2046'),
    ('264', '385'),
    ('264', '930'),
    ('264', '102'),
    ('264', '1011'),
    ('264', '50'),
    ('264', '794'),
    ('264', '927'),
    ('264', '1645'),
    ('263', '1774'),
    ('285', '766'),
    ('285', '71'),
    ('318', '685'),
    ('319', '3248'),
    ('415', '1017'),
    ('415', '43'),
    ('415', '2370'),
    ('415', '1041'),
    ('415', '1716'),
    ('342', '1676'),
    ('541', '1679'),
    ('394', '1326'),
    ('397', '1158'),
    ('397', '4209'),
    ('404', '2424'),
    ('404', '3262'),
    ('406', '71'),
    ('422', '2402'),
    ('422', '2195'),
    ('422', '424'),
    ('422', '424'),
    ('422', '2402'),
    ('422', '1892'),
    ('422', '1269'),
    ('422', '2419'),
    ('422', '448'),
    ('422', '2372'),
    ('422', '2456'),
    ('430', '448'),
    ('452', '1356'),
    ('466', '1277'),
    ('466', '1289'),
    ('466', '1361'),
    ('466', '1440'),
    ('466', '1449'),
    ('466', '1458'),
    ('466', '307'),
    ('464', '2550'),
    ('464', '2204'),
    ('464', '3262'),
    ('484', '1437'),
    ('484', '1373'),
    ('484', '1480'),
    ('670', '1637'),
    ('671', '2363'),
    ('866', '3692'),
    ('737', '3105'),
    ('499', '1931'),
    ('499', '1011'),
    ('499', '253'),
    ('499', '1011'),
    ('499', '1572'),
    ('499', '1225'),
    ('499', '1734'),
    ('499', '1716'),
    ('499', '1381'),
    ('499', '1378'),
    ('499', '1311'),
    ('499', '335'),
    ('499', '71'),
    ('499', '876'),
    ('499', '4172'),
    ('499', '844'),
    ('499', '1269'),
    ('499', '1379'),
    ('499', '1419'),
    ('499', '155'),
    ('499', '1779'),
    ('499', '307'),
    ('499', '1447'),
    ('499', '1430'),
    ('499', '2901'),
    ('499', '1779'),
    ('499', '2023'),
    ('499', '3262'),
    ('499', '1816'),
    ('499', '1817'),
    ('499', '1057'),
    ('499', '1241'),
    ('499', '1430'),
    ('499', '1181'),
    ('499', '910'),
    ('499', '71'),
    ('499', '1546'),
    ('499', '2702'),
    ('499', '1847'),
    ('499', '1848'),
    ('499', '1196'),
    ('499', '1610'),
    ('499', '2730'),
    ('499', '1136'),
    ('499', '2198'),
    ('499', '2826'),
    ('499', '4201'),
    ('499', '2971'),
    ('499', '1921'),
    ('499', '3096'),
    ('499', '3049'),
    ('499', '1637'),
    ('499', '3780'),
    ('499', '3036'),
    ('499', '3157'),
    ('499', '1041'),
    ('499', '3042'),
    ('499', '2736'),
    ('499', '3361'),
    ('499', '1954'),
    ('499', '1942'),
    ('499', '2046'),
    ('499', '2071'),
    ('499', '3222'),
    ('499', '3224'),
    ('499', '3199'),
    ('499', '1214'),
    ('499', '811'),
    ('499', '2932'),
    ('499', '593'),
    ('499', '2765'),
    ('499', '2482'),
    ('499', '1802'),
    ('499', '1843'),
    ('499', '3190'),
    ('499', '3130'),
    ('499', '3082'),
    ('499', '3092'),
    ('499', '50'),
    ('499', '280'),
    ('499', '1629'),
    ('499', '1970'),
    ('499', '2685'),
    ('499', '191'),
    ('499', '1921'),
    ('499', '3247'),
    ('499', '3420'),
    ('499', '2238'),
    ('499', '3253'),
    ('499', '1091'),
    ('499', '2780'),
    ('499', '1011'),
    ('499', '687'),
    ('499', '2768'),
    ('499', '3428'),
    ('499', '2677'),
    ('499', '3603'),
    ('499', '1892'),
    ('499', '353'),
    ('499', '3291'),
    ('499', '354'),
    ('499', '619'),
    ('499', '1897'),
    ('499', '3401'),
    ('499', '3336'),
    ('499', '3014'),
    ('499', '3416'),
    ('499', '43'),
    ('499', '3260'),
    ('499', '3350'),
    ('499', '3576'),
    ('499', '3553'),
    ('499', '3664'),
    ('499', '3653'),
    ('499', '2046'),
    ('499', '3654'),
    ('499', '3591'),
    ('499', '2204'),
    ('499', '3715'),
    ('499', '3721'),
    ('499', '1559'),
    ('499', '1624'),
    ('499', '1851'),
    ('499', '1413'),
    ('499', '3290'),
    ('499', '3656'),
    ('499', '3324'),
    ('499', '3723'),
    ('499', '3338'),
    ('499', '3736'),
    ('499', '3744'),
    ('499', '1248'),
    ('499', '1278'),
    ('499', '794'),
    ('499', '535'),
    ('499', '3743'),
    ('499', '2673'),
    ('499', '1985'),
    ('499', '3749'),
    ('499', '3506'),
    ('499', '2885'),
    ('499', '667'),
    ('499', '3669'),
    ('499', '3764'),
    ('499', '3760'),
    ('499', '1362'),
    ('499', '3683'),
    ('499', '1213'),
    ('499', '2802'),
    ('499', '3758'),
    ('499', '3655'),
    ('499', '231'),
    ('499', '347'),
    ('499', '361'),
    ('499', '3252'),
    ('499', '3612'),
    ('499', '3703'),
    ('499', '3259'),
    ('499', '3634'),
    ('499', '2030'),
    ('499', '35'),
    ('499', '2636'),
    ('499', '3304'),
    ('499', '3684'),
    ('499', '900'),
    ('499', '3289'),
    ('499', '261'),
    ('499', '3725'),
    ('499', '1549'),
    ('499', '424'),
    ('499', '615'),
    ('499', '2536'),
    ('499', '2082'),
    ('499', '3633'),
    ('499', '3320'),
    ('499', '3271'),
    ('499', '254'),
    ('499', '3108'),
    ('499', '1947'),
    ('499', '1902'),
    ('499', '1236'),
    ('499', '3484'),
    ('499', '3710'),
    ('499', '3197'),
    ('499', '3766'),
    ('499', '3502'),
    ('499', '3451'),
    ('499', '1956'),
    ('499', '2379'),
    ('499', '3145'),
    ('499', '3342'),
    ('499', '2956'),
    ('499', '3783'),
    ('499', '1742'),
    ('499', '3326'),
    ('499', '2622'),
    ('499', '4344'),
    ('499', '1015'),
    ('499', '2064'),
    ('499', '1713'),
    ('499', '3031'),
    ('499', '3552'),
    ('499', '1892'),
    ('499', '1973'),
    ('499', '146'),
    ('499', '3503'),
    ('499', '3495'),
    ('499', '3446'),
    ('499', '2034'),
    ('499', '3296'),
    ('499', '3699'),
    ('499', '2619'),
    ('499', '3496'),
    ('499', '1838'),
    ('499', '1555'),
    ('499', '1894'),
    ('499', '1004'),
    ('499', '3790'),
    ('499', '3226'),
    ('499', '3851'),
    ('499', '3732'),
    ('499', '3731'),
    ('499', '3302'),
    ('499', '3102'),
    ('499', '3023'),
    ('499', '2422'),
    ('499', '2247'),
    ('499', '1779'),
    ('499', '71'),
    ('499', '3557'),
    ('499', '3794'),
    ('499', '3793'),
    ('499', '3788'),
    ('499', '3801'),
    ('499', '3800'),
    ('499', '222'),
    ('499', '1113'),
    ('499', '3799'),
    ('499', '3795'),
    ('499', '1512'),
    ('499', '3775'),
    ('499', '805'),
    ('499', '1503'),
    ('499', '1233'),
    ('499', '3798'),
    ('499', '3806'),
    ('499', '3808'),
    ('499', '3809'),
    ('499', '3089'),
    ('499', '4190'),
    ('499', '4341'),
    ('499', '3813'),
    ('499', '1134'),
    ('499', '3820'),
    ('499', '3927'),
    ('499', '3882'),
    ('499', '3946'),
    ('499', '3283'),
    ('499', '3878'),
    ('499', '1689'),
    ('499', '3845'),
    ('499', '3894'),
    ('499', '1944'),
    ('499', '3084'),
    ('499', '3914'),
    ('499', '1839'),
    ('499', '961'),
    ('499', '448'),
    ('499', '3825'),
    ('499', '1259'),
    ('499', '2651'),
    ('499', '3839'),
    ('499', '3827'),
    ('499', '3868'),
    ('499', '3853'),
    ('499', '3840'),
    ('499', '3804'),
    ('499', '3915'),
    ('499', '3917'),
    ('499', '3925'),
    ('499', '3921'),
    ('499', '1757'),
    ('499', '3919'),
    ('499', '1188'),
    ('499', '584'),
    ('499', '3968'),
    ('499', '3963'),
    ('499', '3986'),
    ('499', '767'),
    ('499', '3874'),
    ('499', '3930'),
    ('499', '2004'),
    ('499', '3982'),
    ('499', '3985'),
    ('499', '2185'),
    ('499', '3987'),
    ('499', '1741'),
    ('499', '2118'),
    ('499', '2550'),
    ('499', '4000'),
    ('499', '543'),
    ('499', '4001'),
    ('499', '4005'),
    ('499', '3904'),
    ('499', '3937'),
    ('499', '3857'),
    ('499', '4007'),
    ('499', '3753'),
    ('499', '2698'),
    ('499', '3817'),
    ('499', '3828'),
    ('499', '1428'),
    ('499', '4025'),
    ('499', '3916'),
    ('499', '4018'),
    ('499', '4052'),
    ('499', '4053'),
    ('499', '4058'),
    ('499', '3984'),
    ('499', '3125'),
    ('499', '3711'),
    ('499', '3700'),
    ('499', '3122'),
    ('499', '2918'),
    ('499', '4055'),
    ('499', '3912'),
    ('499', '3967'),
    ('499', '4004'),
    ('499', '4047'),
    ('499', '3929'),
    ('499', '3945'),
    ('499', '4326'),
    ('499', '368'),
    ('499', '3842'),
    ('499', '3970'),
    ('499', '4099'),
    ('499', '3862'),
    ('499', '945'),
    ('499', '3737'),
    ('499', '4322'),
    ('499', '684'),
    ('499', '3936'),
    ('499', '3955'),
    ('499', '1041'),
    ('499', '4092'),
    ('499', '4105'),
    ('499', '1903');

Caused the error:

    Duplicate entry '162-71-0' for key 1


EDIT: Used code tag.
Title: Re: [SMF Converter] XMB - 1.9.6
Post by: JayBachatero on January 14, 2007, 12:10:23 AM
zamorc - he means to run the conversion locally.  Also what I mean about the step is that in the url what is the step there? Also use the file that I attached in the first post.

themortalgod - can you check the step that it got to in the url?

Title: Re: [SMF Converter] XMB - 1.9.6
Post by: weec on January 14, 2007, 08:36:36 AM
QuoteDuplicate entry '162-71-0' for key 1
zamorc, solution of this trouble - 'delete theme  ID 71(on xmb forum) & reupgrade your xmbforum to XMB Nexus 1.9.6 RC2, after try now conversion
Title: Re: [SMF Converter] XMB - 1.9.6
Post by: zamorc on January 14, 2007, 08:56:39 AM
Well why to reupgrade? If I leave just a few posts in xmb forum everything is OK. When I try to convert the whole forum than I get this error.

Also what I mean about the step is that in the url what is the step there? Also use the file that I attached in the first post.
Sorry but still don't know about which step you are talking.
In one folder I have xmb. In another I have fresh install of smf. I have taken the file from this topic and copied it into smf folder and convert.php from download section of this site. Than I have gone to: http://mysite/smf/convert.php and I have received this error.
Title: Re: [SMF Converter] XMB - 1.9.6
Post by: weec on January 14, 2007, 01:01:05 PM
ok ok

JayBachatero, i am downloaded(recomended) new files convert.php & xmb_to_smf.sql
and tryed again

see error in attached file
Title: Re: [SMF Converter] XMB - 1.9.6
Post by: babyjuker on January 14, 2007, 01:07:28 PM
Quote from: JayBachatero on January 11, 2007, 01:39:45 PM
What is the error at the end of the page?  Duplicate key?

Yes, now i re-converted with the upgraded file as well as the .sql file but i'm still having issues with it.  It'll convert the members but not the posts nor the topics.  I keep getting this error "Converting members... Successful.
Converting categories... Successful.
Converting boards... Successful.
Converting topics... Incomplete." then it'll refresh after i press the continue bar.  Then i will only get converting topics...incomplete, after refreshing for a good 7 times, nothing will happen. 
Title: Re: [SMF Converter] XMB - 1.9.6
Post by: JayBachatero on January 14, 2007, 01:32:54 PM
weec try the reuploaded file in the first post.

babyjuker does the substep change in the url?  How big is your board?
Title: Re: [SMF Converter] XMB - 1.9.6
Post by: themortalgod on January 14, 2007, 01:55:32 PM
it got to step 1
Title: Re: [SMF Converter] XMB - 1.9.6
Post by: weec on January 14, 2007, 02:00:18 PM
JayBachatero, all normal, this error in TXT file (error codepage)
i am setuping normal codepage, trying convert  - converting normal (without errors 'dublicate key')
but time of coversion process is UP (very long)
Title: Re: [SMF Converter] XMB - 1.9.6
Post by: JayBachatero on January 14, 2007, 02:24:38 PM
Converting posts can be a long process so just hang in there.
Title: Re: [SMF Converter] XMB - 1.9.6
Post by: babyjuker on January 14, 2007, 04:44:37 PM
Quote from: JayBachatero on January 14, 2007, 01:32:54 PM
weec try the reuploaded file in the first post.

babyjuker does the substep change in the url?  How big is your board?

not that i know of.  i have more posts and threads then members.  Im not sure of the exact size.
Title: Re: [SMF Converter] XMB - 1.9.6
Post by: JayBachatero on January 14, 2007, 05:18:26 PM
Look at the url and see if &substep=## increases.
Title: Re: [SMF Converter] XMB - 1.9.6
Post by: babyjuker on January 14, 2007, 05:37:24 PM
well i didn't see a start number but when it came to the page of letting me know that the converting of threads was incomplete it left off at substep=7&start=1000 the first time it was at 700
Title: Re: [SMF Converter] XMB - 1.9.6
Post by: babyjuker on January 14, 2007, 07:27:58 PM
i've finally gotten past the threads but now i get the error of converting posts

listed in the file attached
Title: Re: [SMF Converter] XMB - 1.9.6
Post by: JayBachatero on January 14, 2007, 07:37:32 PM
Do you have the latest convert.php.  It should do INSERT IGNORE INTO to prevent dup keys error.
Title: Re: [SMF Converter] XMB - 1.9.6
Post by: babyjuker on January 14, 2007, 07:40:21 PM
yes i do that is what i've been using, the one that is attached in this thread
Title: Re: [SMF Converter] XMB - 1.9.6
Post by: JayBachatero on January 14, 2007, 07:45:54 PM
Use the convert.php from here I mean.
http://www.simplemachines.org/community/index.php?topic=140741.0
Title: Re: [SMF Converter] XMB - 1.9.6
Post by: zamorc on January 15, 2007, 03:12:54 PM
I am really tired. I have used this converter but again the same mistake.

Converting personal messages (step 1)... Successful.
Converting personal messages (step 2)... Successful.
Converting topic notifications... Unsuccessful!
This query:

    INSERT INTO `zanimiv_smf`.zanimiv_log_notify
    (ID_MEMBER, ID_TOPIC)
    VALUES ('1', '30'),
    ('1', '34'),
    ('1', '38'),
    ('1', '57'),
    ('1', '74'),
    ('1', '86'),
    ('1', '105'),
    ('1', '108'),
    ('1', '109'),
    ('1', '110'),
    ('1', '130'),
    ('1', '142'),
    ('1', '160'),
    ('1', '162'),
    ('1', '166'),
    ('1', '182'),
    ('1', '193'),
    ('1', '196'),
    ('1', '204'),
    ('1', '206'),
    ('1', '227'),
    ('38', '12'),
    ('17', '7'),
    ('17', '1'),
    ('17', '1350'),
    ('376', '2878'),
    ('20', '94'),
    ('385', '1566'),
    ('47', '96'),
    ('47', '2046'),
    ('47', '71'),
    ('47', '4126'),
    ('47', '257'),
    ('47', '1269'),
    ('48', '560'),
    ('54', '120'),
    ('77', '2860'),
    ('77', '2705'),
    ('77', '2852'),
    ('77', '2569'),
    ('77', '2850'),
    ('90', '382'),
    ('90', '268'),
    ('91', '105'),
    ('91', '825'),
    ('94', '8'),
    ('277', '1049'),
    ('99', '2271'),
    ('99', '135'),
    ('99', '180'),
    ('100', '105'),
    ('116', '1170'),
    ('116', '1779'),
    ('116', '2868'),
    ('473', '1337'),
    ('122', '105'),
    ('131', '60'),
    ('131', '120'),
    ('135', '105'),
    ('135', '965'),
    ('158', '1666'),
    ('162', '71'),
    ('162', '643'),
    ('162', '71'),
    ('162', '307'),
    ('162', '71'),
    ('173', '3069'),
    ('206', '46'),
    ('210', '2096'),
    ('210', '1795'),
    ('210', '1921'),
    ('215', '1079'),
    ('215', '1759'),
    ('215', '1079'),
    ('219', '251'),
    ('229', '357'),
    ('229', '564'),
    ('229', '3479'),
    ('229', '933'),
    ('229', '1944'),
    ('229', '1421'),
    ('229', '1289'),
    ('229', '1458'),
    ('229', '1813'),
    ('229', '3097'),
    ('229', '2835'),
    ('229', '2877'),
    ('229', '1973'),
    ('229', '424'),
    ('229', '2204'),
    ('229', '3717'),
    ('229', '3612'),
    ('229', '3808'),
    ('229', '3819'),
    ('229', '3262'),
    ('264', '1973'),
    ('264', '306'),
    ('264', '2046'),
    ('264', '385'),
    ('264', '930'),
    ('264', '102'),
    ('264', '1011'),
    ('264', '50'),
    ('264', '794'),
    ('264', '927'),
    ('264', '1645'),
    ('263', '1774'),
    ('285', '766'),
    ('285', '71'),
    ('318', '685'),
    ('319', '3248'),
    ('415', '1017'),
    ('415', '43'),
    ('415', '2370'),
    ('415', '1041'),
    ('415', '2080'),
    ('415', '1716'),
    ('342', '1676'),
    ('541', '1679'),
    ('394', '1326'),
    ('397', '1158'),
    ('397', '4209'),
    ('404', '2424'),
    ('404', '3262'),
    ('406', '71'),
    ('422', '2402'),
    ('422', '2195'),
    ('422', '424'),
    ('422', '424'),
    ('422', '2402'),
    ('422', '1892'),
    ('422', '1269'),
    ('422', '2419'),
    ('422', '448'),
    ('422', '2372'),
    ('422', '2456'),
    ('430', '448'),
    ('452', '1356'),
    ('466', '1277'),
    ('466', '1289'),
    ('466', '1361'),
    ('466', '1440'),
    ('466', '1449'),
    ('466', '1458'),
    ('466', '307'),
    ('464', '2550'),
    ('464', '2204'),
    ('464', '3262'),
    ('484', '1437'),
    ('484', '1373'),
    ('484', '1480'),
    ('670', '1637'),
    ('671', '2363'),
    ('866', '3692'),
    ('737', '3105'),
    ('499', '1931'),
    ('499', '1011'),
    ('499', '253'),
    ('499', '1011'),
    ('499', '1572'),
    ('499', '1225'),
    ('499', '1734'),
    ('499', '1716'),
    ('499', '1381'),
    ('499', '1378'),
    ('499', '1311'),
    ('499', '335'),
    ('499', '71'),
    ('499', '876'),
    ('499', '4172'),
    ('499', '844'),
    ('499', '1269'),
    ('499', '1379'),
    ('499', '1419'),
    ('499', '155'),
    ('499', '1779'),
    ('499', '307'),
    ('499', '1447'),
    ('499', '1430'),
    ('499', '2901'),
    ('499', '1779'),
    ('499', '2023'),
    ('499', '3262'),
    ('499', '1816'),
    ('499', '1817'),
    ('499', '1057'),
    ('499', '1241'),
    ('499', '1430'),
    ('499', '1181'),
    ('499', '910'),
    ('499', '71'),
    ('499', '1546'),
    ('499', '2702'),
    ('499', '1847'),
    ('499', '1848'),
    ('499', '1196'),
    ('499', '1610'),
    ('499', '2730'),
    ('499', '1136'),
    ('499', '2198'),
    ('499', '2826'),
    ('499', '4201'),
    ('499', '2971'),
    ('499', '1921'),
    ('499', '3096'),
    ('499', '3049'),
    ('499', '1637'),
    ('499', '3780'),
    ('499', '3036'),
    ('499', '3157'),
    ('499', '1041'),
    ('499', '3042'),
    ('499', '2736'),
    ('499', '3361'),
    ('499', '1954'),
    ('499', '1942'),
    ('499', '2046'),
    ('499', '2071'),
    ('499', '3222'),
    ('499', '3224'),
    ('499', '3199'),
    ('499', '1214'),
    ('499', '811'),
    ('499', '2932'),
    ('499', '593'),
    ('499', '2765'),
    ('499', '2482'),
    ('499', '1802'),
    ('499', '1843'),
    ('499', '3190'),
    ('499', '3130'),
    ('499', '3082'),
    ('499', '3092'),
    ('499', '50'),
    ('499', '280'),
    ('499', '1629'),
    ('499', '1970'),
    ('499', '2685'),
    ('499', '191'),
    ('499', '1921'),
    ('499', '3247'),
    ('499', '3420'),
    ('499', '2238'),
    ('499', '3253'),
    ('499', '1091'),
    ('499', '2780'),
    ('499', '1011'),
    ('499', '687'),
    ('499', '2768'),
    ('499', '3428'),
    ('499', '2677'),
    ('499', '3603'),
    ('499', '1892'),
    ('499', '353'),
    ('499', '3291'),
    ('499', '354'),
    ('499', '619'),
    ('499', '1897'),
    ('499', '3401'),
    ('499', '3336'),
    ('499', '3014'),
    ('499', '3416'),
    ('499', '43'),
    ('499', '3260'),
    ('499', '3350'),
    ('499', '3576'),
    ('499', '3553'),
    ('499', '3664'),
    ('499', '3653'),
    ('499', '2046'),
    ('499', '3654'),
    ('499', '3591'),
    ('499', '2204'),
    ('499', '3715'),
    ('499', '3721'),
    ('499', '1559'),
    ('499', '1624'),
    ('499', '1851'),
    ('499', '1413'),
    ('499', '3290'),
    ('499', '3656'),
    ('499', '3324'),
    ('499', '3723'),
    ('499', '3338'),
    ('499', '3736'),
    ('499', '3744'),
    ('499', '1248'),
    ('499', '1278'),
    ('499', '794'),
    ('499', '535'),
    ('499', '3743'),
    ('499', '2673'),
    ('499', '1985'),
    ('499', '3749'),
    ('499', '3506'),
    ('499', '2885'),
    ('499', '667'),
    ('499', '3669'),
    ('499', '3764'),
    ('499', '3760'),
    ('499', '1362'),
    ('499', '3683'),
    ('499', '1213'),
    ('499', '2802'),
    ('499', '3758'),
    ('499', '3655'),
    ('499', '231'),
    ('499', '347'),
    ('499', '361'),
    ('499', '3252'),
    ('499', '3612'),
    ('499', '3703'),
    ('499', '3259'),
    ('499', '3634'),
    ('499', '2030'),
    ('499', '35'),
    ('499', '2636'),
    ('499', '3304'),
    ('499', '3684'),
    ('499', '900'),
    ('499', '3289'),
    ('499', '261'),
    ('499', '3725'),
    ('499', '1549'),
    ('499', '424'),
    ('499', '615'),
    ('499', '2536'),
    ('499', '2082'),
    ('499', '3633'),
    ('499', '3320'),
    ('499', '3271'),
    ('499', '254'),
    ('499', '3108'),
    ('499', '1947'),
    ('499', '1902'),
    ('499', '1236'),
    ('499', '3484'),
    ('499', '3710'),
    ('499', '3197'),
    ('499', '3766'),
    ('499', '3502'),
    ('499', '3451'),
    ('499', '1956'),
    ('499', '2379'),
    ('499', '3145'),
    ('499', '3342'),
    ('499', '2956'),
    ('499', '3783'),
    ('499', '1742'),
    ('499', '3326'),
    ('499', '2622'),
    ('499', '4344'),
    ('499', '1015'),
    ('499', '2064'),
    ('499', '1713'),
    ('499', '3031'),
    ('499', '3552'),
    ('499', '1892'),
    ('499', '1973'),
    ('499', '146'),
    ('499', '3503'),
    ('499', '3495'),
    ('499', '3446'),
    ('499', '2034'),
    ('499', '3296'),
    ('499', '3699'),
    ('499', '2619'),
    ('499', '3496'),
    ('499', '1838'),
    ('499', '1555'),
    ('499', '1894'),
    ('499', '1004'),
    ('499', '3790'),
    ('499', '3226'),
    ('499', '3851'),
    ('499', '3732'),
    ('499', '3731'),
    ('499', '3302'),
    ('499', '3102'),
    ('499', '3023'),
    ('499', '2422'),
    ('499', '2247'),
    ('499', '1779'),
    ('499', '71'),
    ('499', '3557'),
    ('499', '3794'),
    ('499', '3793'),
    ('499', '3788'),
    ('499', '3801'),
    ('499', '3800'),
    ('499', '222'),
    ('499', '1113'),
    ('499', '3799'),
    ('499', '3795'),
    ('499', '1512'),
    ('499', '3775'),
    ('499', '805'),
    ('499', '1503'),
    ('499', '1233'),
    ('499', '3798'),
    ('499', '3806'),
    ('499', '3808'),
    ('499', '3809'),
    ('499', '3089'),
    ('499', '4190'),
    ('499', '4341'),
    ('499', '3813'),
    ('499', '1134'),
    ('499', '3820'),
    ('499', '3927'),
    ('499', '3882'),
    ('499', '3946'),
    ('499', '3283'),
    ('499', '3878'),
    ('499', '3796'),
    ('499', '1689'),
    ('499', '3845'),
    ('499', '3894'),
    ('499', '1944'),
    ('499', '3084'),
    ('499', '3914'),
    ('499', '1839'),
    ('499', '961'),
    ('499', '448'),
    ('499', '3825'),
    ('499', '1259'),
    ('499', '2651'),
    ('499', '3839'),
    ('499', '3827'),
    ('499', '3868'),
    ('499', '3853'),
    ('499', '3840'),
    ('499', '3804'),
    ('499', '3915'),
    ('499', '3917'),
    ('499', '3925'),
    ('499', '3921'),
    ('499', '1757'),
    ('499', '3919'),
    ('499', '1188'),
    ('499', '584'),
    ('499', '3968'),
    ('499', '3963'),
    ('499', '3986'),
    ('499', '767'),
    ('499', '3874'),
    ('499', '3930'),
    ('499', '2004'),
    ('499', '3982'),
    ('499', '3985'),
    ('499', '2185'),
    ('499', '3987'),
    ('499', '1741'),
    ('499', '2118'),
    ('499', '2550'),
    ('499', '4000'),
    ('499', '543'),
    ('499', '4001'),
    ('499', '4005'),
    ('499', '3904'),
    ('499', '3937'),
    ('499', '3857'),
    ('499', '4007'),
    ('499', '3753'),
    ('499', '2698'),
    ('499', '3817'),
    ('499', '3828'),
    ('499', '1428'),
    ('499', '4025'),
    ('499', '3916'),
    ('499', '4018'),
    ('499', '4052'),
    ('499', '4053'),
    ('499', '4058'),
    ('499', '3984'),
    ('499', '3125'),
    ('499', '3711'),
    ('499', '3700'),
    ('499', '3122'),
    ('499', '2918'),
    ('499', '4055'),
    ('499', '3912'),
    ('499', '3967'),
    ('499', '4004'),
    ('499', '4047'),
    ('499', '3929'),
    ('499', '3945'),
    ('499', '4326'),
    ('499', '368'),
    ('499', '3842'),
    ('499', '3970'),
    ('499', '4099'),
    ('499', '3862'),
    ('499', '945'),
    ('499', '3737'),
    ('499', '4322'),
    ('499', '684'),
    ('499', '3936'),
    ('499', '4336'),
    ('499', '3955');

Caused the error:

    Duplicate entry '162-71-0' for key 1


-----------------------------------------------------------

And now I persume know about which steps has someone talking here - is this step 1 substep 20 ?
convert.php?step=1&substep=20&start=0

Is it possible to convert xmb at all?

Edit: Please use code tags!
Title: Re: [SMF Converter] XMB - 1.9.6
Post by: JayBachatero on January 15, 2007, 04:09:51 PM
Are you using the latest convert.php?  That table its supposed to do INSERT IGNORE.
Title: Re: [SMF Converter] XMB - 1.9.6
Post by: zamorc on January 15, 2007, 04:12:40 PM
Yes. Iam using this:
http://www.simplemachines.org/community/index.php?topic=140741.0
Title: Re: [SMF Converter] XMB - 1.9.6
Post by: JayBachatero on January 15, 2007, 04:13:26 PM
Ok then that should work.  Can you PM me FTP info and I can give it a shot for you.
Title: Re: [SMF Converter] XMB - 1.9.6
Post by: babyjuker on January 16, 2007, 09:42:04 PM
Quote from: JayBachatero on January 14, 2007, 07:45:54 PM
Use the convert.php from here I mean.
http://www.simplemachines.org/community/index.php?topic=140741.0

That is the one i used and it'll convert everything except for the topics or posts.  well i guess that's not everything then.  but i've tried to convert numerous times, is there a way for me to break it down and insert it into a sql table?
Title: Re: [SMF Converter] XMB - 1.9.6
Post by: JayBachatero on January 16, 2007, 09:48:49 PM
I was able to convert zamorc's forum w/o a problem.  He has a big board too.  So it should be working on yours.  If you PM me FTP info I can look into it.
Title: Re: [SMF Converter] XMB - 1.9.6
Post by: babyjuker on January 17, 2007, 03:21:36 PM
really i wonder why i'm having so many problems with it, if you're able to do the same with mines can you inform me on what i might've been doing wrong?
Title: Re: [SMF Converter] XMB - 1.9.6
Post by: babyjuker on February 04, 2007, 03:36:47 PM
Were you able to do it? i'd still like to convert my previous xmb board to xmf, but haven't gotten word back from you on if this was succesful or not.   
Title: Re: [SMF Converter] XMB - 1.9.6
Post by: JayBachatero on February 05, 2007, 09:39:23 AM
Quote from: babyjuker on February 04, 2007, 03:36:47 PM
Were you able to do it? i'd still like to convert my previous xmb board to xmf, but haven't gotten word back from you on if this was succesful or not.  
babyjuker TBH I totally forgot about this.  I'm at school right now.  I'll give this a shot later on when I get home.
Title: Re: [SMF Converter] XMB - 1.9.6
Post by: babyjuker on February 06, 2007, 06:55:45 PM
Ok no problem, thanks.  
Title: Re: [SMF Converter] XMB - 1.9.6
Post by: themortalgod on February 06, 2007, 10:33:23 PM
hey, its me again it looks like my post got lost in all the chaos, iv been trying to convert a forum for the last month or so but everyimte i try and convert it, it thinks for a while then display a blank page with step=1 in the URL, when i open up the forums after, the converter has succesful converted all the users but has not converted anything else

any ideas on what he problem could be?

thx
Title: Re: [SMF Converter] XMB - 1.9.6
Post by: themortalgod on February 09, 2007, 11:56:34 PM
well i figured out what that problem was... the converter was overloading the server when it tried to convert our quarter million private messages. So i cleared out all the user's private messages and tried again, this time i got this error:

Converting topic notifications... Unsuccessful!
This query:

    INSERT INTO `othfo3_smf`.smf_log_notify
    (ID_MEMBER, ID_TOPIC)
    VALUES ('70', '787'),
    ('70', '723'),
    ('70', '44'),
    ('5', '2'),
    ('36', '28'),
    ('62', '32'),

... these numbers continue for quite a while

then at the end...

Caused the error:

    Duplicate entry '78-10832-0' for key 1



Title: Re: [SMF Converter] XMB - 1.9.6
Post by: JayBachatero on February 10, 2007, 01:11:16 PM
Quote from: babyjuker on February 06, 2007, 06:55:45 PM
Ok no problem, thanks. 
PM sent.  Conversion all set and done.

themortalgod the query might need to be optimized a bit for PM's I'll look into that.  About the log_notify dup key it should be ignoring duplicates.
Title: Re: [SMF Converter] XMB - 1.9.6
Post by: Kelly on February 10, 2007, 02:19:31 PM
I'm getting

INSERT INTO `testing`.smf_log_notify

(ID_MEMBER, ID_TOPIC)

A WHOLE LOT OF VALUES

and then.

Caused the error:

    Duplicate entry '2-210-0' for key 1

Any ideas?
Title: Re: [SMF Converter] XMB - 1.9.6
Post by: JayBachatero on February 10, 2007, 02:44:03 PM
Are you using the latest convert.php?
Title: Re: [SMF Converter] XMB - 1.9.6
Post by: Kelly on February 10, 2007, 03:40:31 PM
Not sure. If not where do I get it?
Title: Re: [SMF Converter] XMB - 1.9.6
Post by: JayBachatero on February 11, 2007, 01:09:36 AM
Try using the converter in this topic: Convert.php (http://www.simplemachines.org/community/index.php?topic=140741)
Title: Re: [SMF Converter] XMB - 1.9.6
Post by: Kelly on February 11, 2007, 09:12:54 AM
Nope same error.
Title: Re: [SMF Converter] XMB - 1.9.6
Post by: themortalgod on February 11, 2007, 09:34:15 PM
Quote from: JayBachatero on February 11, 2007, 01:09:36 AM
Try using the converter in this topic: Convert.php (http://www.simplemachines.org/community/index.php?topic=140741)

that one worked for me :D
Title: Re: [SMF Converter] XMB - 1.9.6
Post by: JayBachatero on February 12, 2007, 01:15:39 AM
Quote from: Kelly on February 11, 2007, 09:12:54 AM
Nope same error.
Kelly make sure that it's actually being overwritten.
Title: Re: [SMF Converter] XMB - 1.9.6
Post by: Kelly on February 16, 2007, 01:15:22 PM
Tried overwriting it again, cleared out the db. Question? Does it need to share the same database?

Same error.

INSERT INTO `testing`.smf_log_notify. Duplicate entry....
Title: Re: [SMF Converter] XMB - 1.9.6
Post by: JayBachatero on February 16, 2007, 01:19:10 PM
No it does not need to be in the same database.  I still can't understand why it's not doing the INSERT IGNORE INTO like it should.  Can you please PM me the FTP info so that I can look into it?
Title: Re: [SMF Converter] XMB - 1.9.6
Post by: Kelly on February 16, 2007, 01:30:38 PM
Sent you a PM could you read it.
Title: Re: [SMF Converter] XMB - 1.9.6
Post by: JayBachatero on February 18, 2007, 01:00:07 AM
While converting Kelly's board I came across a few bugs that I fixed.  I updated the converter in the first post.
Title: Re: [SMF Converter] XMB - 1.9.6
Post by: IFBrock on March 21, 2007, 01:03:49 AM
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?
Title: Re: [SMF Converter] XMB - 1.9.6
Post by: JayBachatero on March 26, 2007, 09:52:15 AM
Are you using the file in the first post?  I fixed this a while ago.
Title: Re: [SMF Converter] XMB - 1.9.6
Post by: IFBrock on March 26, 2007, 08:21:49 PM
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
Title: Re: [SMF Converter] XMB - 1.9.6
Post by: JayBachatero on March 28, 2007, 01:02:34 AM
Redownload the file.  Seem's like a few characters where chopped off.
Title: Re: [SMF Converter] XMB - 1.9.6
Post by: IFBrock on March 28, 2007, 02:45:56 PM
Worked out just fine this time, no problems.

Thanks a ton Jay :).
Title: Re: [SMF Converter] XMB - 1.9.6
Post by: weec on April 26, 2007, 11:18:11 AM
XMB - 1.9.7 is last version
Title: Re: [SMF Converter] XMB - 1.9.6
Post by: PatrickPriest on May 06, 2007, 04:14:30 PM
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.
Title: Re: [SMF Converter] XMB - 1.9.6
Post by: Altero on May 24, 2007, 09:55:37 AM
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?
Title: Re: [SMF Converter] XMB - 1.9.6
Post by: SleePy on July 13, 2007, 10:24:53 PM
Is this issue solved or do you still require assistance?

Have you tried the latest Conversion script?
Title: Re: [SMF Converter] XMB - 1.9.6
Post by: PatrickPriest on July 15, 2007, 11:56:24 AM
I kind of gave up on it.
Title: Re: [SMF Converter] XMB - 1.9.6
Post by: ZWarrior on August 06, 2007, 11:36:04 AM
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 http://www.ambushsite.com/convert.php?step=1 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?
Title: Re: [SMF Converter] XMB - 1.9.6
Post by: SleePy on August 06, 2007, 12:54:11 PM
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.
Title: Re: [SMF Converter] XMB - 1.9.6
Post by: ZWarrior on August 06, 2007, 02:30:55 PM
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.
Title: Re: [SMF Converter] XMB - 1.9.6
Post by: ZWarrior on August 07, 2007, 07:57:47 AM
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.
Title: Re: [SMF Converter] XMB - 1.9.6
Post by: GoinNutz on September 25, 2007, 04:52:23 AM
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!
Title: Re: [SMF Converter] XMB - 1.9.6
Post by: genius2 on January 13, 2008, 12:18:20 PM
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?
Title: Re: [SMF Converter] XMB - 1.9.6
Post by: genius2 on January 13, 2008, 01:10:31 PM
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
Title: Re: [SMF Converter] XMB - 1.9.6
Post by: JayBachatero on January 13, 2008, 11:41:55 PM
Did you overwrite the files?  Make sure to overwrite the file not resume.
Title: Re: [SMF Converter] XMB - 1.9.6
Post by: genius2 on January 15, 2008, 07:16:08 AM
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?
Title: Re: [SMF Converter] XMB - 1.9.6
Post by: genius2 on January 17, 2008, 06:49:38 PM
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
Title: Re: [SMF Converter] XMB - 1.9.6
Post by: JayBachatero on January 24, 2008, 01:48:36 AM
Edit the file.

Find
ORDER BY LENGTH(code) DESC
Change to
ORDER BY code DESC

Also use the convert file here. Updated Converters List & Support Topics (http://www.simplemachines.org/community/index.php?topic=140741.0)
Title: Re: [SMF Converter] XMB - 1.9.6
Post by: auspuff on February 01, 2008, 09:48:48 AM
I,m trying to convert my xmb 1.9.1 to smf but i get this error:

Notice: Undefined index: charsets in ....../smf/smf_1-1-2_xmb_converter/convert.php on line 328
Converting topics... Duplicate entry '501' for key 1

I,m on this step:
convert.php?step=1&substep=7&start=500

I did use the latest convert.php and xmb_to_smf.sql from the forums. Any ideas anyone?
Title: Re: [SMF Converter] XMB - 1.9.6
Post by: OMGitsDALE on February 04, 2008, 01:58:08 PM
I tried converting and i get this at step 1: "Not allowed to run this file directly."

Any suggestions? :\
Title: Re: [SMF Converter] XMB - 1.9.6
Post by: JayBachatero on February 04, 2008, 02:43:20 PM
Quote from: auspuff on February 01, 2008, 09:48:48 AM
I,m trying to convert my xmb 1.9.1 to smf but i get this error:

Notice: Undefined index: charsets in ....../smf/smf_1-1-2_xmb_converter/convert.php on line 328
Converting topics... Duplicate entry '501' for key 1

I,m on this step:
convert.php?step=1&substep=7&start=500

I did use the latest convert.php and xmb_to_smf.sql from the forums. Any ideas anyone?
Did you try running it again?

Quote from: OMGitsDALE on February 04, 2008, 01:58:08 PM
I tried converting and i get this at step 1: "Not allowed to run this file directly."

Any suggestions? :\
Converting to SMF (http://docs.simplemachines.org/index.php?board=4.0;sort=subject)
Title: Re: [SMF Converter] XMB - 1.9.6
Post by: OMGitsDALE on February 04, 2008, 03:06:29 PM
EDIT: Nevermind. It WAS something obvious and I fixed it. Haha. But there's another problem, whenever I put in the link to SMF, I get this:

QuoteThis converter was unable to find SMF in the path you specified.

Please double check the path, and that it is already installed there.
Title: Re: [SMF Converter] XMB - 1.9.6
Post by: OMGitsDALE on February 04, 2008, 05:18:22 PM
I've tried everything I can think of, and I still get the error I post about. Except when I change the links to the same (except them ending) I get the first error I posted. And then when I change one, it says the one I just posted. :\ I don't know what to do?
Title: Re: [SMF Converter] XMB - 1.9.6
Post by: JayBachatero on February 04, 2008, 08:20:43 PM
Need to run convert.php not the other file.
Title: Re: [SMF Converter] XMB - 1.9.6
Post by: OMGitsDALE on February 04, 2008, 11:42:17 PM
I am running convert.php though? I read the "Converting to SMF" document a whole bunch of times and nothing is working.
Title: Re: [SMF Converter] XMB - 1.9.6
Post by: JayBachatero on February 07, 2008, 03:10:12 AM
Is SMF installed?
Title: Re: [SMF Converter] XMB - 1.9.6
Post by: WTF on February 09, 2008, 02:02:47 PM
I'm trying to convert XMB 1.9.8 to SMF and I keep getting the error "Not allowed to run this file directly." I have followed the directions for converting and nothing works. The information is right, SMF is installed in a separate directory, the paths seem to be right... what am I doing wrong?
Title: Re: [SMF Converter] XMB - 1.9.6
Post by: auspuff on February 11, 2008, 06:34:16 AM
Quote from: JayBachatero on February 04, 2008, 02:43:20 PM
Did you try running it again?

Yes I did, a couple of times actually, no luck. I started again from scratch and now i,m also getting the same errors as OMGitsDALE:
This converter was unable to find SMF in the path you specified.
Please double check the path, and that it is already installed there.

Hope this issue can be fixed!
Title: Re: [SMF Converter] XMB - 1.9.6
Post by: JayBachatero on February 20, 2008, 02:27:37 AM
Quote from: WTF on February 09, 2008, 02:02:47 PM
I'm trying to convert XMB 1.9.8 to SMF and I keep getting the error "Not allowed to run this file directly." I have followed the directions for converting and nothing works. The information is right, SMF is installed in a separate directory, the paths seem to be right... what am I doing wrong?
You are running convert.php correct?

Quote from: auspuff on February 11, 2008, 06:34:16 AM
Quote from: JayBachatero on February 04, 2008, 02:43:20 PM
Did you try running it again?

Yes I did, a couple of times actually, no luck. I started again from scratch and now i,m also getting the same errors as OMGitsDALE:
This converter was unable to find SMF in the path you specified.
Please double check the path, and that it is already installed there.

Hope this issue can be fixed!
Is the convert.php in the same directory as SMF?
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: CaribbeanBreeze on May 22, 2008, 11:46:34 PM
No matter what I do. This converter is not working. I have been at this for two weeks now. I've been on here and I've uploaded the latest fixes and convert.php for this forum and nothing is working correctly.

This is the error that I continuously keep getting.

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

I've noticed that none of the code changes I made in the convert.php for that specific issue work either. Yes, I replaced that line of coding and yes it was overwritten. I ran convert.php and everything the database users are all hooked up and this is not working at all. Getting a bit frustrated. May just have to give up and stick with XMB if I can't get this converted correctly very soon here. Not sure what is going on. I've done just about everything. I will not delete and re-install the SMF forum again because that is getting frustrating.
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: SleePy on May 23, 2008, 11:51:09 AM
Are you using the .sql file attached to the first post in this topic?
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: CaribbeanBreeze on May 23, 2008, 01:32:41 PM
Yes. I've used everything for the conversion from this topic.
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: SleePy on May 23, 2008, 01:42:45 PM
Try this one.
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: CaribbeanBreeze on May 23, 2008, 03:36:16 PM
YAY! That one worked. Thanks SleePy! :-)
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: PatrickPriest on June 09, 2008, 05:09:39 PM
Quote from: WTF on February 09, 2008, 02:02:47 PM
I'm trying to convert XMB 1.9.8 to SMF and I keep getting the error "Not allowed to run this file directly." I have followed the directions for converting and nothing works. The information is right, SMF is installed in a separate directory, the paths seem to be right... what am I doing wrong?

I have the EXACT same thing happening with me.  Trying to convert from XMB 1.9.8 to SMF... and I get the same error.  I am pretty good experienced at creating databases and users.  SMF has access to the XMB database.

Using the converter is quite easy also... all the information is correct.

Is the converter up-to-date for XMB 1.9.8?
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: SleePy on June 09, 2008, 09:08:12 PM
Common conversion errors. (http://www.simplemachines.org/community/index.php?topic=146192.0)

If that doesn't help, could you pm me the contents of the /config.php file from your xmb software?
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: PatrickPriest on June 09, 2008, 09:36:14 PM
i sent it.
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: SleePy on June 09, 2008, 09:53:43 PM
Are you using the convert.php in Updated Converters List & Support Topics (http://www.simplemachines.org/community/index.php?topic=140741.0)
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: PatrickPriest on June 09, 2008, 09:57:50 PM
i am using whatever file is downloaded when at this page:
http://www.simplemachines.org/download/?converters
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: SleePy on June 09, 2008, 09:59:10 PM
Try the one that is attached in that topic. I don't know, but it may be possible that the convert.php in that download might have broken code which is not preventing the error from occurring.
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: PatrickPriest on June 09, 2008, 10:08:00 PM
should it take forever for the 1st step to go?  i am using the updated convert.php  i clicked on "Continue" and it's just been "Loading" for about 5 minutes now.
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: SleePy on June 09, 2008, 10:10:54 PM
It should be continuing with a timeout page.

Do you have phpMyAdmin to see what queries it is running? It just might be it is able to bypass the apache timeout and is trying to do it all in one shot.
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: PatrickPriest on June 09, 2008, 10:12:08 PM
I have phpMyAdmin... but not quite sure how to get into all that.
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: SleePy on June 09, 2008, 10:18:58 PM
There is a process list link on the front page usually. This will show what processes are running in mysql (if any).
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: PatrickPriest on June 09, 2008, 10:25:46 PM
found it.  what am i looking for after clicking on it?
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: SleePy on June 09, 2008, 10:38:51 PM
What queries are running?

I just wanted to see if maybe the converter is handling a large query at the moment.
It could be possible it is getting caught in a loop somewhere :| Though I hope not.
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: PatrickPriest on June 09, 2008, 10:44:13 PM
nothing i think
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: SleePy on June 09, 2008, 11:01:41 PM
Yea, there was nothing running.

Is it the tab that says it can't load page?
Does anything appear to be converted?
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: PatrickPriest on June 09, 2008, 11:04:58 PM
Yes it is that tab.  However, I also clicked that link several times before taking the screen cap... and it always gave the same response.

I did do a convert JUST the members... and it seems it converted all the members.

The forums I am converting are HUGE:
7633 topics / 498311 posts / 12579 members
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: SleePy on June 09, 2008, 11:08:11 PM
Hmm,

Yea thats almost a large forum (only a few posts off 500k).
You might have to do this via command line or by section.

Apache is like a middle man, You have to talk to it, and it talks to php (who is also talking to mysql), and then it has to respond to Apache to respond to you.
By doing command line you remove the middle man and without that middle man the timeout is less of an issue.

command line can be used by using ssh to the server and just doing
"php -f /path/to/convert.php"

It will tell you about missing parameters. Those will need to be specified for the conversion.
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: PatrickPriest on June 09, 2008, 11:09:34 PM
i know nothing about SSH
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: PatrickPriest on June 09, 2008, 11:27:08 PM
i tried connecting using SSH... but for some reason it's not connecting. i will try it again tomorrow at work.  i know i've used it a few times there with the forums.  but only for backing up and restoring a database... anything else SSH related i know nothing about.
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: SleePy on June 09, 2008, 11:31:19 PM
Not to be mean, but if you got a large site as yours is and will continue to be, you should get to know a little about such stuff. A GUI isn't always the best way to administer things when you got resources you need to dedicate towards other things such as apache, mysql, or php.

Good luck trying though, its a little hard to get used to a first, but once you play with it enough it will get easy. I personally use it all the time between my macs to do even the simplist things such as making a directory/folder on it to as complicated as running software updates (I am a bit lazy, so walking down stairs to perform updates takes more energy than it would to easily do it via remote desktop or ssh).
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: PatrickPriest on June 10, 2008, 09:26:56 AM
yeah i know.  i have a guy that works on the staff that is pretty good with php and stuff.  he is teaching me some things.  but between his schedule and mine... its hard to have "classes".  but i am slowly learning.

i will try it and let you know what happens.
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: PatrickPriest on June 10, 2008, 02:15:10 PM
I am at work now with a lot faster speed internet.  I do the convert... and I get the:
Converting members... Incomplete.

Not quite done yet!
This conversion has paused to avoid overloading your server, and hence not working properly.
Don't worry though, nothing's wrong - simply click the continue button below to start the converter from where it left off.

The "Continue (0)" button stays at (0)... do I have to keep hitting "Continue" all the time to make it continue the convert?
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: SleePy on June 10, 2008, 04:14:05 PM
Do you have javascript enabled?
If javascript is enabled it should do a count down from 3 and then auto click continue.

Title: Re: [SMF Converter] XMB - 1.9.8
Post by: PatrickPriest on June 10, 2008, 04:53:18 PM
Yes... Java is enabled.  However, it did look like it was still refreshing... just the countdown wasn't moving.

But... there is another issue now... hahaha

In the convert file... I choose ONLY the "Boards" to be converted.  However... when I clicked continue... it said "Converting members... Incomplete."

I didn't ask for it to convert the members.  But... I let it do it's thing for about an hour... and nothing changed.  It was still doing that about an hour later.
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: SleePy on June 10, 2008, 06:06:28 PM
Hmm. It is starting over again :|

You can try to open the .sql file
Find:
---* {$to_prefix}members

Replace:
---* {$to_prefix}members 200

This will reduce it to only converting 200 members at once instead of the default (I think its 500 or 1,000).

Title: Re: [SMF Converter] XMB - 1.9.8
Post by: PatrickPriest on June 10, 2008, 06:36:51 PM
ok another issue... kind of a big issue.  i can't even access my "test" forum anymore.  which is the one i am converting.

www.othforums.com/test

and this is from the time i let it go for an hour or so.  it's like... frozen my forums.  haha
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: SleePy on June 11, 2008, 02:00:17 AM
Have you asked your host?
It seems to be working now, but it is most likely your host doing something or thinking it is a ddos attack from the size and amount of queries in a short amount of time.
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: PatrickPriest on June 11, 2008, 11:11:24 AM
all the other websites on that VPS worked.  so i don't think it was the host.

i had to reboot the VPS to get it to come back.
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: PatrickPriest on June 11, 2008, 12:13:15 PM
i tried processing it again using the change you gave me above... it froze my site again.
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: SleePy on June 11, 2008, 12:52:03 PM
What process is taking up the cpu?
If you use ssh just type "top" and it should show you.
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: PatrickPriest on June 11, 2008, 01:35:28 PM
i can't access SSH from work... they block the port access here.
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: SleePy on June 11, 2008, 01:44:01 PM
Do you have a control panel that might show it?

I can't access ssh nor my cpanel (from its default port) from the college campus, so don't feel to bad :P
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: PatrickPriest on June 11, 2008, 01:46:04 PM
i had my hosting change the port to something i can connect to.  just waiting to get the confirmation email.  i am also having the do a graceful reboot... so i can process the convert.php from the code you gave me for SSH.  see if that works
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: PatrickPriest on June 11, 2008, 11:49:42 PM
-bash: /path/to/smf/convert.php: Permission denied

I got this error when going through SSH

i think logged in with the root login.... this is what i get:

[root@server ~]# php -f /path/to/smf/convert.php
Array
(
   
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: SleePy on June 12, 2008, 12:40:39 AM
invoke the help command:
php -f /path/to/smf/convert.php --help

That will tell you the input that the converter script needs :)
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: PatrickPriest on June 12, 2008, 02:20:19 PM
ok i am sooooooooo confused.

now i get this:

[root@server ~]# php -f /path/to/smf/convert.php
[root@server ~]#

In other words... it appears to do nothing.  I do the help thing you told me... this is what i get:

[root@server ~]# php -f /path/to/smf/convert.php --help
Usage: php [options] [-f] <file> [--] [args...]
       php [options] -r <code> [--] [args...]
       php [options] [-B <begin_code>] -R <code> [-E <end_code>] [--] [args...]
       php [options] [-B <begin_code>] -F <file> [-E <end_code>] [--] [args...]
       php [options] -- [args...]
       php [options] -a

  -a               Run interactively
  -c <path>|<file> Look for php.ini file in this directory
  -n               No php.ini file will be used
  -d foo[=bar]     Define INI entry foo with value 'bar'
  -e               Generate extended information for debugger/profiler
  -f <file>        Parse and execute <file>.
  -h               This help
  -i               PHP information
  -l               Syntax check only (lint)
  -m               Show compiled in modules
  -r <code>        Run PHP <code> without using script tags <?..?>
  -B <begin_code>  Run PHP <begin_code> before processing input lines
  -R <code>        Run PHP <code> for every input line
  -F <file>        Parse and execute <file> for every input line
  -E <end_code>    Run PHP <end_code> after processing all input lines
  -H               Hide any passed arguments from external tools.
  -s               Display colour syntax highlighted source.
  -v               Version number
  -w               Display source with stripped comments and whitespace.
  -z <file>        Load Zend extension <file>.

  args...          Arguments passed to script. Use -- args when first argument
                   starts with - or script is read from stdin

  --ini            Show configuration file names

  --rf <name>      Show information about function <name>.
  --rc <name>      Show information about class <name>.
  --re <name>      Show information about extension <name>.
  --ri <name>      Show configuration for extension <name>.

[root@server ~]#
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: ThorstenE on June 12, 2008, 02:47:13 PM
/path/to/smf/ should be a real path to your smf, something like /home/www/...
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: PatrickPriest on June 12, 2008, 02:55:41 PM
Quote from: ThorstenE on June 12, 2008, 02:47:13 PM
/path/to/smf/ should be a real path to your smf, something like /home/www/...

it is.  i replaced the real path with that... for security... JUST in case!
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: SleePy on June 12, 2008, 04:43:06 PM
QuoteSMF Command-line Converter
Usage: /path/to/php -f /path/to/smf/convert.php -- [OPTION]...

    --path_to               Path to SMF (/path/to/smf).
    --path_from             Path to the software that you are converting from.
    --convert_script        The name of the script. (old_forum_to_smf.sql)
    --db_pass               SMF database password. "The MySQL password (for verification only.)"
    --debug                 Output debugging information.

The following convert.php should work better about giving the help prompt if you don't specific options. I fixed it but haven't updated yet to the thread (been testing).
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: PatrickPriest on June 12, 2008, 05:23:11 PM
ok... can you explain what i am suppose to type and when better for me?  not sure what i am suppose to be typing now.  remember... i have never really used php before.
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: SleePy on June 12, 2008, 08:24:24 PM
Quotephp -f /path/to/smf/convert.php --path_to=/path/to/SMF --path_from/path/to/XMB --convert_script=xmb_to_smf.sql --db_pass=SMF_DATABASE_PASS
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: PatrickPriest on June 13, 2008, 02:28:48 PM

[root@server ~]# php -f /home/..../smf/convert.php --path_to=/home/..../smf --path_from=/home/..../test --convert_script=xmb_to_smf.sql --db_pass=*********
Usage: php [options] [-f] <file> [--] [args...]
       php [options] -r <code> [--] [args...]
       php [options] [-B <begin_code>] -R <code> [-E <end_code>] [--] [args...]
       php [options] [-B <begin_code>] -F <file> [-E <end_code>] [--] [args...]
       php [options] -- [args...]
       php [options] -a

  -a               Run interactively
  -c <path>|<file> Look for php.ini file in this directory
  -n               No php.ini file will be used
  -d foo[=bar]     Define INI entry foo with value 'bar'
  -e               Generate extended information for debugger/profiler
  -f <file>        Parse and execute <file>.
  -h               This help
  -i               PHP information
  -l               Syntax check only (lint)
  -m               Show compiled in modules
  -r <code>        Run PHP <code> without using script tags <?..?>
  -B <begin_code>  Run PHP <begin_code> before processing input lines
  -R <code>        Run PHP <code> for every input line
  -F <file>        Parse and execute <file> for every input line
  -E <end_code>    Run PHP <end_code> after processing all input lines
  -H               Hide any passed arguments from external tools.
  -s               Display colour syntax highlighted source.
  -v               Version number
  -w               Display source with stripped comments and whitespace.
  -z <file>        Load Zend extension <file>.

  args...          Arguments passed to script. Use -- args when first argument
                   starts with - or script is read from stdin

  --ini            Show configuration file names

  --rf <name>      Show information about function <name>.
  --rc <name>      Show information about class <name>.
  --re <name>      Show information about extension <name>.
  --ri <name>      Show configuration for extension <name>.

[root@server ~]#

It didn't do anything but give me the same stuff "--help" does
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: SleePy on June 13, 2008, 04:06:17 PM
Try without the -f.
The -f is needed on some cases but I guess not in this one :)
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: PatrickPriest on June 13, 2008, 04:11:05 PM

[root@server ~]# php /home/..../smf/convert.php --path_to=/home/..../smf --path_from=/home/..../test --convert_script=xmb_to_smf.sql --db_pass=**********
[root@server ~]#


It didn't do anything.  :(
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: SleePy on June 13, 2008, 04:36:13 PM
Is there a way I could look at it maybe?

That is quiet interesting that nothing is sent out at all :|
By that I think it would of died, but an error should of been sent to output.
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: SleePy on June 14, 2008, 12:50:09 PM
Ok,

This happens to be the query that is locking up:
SELECT
    t.tid AS ID_TOPIC, t.topped AS isSticky, t.fid AS ID_BOARD,
    IFNULL(uf.uid, 0) AS ID_MEMBER_STARTED, t.replies AS numReplies,
    t.views AS numViews,
    CASE WHEN t.closed = 'yes' THEN 1 ELSE 0 END AS locked, MIN(p.pid) AS ID_FIRST_MSG,
    MAX(p.pid) AS ID_LAST_MSG, IF(t.pollopts != '', t.tid, 0) AS ID_POLL
FROM ({$from_prefix}threads AS t, {$from_prefix}posts AS p)
    LEFT JOIN {$from_prefix}members AS uf ON (uf.username = t.author)
WHERE p.tid = t.tid
GROUP BY t.tid
HAVING ID_FIRST_MSG != 0
    AND ID_LAST_MSG != 0;


Right now, I can't get it to unlock the tables (I tried to kill all the query processes it was running but that didn't help).
I can't honestly see what would be causing that to lock up.

Do you mind if I tried it locally on my own machine with a copy of your database?
I would have more range here to play and if I lock something up it doesn't hurt me locally to quit the applications themselves such as mysqld :P
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: PatrickPriest on June 14, 2008, 02:26:45 PM
Sure.  Do what you need to do.  I really like SMF and want to switch.  So I am really hoping we can figure this out.

Also... please keep in mind that this is just a "TEST" database and forums.  The real active forum is not being touched by the convert process yet.  Once we figure out what's going on and I do a few tests to make sure everything went smooth... we can convert the real forums!!!
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: locjan on June 14, 2008, 09:30:50 PM
why we can convert other forum to SMF. is all forum had the same structure
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: SleePy on June 15, 2008, 11:41:15 PM
PatrickPriest,

I had time today. I only changed a few things in the converter and it finally made it past the topics part :)

It did die out in the end due to this error:
QuoteMySQL error message:
Got a packet bigger than 'max_allowed_packet' bytes

http://forums.mysql.com/read.php?35,75794,75794

You can see there it is just a variable in MySQL that needs to be set to allow this (see the second post for the offered solution but you should use a higher value most likely).

Now to tell  you. I started this about 5 pm and it took until 8:30 pm to finish converting posts.
Well you have way more personal message data than you do posts data. So this section might even take longer :|

Sadly there isn't much that can be done. With a 500k board and converting about 500 posts at a time (so as to not harm the server from a super large query). This is something that might take a while.

But for the most part the convert.php and xmb_to_smf.sql that are in your SMF folder are the ones I used..

btw, this is the string I used in ssh:
First:

cd public_html/smf


Then:

php convert.php --path_to=/home/xxxx/public_html/smf --path_from=/home/xxxx/public_html/test --db_pass=xxxx --convert_script=xmb_to_smf.sql --debug

I took out all sensitive data. The debug part isn't needed at the end. But I had it incase it would tell me anything extra. It didn't really. Debug mode doesn't do much more than normal mode at the moment.. I plan on getting that fixed :P
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: PatrickPriest on June 16, 2008, 01:20:35 PM
So the private messages are what is locking up the convert? Those can be deleted.
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: SleePy on June 16, 2008, 02:12:16 PM
No there where not locking up the conversion.
I changed the topics query slightly (from what I posted above) and was able to finally get it to work.

The PMs though are very large it looks like. I don't know how long it would take you to convert them. If you don't need them, then emptying the xmb_u2u table would delete all pms (which totals about 700 mib of data from what I seen in your phpmyadmin).

You should though be planning on this taking some time. If you have a couple days off work, doing it at night when things are quiet and the forum can be offline for a couple of hours while you convert (so that way no new data is inserted during the conversion) would be the best way to go.
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: PatrickPriest on June 16, 2008, 02:15:40 PM
So no code in the files need to change?  You only got it to work on your local machine.  Did you try it on the actual server or you can't because of the packet size?

I guess what I am trying to say is... what's the next step I need to take?
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: SleePy on June 17, 2008, 01:06:33 AM
That was on your site I got the error. I didn't even take it local. I seen why I think what was causing it. Just letting it sit for a day for the tables to properly unlock and such is what helped finally test it though :)
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: PatrickPriest on June 17, 2008, 09:37:36 AM
So I could just delete all the PMs... and run it through SSH??
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: JayBachatero on June 17, 2008, 11:34:45 AM
In PHP you need to pass the -- option to pass arguments to the php script itself.  So this should work.


php -f convert.php -- --path_to=/home/xxxx/public_html/smf --path_from=/home/xxxx/public_html/test --db_pass=xxxx --convert_script=xmb_to_smf.sql --debug
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: PatrickPriest on June 17, 2008, 11:43:32 AM

[root@server ~]# php -f convert.php -- --path_to=/home/xxxx/public_html/smf --path_from=/home/xxxx/public_html/test --db_pass=xxxxxxx --convert_script=xmb_to_smf.sql --debug
Could not open input file: convert.php
[root@server ~]#
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: JayBachatero on June 17, 2008, 11:46:47 AM
Use the full path to convert.php.


php -f /path/to/convert.php -- --path_to=/home/xxxx/public_html/smf --path_from=/home/xxxx/public_html/test --db_pass=xxxx --convert_script=xmb_to_smf.sql --debug
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: PatrickPriest on June 17, 2008, 01:37:14 PM
it's in the process.  i will see how this works and report back.  thank you.
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: PatrickPriest on June 17, 2008, 02:57:40 PM
Why would I be able to see the members that converted... but not the Boards or Topics?  Posts are currently still converting.  I also deleted all the PMs so that way that shouldn't take no time.
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: SleePy on June 17, 2008, 03:01:24 PM
The cleanup at the end has not occurred yet. So that may be why

It could be possible as well that permissions are in effect and you would need to login to see them.
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: PatrickPriest on June 17, 2008, 03:05:44 PM
I am logged in.  They don't show up in the admin center either.  Just thought it was weird that I could see the members list and it have all of them... and not be able to see any of the boards.
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: JayBachatero on June 17, 2008, 03:28:31 PM
You need to wait for the whole process to complete.
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: PatrickPriest on June 17, 2008, 03:31:44 PM
Ah.
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: JayBachatero on June 17, 2008, 03:52:02 PM
If you want you can check the data in the database.  You can see what has been converted there.  Like boards and categories and you can see the total rows updating for the messages table as well.
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: PatrickPriest on June 17, 2008, 05:20:28 PM
Good News!!!  It all worked!



[root@server ~]# php /home/xxxx/public_html/smf/convert.php --path_to=/home/xxxx/public_html/smf --path_from=/home/xxxx/public_html/test --db_pass=******** --convert_script=xmb_to_smf.sql --debug

Starting Conversion
* Converting members...... Successful.
* Converting categories... Successful.
* Converting boards... Successful.
* Converting topics.......................... Successful.
* Converting posts (this may take some time)... Successful.
* Converting posts (part2)................ 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 banned users... Successful.
* Converting settings... Successful.
* Converting moderators.... Successful.
* Converting smileys... Successful.
* Converting attachments... Successful.
* Recalculating forum statistics... .... Successful.

Conversion Complete!
Please delete this file as soon as possible for security reasons.
[root@server ~]#


I deleted all the PMs.  Thank you for all the help!
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: PatrickPriest on June 27, 2008, 10:29:16 PM
um so yeah.... i remember saving those files you had to edit (convert.php & xmb_to_smf.sql) from my server... but i can't seem to find them.

any chance you still have them?

i am trying to get the REAL forums converted this weekend.
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: SleePy on June 28, 2008, 02:52:59 AM
Just use the same files that you had there during the demo conversion. They are the ones you need.
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: Kaotic_For_Kaos on July 29, 2008, 03:14:37 PM
Hi I'm new to SMF and I have a bit of a problem. It said it converted except for posts. I clicked the continue button and now I have gotten this error.

It's not letting me put it as a code. It's bascially what a few others had here. A bunch of numbers and then it says Caused the error:

Duplicate entry '511' for key 1
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: SleePy on July 29, 2008, 05:18:47 PM
What was the error before you clicked continue?

Sometimes clicking continue will cause errors and cause a double submission of the form (I need to look into fixing that).
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: Kaotic_For_Kaos on July 29, 2008, 10:59:51 PM
Well the boards, topics, and posts didn't convert. I tried again right now and it said the following.

Converting posts (this may take some time)... Incomplete
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: ThorstenE on July 30, 2008, 04:08:22 AM
this is the only error? or is it the same as posted above?
QuoteDuplicate entry '511' for key 1
as SleePy posted above:
Quote
Sometimes clicking continue will cause errors and cause a double submission of the form (I need to look into fixing that).

i think there should be a more specific error message like Duplicate entry or something else..

did you restart conversion from the beginning?
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: Kaotic_For_Kaos on July 30, 2008, 04:54:20 PM
I just tried the converter again, I got this. It said it coverted the members when I didn't even select that cause they converted already. Same with the categories.

Converting...
Converting members... Successful.
Converting categories... Successful.
Converting boards... Successful.
Converting topics... Incomplete.

Not quite done yet!
This conversion has paused to avoid overloading your server, and hence not working properly.
Don't worry though, nothing's wrong - simply click the continue button below to start the converter from where it left off.

Actually it finally worked! I had to click continue a few times before it finished converting over the boards, posts and topics.
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: prvul on December 12, 2008, 11:28:58 PM
I got this error when converting from command line:

. . .
* Converting posts (part2)........................................ 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 banned users... Successful.
* Converting settings... Successful.
* Converting moderators... Successful.
* Converting smileys...Unsuccessful!  MySQL error message:
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

Notice: Use of undefined constant COMMENTOUTPUT - assumed 'COMMENTOUTPUT' in /var/www/forum/config.php on line 53


I used this command:  php /var/www/smf/convert.php --path_to=/var/www/smf --path_from=/var/www/forum --convert_script=xmb_to_smf.sql --db_pass=XXX

I used convert.php and xmb_to_smf.sql from this thread. Smf version is 1.1.7 and xmb is version 1.9.10 Karl.
Is there a solution for this?
Can i continue from where error ocured (how?), or i need to go from the beginning?
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: ThorstenE on December 13, 2008, 01:14:03 AM
restart the conversion and use the attached version..
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: murray.crane on June 03, 2009, 11:10:40 AM
Is there any danger in re-running the conversion process? I ran it once prior to doing some work on an install of SMF, as I'm moving over to SMF from XMB, but now I've done all this backend work, I don't want to loose any of the changes I've made to the SMF installation by re-installing it. However, I can loose all the posting, topic and membership content as it's only for demo.
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: ThorstenE on June 03, 2009, 11:26:26 AM
usually there is no risk. open the xmb_to_smf.sql with a text-editor and search for "TRUNCATE", whenever you find a TRUNCATE the related table will be cleaned  by the new conversion process.

If you don't like a risk in any way make a backup from your SMF database before you re-convert your XMB.

Title: Re: [SMF Converter] XMB - 1.9.8
Post by: murray.crane on June 03, 2009, 11:30:50 AM
Thanks TE :)

Much as I thought then... Roll on Saturday morning and the "live" switchover.
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: Carlos Faria on July 21, 2009, 05:35:51 PM
How do I convert the XMB to SMF 2.0 RC1.2 ??
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: ThorstenE on July 22, 2009, 01:11:29 AM
Converting to SMF (http://docs.simplemachines.org/index.php?board=4.0;sort=subject)
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: rcpp on January 20, 2010, 02:17:47 PM
Hi! Im not 100% sure if this is the right thread, but I've followed the link on the fixed thread.

I've downloaded the converter available on the download page and used it to convert an xmb board version 1.9.11 to SMF 1.1.11. The convertion worked and everything is fine expect for 2 issues:

1 [minor]: xmb 1.9.11 generates a thumbnail for the pictures attached to a post and insert them into [file]##[/file], where ## is the attachment number (i.e. 42). Since SMF does not have a default [file] bbCode what happens is that we don't see the thumbnail, only a plain text with

[file]42[/file].

However, the files are attached to the bottom of the post, making this a less important issue.

2. [major]: xmb 1.9.11 uses the bbCode [rquote] as its default tag, instead of [\quote\]  ( \ just for escaping) for quoting users. This drives to a problem where we don't see any quotation block, only a plain text with

[rquote=1111&tid=54&author="UserName"] Text quoted [/rquote].


Im not skilful enough with PHP to code something to do this task. I guess this not a simple task to do after inserting the data, so any help would be appreciated - even with editing the script, so it converts [rquote] to [\quote\] before inserting the data into the SMF db.


cheers and thank you!
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: rcpp on January 23, 2010, 09:01:05 AM
Updating!


I was able to convert every [rquote] to [\quote] using string replace inside the SQL conversion file.


SUBSTRING(REPLACE(p.message, 'rquote', 'quote'), 1, 65534) AS body,[/quote]

however, we don't have a link on the top of the quote block simply because the link from xmb is different from the SMF:

[code]
SMF:
Topic ID+Post Number, date, author (correct me if Im wrong)
[quote link=topic=604.msg42493#msg42493 date=1252204771 author=UserName]

XMB:
Post Number, Topic ID, Author
[rquote=60875&tid=416&author=UserName]


That would be a really more complex regex for changing the link structure... Any help? I can't find the section where it formats it (not in the sql, file though).

Cheers!
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: amesfan on January 26, 2010, 10:14:04 AM
Hello,

I'm also trying to convert from XMB 1.9.10 to SMF.  Everything goes OK, until it fails when converting attachments.  Sounds like it is allocating more memory than allowed on my server.  Is there a way to fix this?

Converting smileys... Successful.
Converting attachments...
Fatal error: Out of memory (allocated 1835008) (tried to allocate 921655 bytes) in /home/amesfan/public_html/board/convert.php on line 2371

Also, when I go to my SMF forum, my boards don't show up, although the categories appear in the admin panel.

Thank you!
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: rcpp on January 26, 2010, 11:16:42 AM
Quote from: amesfan on January 26, 2010, 10:14:04 AM
Hello,

I'm also trying to convert from XMB 1.9.10 to SMF.  Everything goes OK, until it fails when converting attachments.  Sounds like it is allocating more memory than allowed on my server.  Is there a way to fix this?

I think you have to contact your support. They will be more helpful than we, since you need more memory to your, since this is more concerned to local setup.

Quote

Also, when I go to my SMF forum, my boards don't show up, although the categories appear in the admin panel.

Thank you!

That is because it did not finish the conversion, so no posts or threads were fully converted.

Cheers!
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: amesfan on January 26, 2010, 12:04:32 PM
I checked and I have a 64M memory limit, so it looks that size is well below it.  Is there anything else that would cause this?
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: rcpp on January 26, 2010, 12:21:53 PM
Quote from: amesfan on January 26, 2010, 12:04:32 PM
I checked and I have a 64M memory limit, so it looks that size is well below it.  Is there anything else that would cause this?

Hmmm... This message means your query tried to allocate 900k of memory, but more or less 1MB is already allocated. This is usually a server side problem:

http://dev.mysql.com/doc/refman/5.0/en/out-of-memory.html


You could have a look at your mysql's logs.
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: amesfan on January 26, 2010, 03:35:40 PM
Thank you for the help, I actually figured out a way around it.  I found I have over 2gb of attachments on my forum, and it turns out that a group of about 500 are all bmp's at least 500kb in size, so it was going way over the 64m limit even though the error was different.  I alleviated this by changing the limit in the php file from 500 to 50 so it would process much less files at once.  It took much longer to convert the attachments, but ultimatey completed!

Looks like the conversion was successful all the way around, I had to rebuilt the thumbnail cache, but even U2U's migrated over!

Thanks again!
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: rcpp on January 26, 2010, 05:42:05 PM
Quote from: amesfan on January 26, 2010, 03:35:40 PM
Thank you for the help, I actually figured out a way around it.  I found I have over 2gb of attachments on my forum, and it turns out that a group of about 500 are all bmp's at least 500kb in size, so it was going way over the 64m limit even though the error was different.  I alleviated this by changing the limit in the php file from 500 to 50 so it would process much less files at once.  It took much longer to convert the attachments, but ultimatey completed!

Looks like the conversion was successful all the way around, I had to rebuilt the thumbnail cache, but even U2U's migrated over!

Thanks again!

I'm glad I could help! And I will ask you 2 things:

1. Which version was your XMB forum?
2. Does it have the [file]##[/file] tags? If yes, have you been able to fully convert its content to a thumbnail?

Cheers!
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: amesfan on January 30, 2010, 12:54:37 PM
My forum was XMB 1.9.10 Karl.  The actual reason I converted to SMF was I was unable to upgrade to 1.9.11, and unable to find a way around it without losing data.  Plus I was looking to integrate my Gallery2 and chat into a message board, of which I could not do with XMB.

My posts dig not have file tags, would I look anywhere else for them?

All the images converted over and displayed with paperclip icons.  I used the method elsewhere on this board to assign dimensions and generate thumbnails.  The only issue I had with conversion is many of the titles on my topics have been changed.
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: rcpp on February 02, 2010, 02:07:54 PM
Quote from: amesfan on January 30, 2010, 12:54:37 PM
My posts dig not have file tags, would I look anywhere else for them?

No where, I guess. What happened in my case was that a few posts had phots attached to them, which had a thumbnail automatically posted inside the [file] tag inside the post body.

Quote
All the images converted over and displayed with paperclip icons.  I used the method elsewhere on this board to assign dimensions and generate thumbnails.  The only issue I had with conversion is many of the titles on my topics have been changed.

I see! I've seen some plugins to generate thumbails, but Im not so sure if they come by default with SMF. So dar, Im thinking about using regex to change from [file] to something SMF understand, though I could change them by hand (only a few posts, 20 something, have images attached).

I will work some more over it and see how far I can get with my small SQL and PHP skills.

Cheers!
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: rcpp on February 03, 2010, 09:23:19 AM
I tried this to create the proper links for the posts inside the quote blocks, but did not work:


        SUBSTRING(REPLACE(p.message, 'rquote=([0-9]*&)(tid=[0-9]*&)(author=[\w|\W]*)',
                                     'quote (author=[\w|\W]*) (link=topic=([0-9]*)(\.msg[0-9]*\#msg[0-9]*)) (date=[1-9]*)'),
                                      1,65534) AS body,


this I put inside "xmb_to_smf.sql"

any tip? how can I test this in MySQL? I know that the regular exp. works because I tested in python, so I think it might be something sql~mysql related.


Thanks!
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: rcpp on May 14, 2010, 06:13:56 PM
Hi all! I manage to make a simple python script to convert the XMB 1.9.11 link format to SMF 1.1.11.

The convertion works, however, the script has some problems:

Quote
No control over execution time  (mysqld  job)
High CPU usage - between 78 and 96% for mysqld while the script is running
No user interaction - you put your database config. inside the script.

TODO:
Quote
- Configuration by file
- Timer
- Conection / executing time control
- Interface
- Some error messages like "Missing MySQLdb module"
"Config error" and connection/query errors.

To execute simply type "python xmb-to-smf-quote-fix.py" (without the quotes, of course). Use at your own risk.



Title: Re: [SMF Converter] XMB - 1.9.8
Post by: Norv on May 16, 2010, 02:08:19 AM
Oh, thank you very much for taking the time to share your solution, rcpp!
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: rcpp on September 09, 2010, 12:16:30 AM
You are welcome! Sorry for the late³ reply.

We are about to move from xmb to smf and Im on the process of testing everythig And my script works on part.... it does change the quote form, but it does not build de link. If I look in the source, there is no <a http://localhost/index.php?topic=1111.msg1111#msg1111 > Quote from ... </a> .

Only "Quote from:username link=topic=111.msg=1111#msg11111 date=1111111"


Of course, 1 is just for ilustrating.  ;D

Nevertheless, how does SMF creates the links? How it brings the username, topic and msg ids and paste them into the href?

Cheers!




EDIT:

I looked into SMF code and I've found where it builds the ?topic=...  part. However, I still can't get how it parses the code. Because, as far as I understand, it should have guessed the ?topic=... part (from the [quote ... ] ), but it didn't.
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: rcpp on September 19, 2010, 05:15:40 PM
I gave up of using an external tool for that, and decided to use the converter code. However, Im kind of lost on where to call a function there that would perform the search/replace task.


$body=array(0=>"[quote=61238&amp;tid=806&amp;author=Princess Moon]",
            1=>"[quote=61&amp;tid=2346&amp;author=ABCDFGH]");
$matriz['body']=$body;

$msgid_re='~([0-9]*)&amp;~';
$topicid_re='~tid=([0-9]*)&amp;~';
$author_re='~author=([\W|\w]+)\]~';

    for ($i = 0, $size=sizeof($matriz); $i <= $size; ++$i){
        echo $i ."\n";

        $msgid_xmb=preg_match($msgid_re, $matriz['body'][$i], $msgid);
        $topicid_xmb=preg_match($topicid_re, $matriz['body'][$i], $topicid);
        $author_xmb=preg_match($author_re, $matriz['body'][$i], $author);

        $smf='[quote author='.$author[1].' link=topic='.$topicid[1].'.msg='.$msgid[1].'#'.$msgid[1].']';

        $matriz['body'][$i]=preg_replace('~((\[quote=[0-9]*&amp;)(tid=[0-9]*&amp;)(author=[\w|\W]+)\])~',$smf, $body[$i]);
        print_r( $author);
        print_r( $topicid);
        print_r( $msgid);
        print_r( $matriz['body']);
        echo "\n";
        }
?>


This is the code I made, just for testing the regex. I dont know if there is a place where I'd put that that is specific for converting the messages from the board.

Nonetheless, Im about to install Eclipse and play with its debug tool and see if I can manage to find myself when it starts to convert the messages, since the regex above would be applied on the 'body' column.


Cheers!
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: Norv on September 21, 2010, 02:54:00 PM
Sorry for the delay. I'm not entirely certain what is the actual result you are trying to change...

Nonetheless: eclipse and the debugger might not help as much as you may wish... because the code of the actual conversion is in the sql file which ships with the convert.php script, and convert.php is parsing it and eval()-ing it.
Perhaps what you want to see is: xmb_to_smf.sql lines 129 - 147
specially this bit: (which is a PHP chunk)

---{
$ignore = true;
$row['subject'] = stripslashes($row['subject']);
$row['body'] = preg_replace('~\[align=(center|right|left)\](.+?)\[/align\]~i', '[$1]$2[/$1]', stripslashes($row['body']));
---}

(for the converter format, ---{ and ---} are marking a PHP block of code, like you can see ---* for SQL, and others for comments - they're just a few)
When evaluated, $row will be here the result of the request which follows immediately: the chunk of SQL (a SELECT from posts table which follows).
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: rcpp on September 21, 2010, 03:58:45 PM
Quote from: Norv on September 21, 2010, 02:54:00 PM
Sorry for the delay. I'm not entirely certain what is the actual result you are trying to change...

Nonetheless: eclipse and the debugger might not help as much as you may wish... because the code of the actual conversion is in the sql file which ships with the convert.php script, and convert.php is parsing it and eval()-ing it.
Perhaps what you want to see is: xmb_to_smf.sql lines 129 - 147
specially this bit: (which is a PHP chunk)

---{
$ignore = true;
$row['subject'] = stripslashes($row['subject']);
$row['body'] = preg_replace('~\[align=(center|right|left)\](.+?)\[/align\]~i', '[$1]$2[/$1]', stripslashes($row['body']));
---}

(for the converter format, ---{ and ---} are marking a PHP block of code, like you can see ---* for SQL, and others for comments - they're just a few)
When evaluated, $row will be here the result of the request which follows immediately: the chunk of SQL (a SELECT from posts table which follows).


okay. that means I dont need a "for" condition to apply the regex into $row=['body']? and I could use it only once? i.e:



---{
$ignore = true;
$row['subject'] = stripslashes($row['subject']);
$row['body'] = preg_replace('~\[align=(center|right|left)\](.+?)\[/align\]~i', '[$1]$2[/$1]', stripslashes($row['body']));

$row['body']=array(0=>"[quote=61238&amp;tid=806&amp;author=Princess Moon]",
            1=>"[quote=61&amp;tid=2346&amp;author=ABCDFGH]");

$msgid_re='~([0-9]*)&amp;~';
$topicid_re='~tid=([0-9]*)&amp;~';
$author_re='~author=([\W|\w]+)\]~';


$msgid_xmb=preg_match($msgid_re, $matriz['body'][$i], $msgid);
$topicid_xmb=preg_match($topicid_re, $matriz['body'][$i], $topicid);
$author_xmb=preg_match($author_re, $matriz['body'][$i], $author);

$smf='[quote author='.$author[1].' link=topic='.$topicid[1].'.msg='.$msgid[1].'#'.$msgid[1].']';

$row['body'][$i]=preg_replace('~((\[quote=[0-9]*&amp;)(tid=[0-9]*&amp;)(author=[\w|\W]+)\])~',$smf, $body[$i]);


---}



On the version we have installed (after 19.8) xmb quote is defined as written below:


[rquote=112233&amp; tid=1234&amp;author=John Doe] [/rquote]


so, there is no linking inside the quotes. The Python  scipt I made can change is, but there is no linking neither.


changing rquote to quote is way less harder. I think I even posted my modification here.


cheers and thanks for the reply!


Title: Re: [SMF Converter] XMB - 1.9.8
Post by: rcpp on September 27, 2010, 06:27:19 PM
Updating!


With the Pyhton script I have made previously I was able to create the quote links. It was just that SMF needs the timestamp for the posts. And I missed it.  ;D

Now that I've added the date to the string used on the update clause, it corrects the links and everything works fine.  8)

Sorry for doing that on Python and not PHP, but since I believe the script will reach 97% of processig in PHP as well, I don't think it would be wise to run it on your ordinary production server - specially if you use shared hosting (my case).

The only 2 problems that remain are:

1. XMB posts attached files to the body of the post with a file BBcode - smf dont know how to deal with it and prints [\file]  id of the attachment [\/file]

2. XMB when mergin topics somehow change the topic ID to the most recent one (at least in our case), making Topic A be called Topic B after the merge. That causes 2 problems:

The topic link title and all its inner link titles are called Topic B.
If you rename Topic B to A, as it should be called, it will change only the link within the topic ist, not  inside Topic A.

example:

http://dl.dropbox.com/u/4399839/smf-exemplos/topicName.png

http://dl.dropbox.com/u/4399839/smf-exemplos/topicTitleInside.png



I think this is "doable". I just have to think a little more.

cheers!


EDIT: forgot the second problem:

the 2nd problem is that all the links on the post title, inside the thread, will have a wrong id.



PS.: if you want to run it on a small database, rename database.conf.orig to database.conf and configure it.

Title: Re: [SMF Converter] XMB - 1.9.8
Post by: rcpp on October 27, 2010, 07:02:35 AM
Bump!

As for 12/10 until today I managed to migrate from XMB 1.9.11(musebrasil.com/velho) to SMF 1.1.11 (musebrasil.com/forum ). The only remain problems are with merged topics, where the merged topic has now the ID from the other one (i.e. B merged with A and now A has B id) ,  making a little confusion with titles and subjects (inside the threads) - hence why I still have the old board on, so users can search their old topic and tell us which topic they are seeking. Nothing that a simple SQL update can't fix. Another problem is that pools has no items or votes, though I already know  how to add them through queries.

I can't remember now if there is another problem, but from 0 to 10, I'd say this migration was 9.0.  8)


- No message loss.
- No user account problems.
- No topic loss.
- No PM loss.

And my Python quick fix works!  8) (now I run it on the XMB before converting, not that make much different though).


There is another small query I run before converting that changes rquote to quote, but it is a simple string replace MySQL command, nothing that you can't do using the official MySQL documentarion.


Cheers!
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: flewfruit on August 25, 2011, 10:12:40 AM
Hi, I want convert my XMB 1.9.11 to SMF. But how to do this? I don't understand this tut, can someone explain it please better for me :(

I have to install SMF first, right?
Title: Re: [SMF Converter] XMB - 1.9.8
Post by: rcpp on February 24, 2012, 12:05:53 PM
Quote from: flewfruit on August 25, 2011, 10:12:40 AM
Hi, I want convert my XMB 1.9.11 to SMF. But how to do this? I don't understand this tut, can someone explain it please better for me :(

I have to install SMF first, right?

Sorry for the late reply. I dont check this board that much. The way I did is kind of complicated if you cant deal with command line and some SQL code. I recommend trying to run XMB to phpBB converter and then phpBB to SMF.

Cheers!