Vintage175
New member
- Affected version
- 2.2.15
Hi All,
New to XenForo, attempting to import SMF forum to XenForo and received this error:
XF\Db\InvalidQueryException: MySQL statement prepare error [1176]: Key 'PRIMARY' doesn't exist in table 'topics' in src/XF/Db/AbstractStatement.php at line 230
-------------
Additional detail of error attached (screenshots).
Any assistance in how to overcome this would be much appreciated.
Thank you.
New to XenForo, attempting to import SMF forum to XenForo and received this error:
XF\Db\InvalidQueryException: MySQL statement prepare error [1176]: Key 'PRIMARY' doesn't exist in table 'topics' in src/XF/Db/AbstractStatement.php at line 230
- XF\Db\AbstractStatement->getException() in src/XF/Db/Mysqli/Statement.php at line 198
- XF\Db\Mysqli\Statement->getException() in src/XF/Db/Mysqli/Statement.php at line 40
- XF\Db\Mysqli\Statement->prepare() in src/XF/Db/Mysqli/Statement.php at line 56
- XF\Db\Mysqli\Statement->execute() in src/XF/Db/AbstractAdapter.php at line 96
- XF\Db\AbstractAdapter->query() in src/XF/Db/AbstractAdapter.php at line 167
- XF\Db\AbstractAdapter->fetchAllKeyed() in src/addons/XFI/Import/Importer/SMF.php at line 1258
- XFI\Import\Importer\SMF->stepThreads() in src/XF/Import/Runner.php at line 244
- XF\Import\Runner->runStep() in src/XF/Import/Runner.php at line 61
- XF\Import\Runner->run() in src/XF/Admin/Controller/Import.php at line 234
- XF\Admin\Controller\Import->actionRun() in src/XF/Mvc/Dispatcher.php at line 352
- XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 258
- XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 115
- XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 57
- XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2487
- XF\App->run() in src/XF.php at line 524
- XF::runApp() in admin.php at line 13
-------------
Additional detail of error attached (screenshots).
Any assistance in how to overcome this would be much appreciated.
Thank you.