SMF Support > MyBB
[SMF Converter] MyBB 1.2.x
JayBachatero:
Software: MyBB
Version: 1.2.x
This is the official support topic for MyBB converter. Use this topic to ask for support for this converter.
Changelog
! When converting users also convert the passwordSalt. (mybb12_to_smf.sql)
! Typo
! logTime is no longer used (mybb12_to_smf.sql)
! When converting polls make sure that questions column has an alias. (mybb12_to_smf.sql)
! Updated converter to convert attachments. (mybb12_to_smf.sql)
! When converting attachments and it's an image add the width and height for it. (mybb12_to_smf.sql)
! Cast $width and $height as a string or else it wont return a value if the file is not an image. (mybb12_to_smf.sql)
convert.php
Use this convert.php with the .sql file attached in this topic.
Clint_:
I'm getting an error of:
--- Code: ---Converting topic view logs... Unsuccessful!
This query:
INSERT IGNORE INTO `tom151_forum`.smf_log_topics
(ID_TOPIC, ID_MEMBER, logTime)
VALUES ('79', '1', '1169497241'),
('81', '6', '1169411140'),
('80', '6', '1169346269'),
('79', '3', '1169509016'),
('36', '3', '1169425880'),
('79', '6', '1169492893'),
('79', '2', '1169498321'),
('78', '2', '1169393279'),
('71', '2', '1169404516'),
('30', '17', '1169512058'),
('81', '2', '1169508577'),
('65', '2', '1169351641'),
('78', '1', '1169352161'),
('1', '17', '1169362206'),
('30', '1', '1169404615'),
('60', '1', '1169352691'),
('9', '1', '1169352795'),
('77', '1', '1169352818'),
('75', '1', '1169352835'),
('64', '1', '1169352837'),
('63', '1', '1169352838'),
('61', '1', '1169352839'),
('52', '1', '1169352840'),
('47', '1', '1169352841'),
('23', '1', '1169352842'),
('20', '1', '1169352843'),
('30', '6', '1169538285'),
('18', '3', '1169355176'),
('36', '1', '1169497198'),
('82', '3', '1169366310'),
('30', '3', '1169366546'),
('81', '17', '1169366961'),
('81', '3', '1169375431'),
('82', '2', '1169425452'),
('73', '2', '1169387923'),
('32', '1', '1169399772'),
('28', '1', '1169399788'),
('8', '1', '1169399820'),
('79', '11', '1169506094'),
('80', '11', '1169402865'),
('82', '11', '1169402904'),
('48', '11', '1169403168'),
('36', '14', '1169415494'),
('74', '14', '1169415644'),
('18', '14', '1169406473'),
('41', '14', '1169406599'),
('68', '14', '1169407006'),
('7', '2', '1169406882'),
('67', '14', '1169406924'),
('36', '2', '1169406955'),
('74', '2', '1169512971'),
('27', '14', '1169407054'),
('83', '14', '1169420476'),
('60', '2', '1169429361'),
('44', '14', '1169407474'),
('83', '2', '1169430365'),
('33', '14', '1169407489'),
('84', '2', '1169494161'),
('44', '2', '1169408118'),
('65', '11', '1169408226'),
('84', '11', '1169420272'),
('44', '11', '1169408299'),
('68', '11', '1169408433'),
('85', '11', '1169513631'),
('30', '11', '1169513688'),
('36', '11', '1169408704'),
('85', '2', '1169522494'),
('85', '6', '1169669703'),
('74', '6', '1169538268'),
('84', '6', '1169493725'),
('36', '6', '1169435433'),
('85', '7', '1169411649'),
('71', '7', '1169489822'),
('62', '7', '1169412630'),
('8', '7', '1169650988'),
('84', '14', '1169496581'),
('79', '14', '1169497012'),
('85', '14', '1169415783'),
('8', '6', '1169417396'),
('57', '11', '1169418125'),
('62', '11', '1169418181'),
('8', '11', '1169418220'),
('11', '11', '1169418408'),
('8', '14', '1169420544'),
('44', '3', '1169425888'),
('65', '3', '1169425933'),
('85', '3', '1169521903'),
('8', '3', '1169425963'),
('74', '3', '1169425991'),
('84', '3', '1169425995'),
('8', '2', '1169429974'),
('85', '12', '1169434181'),
('84', '12', '1169431713'),
('85', '17', '1169512466'),
('86', '7', '1169659424'),
('84', '7', '1169495148'),
('36', '7', '1169475597'),
('79', '7', '1169650951'),
('81', '7', '1169477011'),
('76', '7', '1169477034'),
('74', '7', '1169477047'),
('86', '2', '1169660188'),
('74', '18', '1169477777'),
('32', '18', '1169477929'),
('79', '18', '1169481077'),
('30', '7', '1169507681'),
('43', '7', '1169489784'),
('77', '7', '1169482296'),
('64', '7', '1169482358'),
('61', '7', '1169482529'),
('43', '11', '1169483047'),
('77', '11', '1169483080'),
('61', '2', '1169486523'),
('44', '7', '1169489802'),
('62', '2', '1169489837'),
('77', '6', '1169493349'),
('86', '6', '1169669610'),
('86', '11', '1169514204'),
('30', '14', '1169497138'),
('25', '11', '1169507500'),
('87', '2', '1169650293'),
('69', '2', '1169508797'),
('50', '2', '1169508808'),
('87', '3', '1169632336'),
('66', '3', '1169508932'),
('86', '3', '1169521844'),
('77', '3', '1169509000'),
('43', '22', '1169510503'),
('88', '22', '1169510589'),
('88', '2', '1169522337'),
('88', '7', '1169510770'),
('87', '7', '1169645180'),
('74', '17', '1169512667'),
('43', '12', '1169513605'),
('61', '12', '1169513640'),
('82', '12', '1169513657'),
('86', '12', '1169513705'),
('88', '12', '1169513768'),
('74', '12', '1169513795'),
('88', '11', '1169514175'),
('87', '11', '1169514223'),
('89', '12', '1169555650'),
('89', '2', '1169522851'),
('65', '12', '1169518291'),
('89', '14', '1169519053'),
('89', '3', '1169521798'),
('88', '3', '1169521863'),
('88', '6', '1169538242'),
('87', '6', '1169538410'),
('87', '12', '1169555716'),
('60', '7', '1169651192');
Caused the error:
Unknown column 'logTime' in 'field list'
--- End code ---
Clint
lunzet:
my topics went fine but polls are an issue:
--- Quote ---Converting...
Converting polls... Unsuccessful!
This query:
INSERT INTO `smf`.smf_polls
(ID_POLL, SUBSTRING(p.question, 1, 255), votingLocked, ID_MEMBER, expireTime, posterName)
VALUES ('1', 'Wer soll unser Mage sein', 'no', '4', '0', 'Jo'),
('3', 'Bock auf PvP (Warsong/Alterac) mit gleichzeitigem harten Levelcap bei 39', 'no', '4', '157903847585', 'Jo'),
('4', 'Wann sollen wir das Level-Cap < 40 aufheben:', 'no', '3', '0', 'TurboPala'),
('6', 'Wer soll nächsten Dienstag als Stammgast aufgenommen werden', 'no', '4', '0', 'Jo'),
('9', 'Hast du Lust auf ein solches Event und kommst?', 'no', '3', '1153925496', 'TurboPala'),
('11', 'Wann gehen wir DM West für Pala Epic', 'no', '3', '0', 'TurboPala'),
('15', 'An welchen Teilen des Abendprogramms bin ich dabei? (Mehrfachnennung möglich)', 'no', '4', '0', 'Jo'),
('18', 'Ich möchte am Proberun MC am Dienstag teilnehmen', 'no', '4', '0', 'Jo'),
('19', 'Ja ich komme zum MC Vorbereitungsrun', 'no', '4', '0', 'Jo'),
('20', 'Besteht Interesse an ZG/AQ20', 'no', '8', '0', 'Doikatei'),
('21', 'Ich will eine PArtnerschaft mit den MM\'s und mag sie auch zum Braukeller als Gäste zulassen', 'no', '4', '0', 'Jo'),
('22', 'Ich kann an EINEM der folgenden Tage eher regelmässig an unserem gemeinsamen 20er Run mit den BM+MM teilnehmen', 'no', '4', '0', 'Jo'),
('23', 'Wie geht es mit der Gildenleitung/Wirten weiter', 'no', '4', '0', 'Jo'),
('24', 'Wer ist heute Abend mit dabei?', 'no', '39', '0', 'Uerige'),
('25', 'Di. 26.09. TS Brewmasters', 'no', '8', '0', 'Doikatei'),
('26', 'Wer hat welche Quest', 'no', '21', '0', 'Thorald'),
('27', 'Was haltet ihr von den Ideen?', 'no', '66', '1162773759', 'Edhilchîr'),
('28', 'Was haltet ihr davon', 'no', '66', '0', 'Edhilchîr'),
('29', 'Was möchtet Ihr am Dienstag machen', 'no', '21', '1162309899', 'Thorald'),
('30', 'Teilnahme am Gildenevent', 'no', '21', '1163546023', 'Thorald'),
('31', 'PVP Stammgruppe', 'no', '21', '1165755754', 'Thorald'),
('32', 'PVP Gildenevent', 'no', '21', '1164319342', 'Thorald'),
('33', 'Ich finde folgende Raidinhalte klasse und würd die gerne mal intern spielen', 'no', '4', '1164988174', 'Jo'),
('34', 'Wo soll das Glühweintrinken stattfinden', 'no', '8', '0', 'Doikatei'),
('35', 'Den Teamspeak Server Status im Forum (oben) finde ich...', 'no', '3', '1166729563', 'TurboPala'),
('36', 'Zum Glühweintrinken kann ich', 'no', '3', '1167058157', 'TurboPala'),
('37', 'Besteht Interesse an dem Angebot?', 'no', '37', '0', 'Mannipoc'),
('38', 'PVP-Interesse', 'no', '6', '1166022644', 'Dariel'),
('39', 'Welche Instanzen sollen wir bis zur ersten BC Raidinstanz wie spielen ?', 'no', '4', '0', 'Jo'),
('40', 'Gildentag, Donnerstags', 'no', '21', '0', 'Thorald');
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 'SUBSTRING(p.question, 1, 255), votingLocked, ID_MEMBER, expireT
--- End quote ---
JayBachatero:
Ok updated the converter. It now converts attachments as well.
lunzet:
Thanks for all your support. We are getting closer and closer.
next error:
--- Code: ---Converting...
Converting topic notifications... Unsuccessful!
This query:
INSERT INTO `smf`.smf_log_notify
(ID_MEMBER, ID_TOPIC)
VALUES ('3', '7'),
('3', '8'),
('3', '9'),
('3', '10'),
('3', '11'),
('3', '12'),
('3', '14'),
('4', '14'),
('8', '413'),
('3', '27'),
('3', '28'),
('11', '387'),
('3', '29'),
('3', '32'),
('3', '34'),
('3', '37'),
('3', '40'),
('3', '42'),
('3', '43'),
('3', '44'),
('3', '45'),
('4', '47'),
('3', '47'),
('8', '542'),
('4', '126'),
('3', '51'),
('3', '52'),
('4', '53'),
('4', '54'),
('4', '55'),
('3', '56'),
('3', '58'),
('4', '58'),
('4', '62'),
('3', '62'),
('8', '62'),
('8', '64'),
('3', '65'),
('4', '69'),
('3', '69'),
('8', '69'),
('3', '70'),
('4', '74'),
('4', '76'),
('8', '77'),
('8', '78'),
('9', '122'),
('3', '84'),
('4', '85'),
('3', '86'),
('4', '86'),
('3', '88'),
('3', '89'),
('4', '88'),
('4', '90'),
('9', '69'),
('4', '91'),
('9', '93'),
('3', '91'),
('3', '90'),
('3', '96'),
('7', '90'),
('11', '90'),
('11', '96'),
('9', '90'),
('4', '96'),
('9', '96'),
('3', '99'),
('4', '99'),
('8', '98'),
('4', '98'),
('7', '98'),
('7', '96'),
('7', '99'),
('11', '98'),
('8', '122'),
('8', '96'),
('8', '101'),
('11', '122'),
('3', '101'),
('11', '99'),
('4', '104'),
('7', '104'),
('4', '106'),
('9', '106'),
('8', '108'),
('3', '108'),
('4', '108'),
('8', '110'),
('4', '110'),
('4', '112'),
('3', '110'),
('8', '112'),
('3', '118'),
('4', '119'),
('4', '120'),
('9', '121'),
('3', '121'),
('4', '121'),
('3', '112'),
('4', '122'),
('4', '128'),
('3', '129'),
('7', '319'),
('4', '131'),
('7', '131'),
('4', '133'),
('3', '133'),
('3', '135'),
('3', '137'),
('3', '138'),
('9', '138'),
('7', '138'),
('4', '144'),
('8', '128'),
('7', '128'),
('4', '140'),
('8', '141'),
('10', '141'),
('10', '128'),
('4', '141'),
('4', '142'),
('3', '144'),
('4', '146'),
('4', '147'),
('3', '176'),
('8', '146'),
('3', '149'),
('11', '131'),
('8', '155'),
('3', '155'),
('9', '155'),
('11', '392'),
('11', '391'),
('4', '160'),
('4', '161'),
('4', '162'),
('11', '161'),
('8', '162'),
('3', '162'),
('3', '179'),
('9', '161'),
('8', '160'),
('3', '177'),
('4', '163'),
('7', '156'),
('7', '164'),
('4', '164'),
('11', '164'),
('11', '163'),
('11', '162'),
('7', '122'),
('8', '161'),
('3', '161'),
('3', '164'),
('3', '165'),
('3', '166'),
('4', '171'),
('7', '165'),
('8', '172'),
('3', '172'),
('8', '165'),
('4', '179'),
('4', '170'),
('4', '169'),
('4', '177'),
('11', '170'),
('4', '181'),
('8', '179'),
('8', '181'),
('4', '182'),
('3', '182'),
('4', '183'),
('4', '184'),
('11', '184'),
('7', '182'),
('8', '212'),
('8', '189'),
('4', '188'),
('8', '182'),
('7', '212'),
('7', '210'),
('8', '210'),
('8', '65'),
('3', '191'),
('8', '191'),
('7', '191'),
('4', '191'),
('4', '192'),
('3', '192'),
('7', '193'),
('4', '193'),
('4', '189'),
('11', '193'),
('8', '193'),
('4', '198'),
('4', '199'),
('4', '200'),
('4', '202'),
('4', '203'),
('8', '203'),
('3', '333'),
('4', '208'),
('11', '160'),
('3', '160'),
('7', '160'),
('11', '210'),
('4', '210'),
('4', '27'),
('11', '214'),
('4', '214'),
('7', '214'),
('7', '112'),
('8', '215'),
('4', '215'),
('3', '215'),
('7', '215'),
('7', '192'),
('4', '217'),
('8', '192'),
('8', '217'),
('3', '593'),
('8', '184'),
('11', '217'),
('3', '217'),
('7', '217'),
('7', '141'),
('3', '141'),
('11', '202'),
('11', '219'),
('3', '219'),
('7', '299'),
('7', '222'),
('11', '390'),
('8', '222'),
('4', '222'),
('11', '223'),
('8', '223'),
('8', '224'),
('8', '225'),
('11', '224'),
('3', '202'),
('8', '202'),
('3', '227'),
('8', '228'),
('8', '229'),
('4', '228'),
('4', '229'),
('8', '231'),
('7', '231'),
('11', '228'),
('4', '231'),
('8', '233'),
('8', '144'),
('8', '235'),
('4', '235'),
('8', '236'),
('3', '235'),
('11', '235'),
('4', '237'),
('3', '238'),
('11', '239'),
('4', '240'),
('8', '237'),
('11', '479'),
('3', '471'),
('4', '243'),
('8', '243'),
('11', '243'),
('4', '244'),
('11', '244'),
('8', '244'),
('3', '244'),
('3', '243'),
('7', '243'),
('8', '245'),
('3', '245'),
('4', '246'),
('7', '244'),
('7', '221'),
('7', '228'),
('4', '221'),
('11', '221'),
('11', '251'),
('7', '251'),
('8', '250'),
('8', '221'),
('8', '252'),
('7', '250'),
('8', '253'),
('11', '250'),
('8', '286'),
('3', '252'),
('8', '723'),
('8', '262'),
('3', '263'),
('8', '263'),
('7', '263'),
('11', '264'),
('11', '266'),
('11', '389'),
('8', '270'),
('7', '266'),
('11', '270'),
('7', '270'),
('11', '260'),
('8', '277'),
('3', '489'),
('11', '288'),
('8', '288'),
('8', '291'),
('8', '292'),
('8', '295'),
('7', '294'),
('3', '322'),
('7', '297'),
('8', '297'),
('3', '299'),
('8', '299'),
('3', '292'),
('10', '299'),
('11', '304'),
('8', '304'),
('8', '305'),
('3', '306'),
('8', '310'),
('11', '310'),
('3', '310'),
('3', '315'),
('8', '317'),
('7', '318'),
('7', '310'),
('8', '318'),
('3', '318'),
('3', '320'),
('8', '319'),
('11', '319'),
('7', '320'),
('9', '319'),
('11', '377'),
('8', '322'),
('9', '323'),
('3', '324'),
('8', '324'),
('11', '324'),
('3', '319'),
('8', '331'),
('8', '335'),
('8', '336'),
('11', '338'),
('8', '338'),
('8', '339'),
('8', '340'),
('11', '340'),
('11', '342'),
('8', '341'),
('8', '345'),
('8', '346'),
('8', '353'),
('11', '346'),
('11', '350'),
('31', '351'),
('3', '337'),
('11', '353'),
('8', '343'),
('3', '351'),
('8', '355'),
('8', '351'),
('8', '357'),
('3', '358'),
('3', '358'),
('3', '348'),
('8', '348'),
('11', '361'),
('8', '361'),
('3', '361'),
('8', '362'),
('7', '361'),
('8', '364'),
('11', '357'),
('9', '382'),
('3', '364'),
('3', '366'),
('8', '368'),
('7', '367'),
('3', '367'),
('11', '369'),
('8', '370'),
('8', '369'),
('8', '371'),
('3', '371'),
('8', '376'),
('8', '377'),
('8', '380'),
('3', '377'),
('7', '377'),
('8', '385'),
('8', '387'),
('7', '387'),
('3', '388'),
('3', '387'),
('11', '393'),
('11', '394'),
('11', '395'),
('8', '396'),
('8', '397'),
('8', '400'),
('11', '401'),
('8', '401'),
('8', '404'),
('8', '405'),
('11', '405'),
('3', '404'),
('8', '407'),
('8', '366'),
('8', '412'),
('3', '412'),
('3', '414'),
('8', '414'),
('11', '415'),
('3', '415'),
('8', '415'),
('10', '415'),
('10', '366'),
('10', '407'),
('3', '417'),
('7', '417'),
('8', '418'),
('3', '419'),
('7', '420'),
('8', '420'),
('8', '421'),
('3', '420'),
('11', '420'),
('8', '422'),
('3', '428'),
('8', '427'),
('3', '431'),
('7', '431'),
('7', '432'),
('3', '433'),
('8', '432'),
('3', '434'),
('3', '436'),
('7', '437'),
('8', '436'),
('8', '443'),
('8', '444'),
('3', '445'),
('7', '447'),
('3', '447'),
('8', '445'),
('8', '447'),
('8', '446'),
('3', '448'),
('8', '448'),
('7', '366'),
('11', '366'),
('10', '447'),
('10', '434'),
('3', '449'),
('11', '331'),
('8', '449'),
('11', '449'),
('7', '331'),
('7', '450'),
('10', '449'),
('3', '451'),
('3', '453'),
('8', '454'),
('10', '454'),
('8', '459'),
('3', '459'),
('11', '461'),
('8', '462'),
('8', '463'),
('8', '461'),
('8', '464'),
('8', '465'),
('11', '465'),
('8', '466'),
('3', '304'),
('3', '461'),
('3', '331'),
('3', '465'),
('11', '508'),
('10', '465'),
('9', '470'),
('11', '485'),
('3', '470'),
('8', '481'),
('8', '484'),
('3', '479'),
('8', '477'),
('8', '479'),
('3', '484'),
('39', '182'),
('39', '477'),
('11', '455'),
('8', '485');
Caused the error:
Duplicate entry '3-7-0' for key 1
--- End code ---
Navigation
[0] Message Index
[#] Next page
Go to full version