Not a bug Importing from vB 4.1.5

MattL

New member
Affected version
2.0.1
Getting an error when importing from vB 4.1.5. The users imported but threads / posts will not.

XF\Db\Exception: MySQL statement prepare error [1054]: Unknown column 'filedata' in 'field list' src/XF/Db/AbstractStatement.php:212


Stack trace
SELECT filedata FROM attachment
WHERE attachmentid = ?

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

#0 src/XF/Db/Mysqli/Statement.php(174): XF\Db\AbstractStatement->getException('MySQL statement...', 1054, '42S22')
#1 src/XF/Db/Mysqli/Statement.php(36): XF\Db\Mysqli\Statement->getException('MySQL statement...', 1054, '42S22')
#2 src/XF/Db/Mysqli/Statement.php(46): XF\Db\Mysqli\Statement->prepare()
#3 src/XF/Db/AbstractAdapter.php(74): XF\Db\Mysqli\Statement->execute()
#4 src/XF/Db/AbstractAdapter.php(86): XF\Db\AbstractAdapter->query('\n\t\t\tSELECT file...', 1)
#5 src/XF/Import/Importer/vBulletin.php(3537): XF\Db\AbstractAdapter->fetchOne('\n\t\t\tSELECT file...', 1)
#6 src/XF/Import/Importer/vBulletin.php(3446): XF\Import\Importer\vBulletin->getAttachmentFileData(1)
#7 src/XF/Import/Runner.php(160): XF\Import\Importer\vBulletin->stepAttachments(Object(XF\Import\StepState), Array, 8)
#8 src/XF/Import/Runner.php(74): XF\Import\Runner->runStep('attachments', Object(XF\Import\StepState), 8)
#9 src/XF/Admin/Controller/Import.php(231): XF\Import\Runner->run()
#10 src/XF/Mvc/Dispatcher.php(249): XF\Admin\Controller\Import->actionRun(Object(XF\Mvc\ParameterBag))
#11 src/XF/Mvc/Dispatcher.php(89): XF\Mvc\Dispatcher->dispatchClass('XF:Import', 'run', 'html', Object(XF\Mvc\ParameterBag), 'importData', Object(XF\Admin\Controller\Import), NULL)
#12 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#13 src/XF/App.php(1880): XF\Mvc\Dispatcher->run()
#14 src/XF.php(328): XF\App->run()
#15 admin.php(13): XF::runApp('XF\\Admin\\App')
#16 {main}
 
I don't believe this to be a bug so we'd need to do some further troubleshooting with you to ascertain the cause and advise on a solution.

Before we do that, please log in to the Customer area and add your forum username to the forum user page. If you're not yet licensed, please purchase a license in the first instance and we'll be happy to help.
 
Back
Top Bottom