- Joined
- Nov 25, 2022
- Messages
- 693
- Points
- 253
Reputation:
@5je7taxs I am getting this error as there is no xf_import_log table in the database I used xf_admin_log and xf_feed_log at two different times and got the same error for both also import log field was necessary.
any idea how to fix this?
Code:
XF\Db\Exception: MySQL statement prepare error [1054]: Unknown column 'old_id' in 'field list' 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 41
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 177
XF\Db\AbstractAdapter->fetchPairs() in src/XF/Import/Log.php at line 61
XF\Import\Log->lookup() in src/XF/Import/Log.php at line 87
XF\Import\Log->lookupId() in src/XF/Import/Importer/AbstractAddOnImporter.php at line 61
XF\Import\Importer\AbstractAddOnImporter->lookupId() in src/addons/XFRM/Import/Importer/XFRM2.php at line 177
XFRM\Import\Importer\XFRM2->importCategoryTree() in src/addons/XFRM/Import/Importer/XFRM2.php at line 120
XFRM\Import\Importer\XFRM2->stepCategories() 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 259
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 2604
XF\App->run() in src/XF.php at line 486
XF::runApp() in admin.php at line 13
any idea how to fix this?
- Joined
- Jul 31, 2023
- Messages
- 46
- Points
- 8
Reputation:
- By 5je7taxs
@5je7taxs I am getting this error as there is no xf_import_log table in the database I used xf_admin_log and xf_feed_log at two different times and got the same error for both also import log field was necessary.
Code:XF\Db\Exception: MySQL statement prepare error [1054]: Unknown column 'old_id' in 'field list' 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 41 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 177 XF\Db\AbstractAdapter->fetchPairs() in src/XF/Import/Log.php at line 61 XF\Import\Log->lookup() in src/XF/Import/Log.php at line 87 XF\Import\Log->lookupId() in src/XF/Import/Importer/AbstractAddOnImporter.php at line 61 XF\Import\Importer\AbstractAddOnImporter->lookupId() in src/addons/XFRM/Import/Importer/XFRM2.php at line 177 XFRM\Import\Importer\XFRM2->importCategoryTree() in src/addons/XFRM/Import/Importer/XFRM2.php at line 120 XFRM\Import\Importer\XFRM2->stepCategories() 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 259 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 2604 XF\App->run() in src/XF.php at line 486 XF::runApp() in admin.php at line 13
any idea how to fix this?
or in that logs field put - xf_import_log
as it worked for me and no errors
- Joined
- Nov 25, 2022
- Messages
- 693
- Points
- 253
Reputation:
- By Zer01ne
create a table in sql name it - xf_import_log
or in that logs field put - xf_import_log
as it worked for me and no errors
didn't work out for me.
I just created a table with ID as you can see in my DB there is a table called xf_import_log but in import option it says The forum import log can't be found.
- Joined
- Jul 31, 2023
- Messages
- 46
- Points
- 8
Reputation:
- By 5je7taxs
View attachment 40624
didn't work out for me.
I just created a table with ID as you can see in my DB there is a table called xf_import_log but in import option it says The forum import log can't be found.