Mystinen Metsätyömies Member Jul 19, 2017 #1 I tried to import a SMF 2.0.13 forum to latest version of XenForo. I got this error message and the import ended. Any suggestions what to do next?
I tried to import a SMF 2.0.13 forum to latest version of XenForo. I got this error message and the import ended. Any suggestions what to do next?
Chris D XenForo developer Staff member Jul 19, 2017 #2 Sorry, this is a bug. Please open the file: library/XenForo/Importer/SMF.php Find: PHP: $string = preg_replace('#\[attach=(\d+)\]', '[ATTACH]$1.SMF[/ATTACH]', $string); Replace with: PHP: $string = preg_replace('#\[attach=(\d+)\]#', '[ATTACH]$1.SMF[/ATTACH]', $string); That should get it going.
Sorry, this is a bug. Please open the file: library/XenForo/Importer/SMF.php Find: PHP: $string = preg_replace('#\[attach=(\d+)\]', '[ATTACH]$1.SMF[/ATTACH]', $string); Replace with: PHP: $string = preg_replace('#\[attach=(\d+)\]#', '[ATTACH]$1.SMF[/ATTACH]', $string); That should get it going.
Mystinen Metsätyömies Member Jul 19, 2017 #3 Thanks! EDIT: It works now - confirmed! Last edited: Jul 19, 2017