Is it Possible to transfer Xenforo Resources?

Zer01ne

Collaborate
Collaborate
Registered
Joined
Nov 25, 2022
Messages
693
Points
253

Reputation:

Hello, I am currently seeking a solution for transferring resources from one XenForo website to another.
Can you provide any guidance on how to accomplish this task?
Thank you.
 

Splicho

Emudevs.gg Owner
Staff member
Moderator
Collaborate
Registered
Joined
Jan 21, 2022
Messages
654
Points
103

Reputation:

Hello, I am currently seeking a solution for transferring resources from one XenForo website to another.
Can you provide any guidance on how to accomplish this task?
Thank you.
Zer01neTake the db + internal_data and data folder.

Edit: You may also take a look into XenForo Importers, there's a chance it comes with XenForo Resource manager support.
 

Zer01ne

Collaborate
Collaborate
Registered
Joined
Nov 25, 2022
Messages
693
Points
253

Reputation:

Take the db + internal_data and data folder.

Edit: You may also take a look into XenForo Importers, there's a chance it comes with XenForo Resource manager support.
Splichothe problem is I already have a few resources on the existing site where I intend to import so how can I avoid conflict?
 

Zer01ne

Collaborate
Collaborate
Registered
Joined
Nov 25, 2022
Messages
693
Points
253

Reputation:

Take the db + internal_data and data folder.

Edit: You may also take a look into XenForo Importers, there's a chance it comes with XenForo Resource manager support.
Splichothe problem is I already have a few resources on the existing site where I intend to import so how can I avoid conflict?
 

5je7taxs

Well-known member
Registered
Joined
Jul 31, 2023
Messages
46
Points
8

Reputation:

Hello, I am currently seeking a solution for transferring resources from one XenForo website to another.
Can you provide any guidance on how to accomplish this task?
Thank you.
Zer01neYes you can import resources from old database with XenForo Importers, make sure to install all required addons before importing data
 

Zer01ne

Collaborate
Collaborate
Registered
Joined
Nov 25, 2022
Messages
693
Points
253

Reputation:

Yes you can import resources from old database with XenForo Importers, make sure to install all required addons before importing data
5je7taxs
1714578086777.jpg


Found this but can't undertand about the Data directory, Internal data directory, Forum Import log options.
 
View previous replies…

5je7taxs

Well-known member
Registered
Joined
Jul 31, 2023
Messages
46
Points
8

Reputation:

View attachment 40201

Found this but can't undertand about the Data directory, Internal data directory, Forum Import log options.
Zer01ne
Code:
/www/wwwroot/olddomainname/internal_data

/www/wwwroot/olddomainname/data
also when data gets import it wont have same id's it will generate random id as it get data randomly so no conflict
for example if we have admin id=1 after importing it wont be at UID=1 it will be when that id was fetched
 
Last edited:

Zer01ne

Collaborate
Collaborate
Registered
Joined
Nov 25, 2022
Messages
693
Points
253

Reputation:

Code:
/www/wwwroot/olddomainname/internal_data

/www/wwwroot/olddomainname/data
also when data gets import it wont have same id's it will generate random id as it get data randomly so no conflict
for example if we have admin id=1 after importing it wont be at UID=1 it will be when that id was feteched
5je7taxs
1714579270713.png


it shows this
 

Zer01ne

Collaborate
Collaborate
Registered
Joined
Nov 25, 2022
Messages
693
Points
253

Reputation:

Check if opendir is enable disable it or check server error logs need more details
5je7taxsOpenbash directory is disabled for both websites and if I put a new website URL instead of the old one it asks for completing all required fields. and if I use the old domain it shows the previous error

1714580681789.png
 

Zer01ne

Collaborate
Collaborate
Registered
Joined
Nov 25, 2022
Messages
693
Points
253

Reputation:

1714581681755.png


IDK why, It's not working for me openBash Dir is disabled and files and read/write permissions.

Thanks you for your assistance guys.
 

5je7taxs

Well-known member
Registered
Joined
Jul 31, 2023
Messages
46
Points
8

Reputation:

View attachment 40204

IDK why, It's not working for me openBash Dir is disabled and files and read/write permissions.

Thanks you for your assistance guys.
Zer01nepermission to 755 to those folder on old domain try also checker server error logs for more detailed error
 
View previous replies…

Zer01ne

Collaborate
Collaborate
Registered
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.

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?
 

5je7taxs

Well-known member
Registered
Joined
Jul 31, 2023
Messages
46
Points
8

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.

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?
Zer01necreate 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
 

Zer01ne

Collaborate
Collaborate
Registered
Joined
Nov 25, 2022
Messages
693
Points
253

Reputation:

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
5je7taxs
1715992606422.jpeg


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.
 
Top