Race Sim Central
Member
- Affected version
- 1.5.2 importers latest xf
Can anyone help? I am importing a vBulletin forum to xenForo on the same mysql server.
SELECT post.*,
IF(user.username IS NULL, post.username, user.username) AS username,
thread.title AS threadtitle,
editlog.dateline AS editdate,
editlog.userid AS edituserid,
deletionlog.userid AS deleteuserid,
deletionlog.username AS deleteusername,
deletionlog.reason AS deletereason,
deletionlog.dateline AS deletedate
FROM post AS
post USE INDEX (threadid)
LEFT JOIN thread AS
thread ON (post.threadid = thread.threadid)
LEFT JOIN user AS
user ON (user.userid = post.userid)
LEFT JOIN editlog AS
editlog ON (editlog.postid = post.postid)
LEFT JOIN deletionlog AS
deletionlog ON (deletionlog.primaryid = post.postid AND deletionlog.type = 'post')
WHERE post.threadid = ?
AND post.dateline > ?
ORDER BY post.dateline, post.postid
LIMIT ?
------------
#0 src/XF/Db/Mysqli/Statement.php(198): XF\Db\AbstractStatement->getException('MySQL statement...', 1176, '42000')
#1 src/XF/Db/Mysqli/Statement.php(41): XF\Db\Mysqli\Statement->getException('MySQL statement...', 1176, '42000')
#2 src/XF/Db/Mysqli/Statement.php(56): XF\Db\Mysqli\Statement->prepare()
#3 src/XF/Db/AbstractAdapter.php(96): XF\Db\Mysqli\Statement->execute()
#4 src/XF/Db/AbstractAdapter.php(157): XF\Db\AbstractAdapter->query('
SELECT post...', Array)
#5 src/addons/XFI/Import/Importer/vBulletin.php(3148): XF\Db\AbstractAdapter->fetchAll('
SELECT post...', Array)
#6 src/XF/Import/Importer/StepPostsTrait.php(105): XFI\Import\Importer\vBulletin->getPostsForPostsStep(7, 0)
#7 src/XF/Import/Runner.php(244): XFI\Import\Importer\vBulletin->stepPosts(Object(XF\Import\StepState), Array, 8)
#8 src/XF/Import/Runner.php(61): XF\Import\Runner->runStep('posts', Object(XF\Import\StepState), 8)
#9 src/XF/Admin/Controller/Import.php(234): XF\Import\Runner->run()
#10 src/XF/Mvc/Dispatcher.php(352): XF\Admin\Controller\Import->actionRun(Object(XF\Mvc\ParameterBag))
#11 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('XF:Import', 'Run', Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\Import), NULL)
#12 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\Import), NULL)
#13 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#14 src/XF/App.php(2483): XF\Mvc\Dispatcher->run()
#15 src/XF.php(524): XF\App->run()
#16 admin.php(13): XF::runApp('XF\\Admin\\App')
#17 {main}
- XF\Db\InvalidQueryException: MySQL statement prepare error [1176]: Key 'threadid' doesn't exist in table 'post'
- src/XF/Db/AbstractStatement.php:230
SELECT post.*,
IF(user.username IS NULL, post.username, user.username) AS username,
thread.title AS threadtitle,
editlog.dateline AS editdate,
editlog.userid AS edituserid,
deletionlog.userid AS deleteuserid,
deletionlog.username AS deleteusername,
deletionlog.reason AS deletereason,
deletionlog.dateline AS deletedate
FROM post AS
post USE INDEX (threadid)
LEFT JOIN thread AS
thread ON (post.threadid = thread.threadid)
LEFT JOIN user AS
user ON (user.userid = post.userid)
LEFT JOIN editlog AS
editlog ON (editlog.postid = post.postid)
LEFT JOIN deletionlog AS
deletionlog ON (deletionlog.primaryid = post.postid AND deletionlog.type = 'post')
WHERE post.threadid = ?
AND post.dateline > ?
ORDER BY post.dateline, post.postid
LIMIT ?
------------
#0 src/XF/Db/Mysqli/Statement.php(198): XF\Db\AbstractStatement->getException('MySQL statement...', 1176, '42000')
#1 src/XF/Db/Mysqli/Statement.php(41): XF\Db\Mysqli\Statement->getException('MySQL statement...', 1176, '42000')
#2 src/XF/Db/Mysqli/Statement.php(56): XF\Db\Mysqli\Statement->prepare()
#3 src/XF/Db/AbstractAdapter.php(96): XF\Db\Mysqli\Statement->execute()
#4 src/XF/Db/AbstractAdapter.php(157): XF\Db\AbstractAdapter->query('
SELECT post...', Array)
#5 src/addons/XFI/Import/Importer/vBulletin.php(3148): XF\Db\AbstractAdapter->fetchAll('
SELECT post...', Array)
#6 src/XF/Import/Importer/StepPostsTrait.php(105): XFI\Import\Importer\vBulletin->getPostsForPostsStep(7, 0)
#7 src/XF/Import/Runner.php(244): XFI\Import\Importer\vBulletin->stepPosts(Object(XF\Import\StepState), Array, 8)
#8 src/XF/Import/Runner.php(61): XF\Import\Runner->runStep('posts', Object(XF\Import\StepState), 8)
#9 src/XF/Admin/Controller/Import.php(234): XF\Import\Runner->run()
#10 src/XF/Mvc/Dispatcher.php(352): XF\Admin\Controller\Import->actionRun(Object(XF\Mvc\ParameterBag))
#11 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('XF:Import', 'Run', Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\Import), NULL)
#12 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\Import), NULL)
#13 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#14 src/XF/App.php(2483): XF\Mvc\Dispatcher->run()
#15 src/XF.php(524): XF\App->run()
#16 admin.php(13): XF::runApp('XF\\Admin\\App')
#17 {main}