ElkArte Community

Title: [Wedge 1.0] Importer
Post by: TE on January 26, 2016, 06:27:09 am
The attached version should import a wedge forum to ElkArte.. It's still based on an outdated version of OpenImporter but it should work  :-[

Importing settings... ✔
Importing members... ✔
Importing attachments... ✔
Importing avatars... ✔
Importing categories... ✔
Importing collapsed categories... ✔
Importing boards... ✔
Importing topics... ✔
Importing messages... ✔
Importing polls... ✔
Importing poll choices... ✔
Importing poll votes... ✔
Importing personal messages... ✔
Importing pm recipients... ✔
Importing pm rules... ✔
Importing board moderators... ✔
Importing mark read data (topics)... ✔
Importing mark read data... ✔
Importing notifications... ✔
Importing membergroups... ✔
Importing group moderators... ✔
Importing permission profiles... ✔
Importing permissions... ✔
Importing board permissions... ✔
Importing smileys... ✔
Copying smileys... ✔
Importing statistics (activity log)... ✔
Importing logged actions... ✔
Importing reported posts... ✔
Importing reported comments... ✔
Importing spider hits... ✔
Importing spider stats... ✔
Importing subscriptions... ✔
Recalculating statistics... ✔

Note: I'n not sure with the ip adress import for the messages, the format seems somewhat different compared to ElkArte's ipv6 implemantation.

Good Luck and hopefully Welcome to ElkArte  :D
Title: Re: [Wedge 1.0] Importer
Post by: Jorin on January 26, 2016, 06:49:21 am
Great! Thanks!  :)
Title: Re: [Wedge 1.0] Importer
Post by: txcas on January 26, 2016, 07:30:43 pm
Thank you!
Title: Re: [Wedge 1.0] Importer
Post by: subram on January 06, 2017, 03:35:32 pm
Hi,

We currently using wedge on the www.elektronark.org. We want use elkarte :)
Our forum runnig on the my linux server. I read a lot of tihgns about importer and composer also  I am confused.
Dou you help me using the importer?
Title: Re: [Wedge 1.0] Importer
Post by: radu81 on January 06, 2017, 06:13:29 pm
Hello and welcome to elkarte!
You don't need composer to migrate from wedge or other software to elkarte. 

To migrate from wedge to elkarte:

take into consideration that Wedge has an internal gallery, for now there is no gallery available for elkarte.
Title: Re: [Wedge 1.0] Importer
Post by: Spuds on January 06, 2017, 06:45:33 pm
What he said ^^

Also the version of Open Importer (OI)
here (https://github.com/OpenImporter/openimporter) should have the latest updates and importers as well, I'd suggest starting with that version.
Title: Re: [Wedge 1.0] Importer
Post by: subram on January 07, 2017, 04:47:17 am
Thank you for your quick reply
@radu81  I tried your recommend. It is worked and I take some error about MYSQL.
What should I do?
Code: [Select]
Sorry, the database connection information used in the specified installation of your forum cannot access the installation of %1. This may either mean that the installation doesn't exist, or that the MySQL account used does not have permissions to access it.

The error MySQL gave was: 'SELECT command denied to user 'elkarte'@'localhost' for table 'wedge_members'
Title: Re: [Wedge 1.0] Importer
Post by: Trekkie101 on January 07, 2017, 04:58:43 am
You need to add the database user 'elkarte' to the 'wedge' database with all privellages. It currently has none.
Title: Re: [Wedge 1.0] Importer
Post by: subram on January 07, 2017, 05:08:48 am
'Elkarte' user already in in database. but in the Wedge, it is in the Elkarte .
Title: Re: [Wedge 1.0] Importer
Post by: Trekkie101 on January 07, 2017, 05:37:51 am
What control panel do you have on your web host?

The login details for the elkarte user are correct but it doesn't have the permissions on the database.

Code: [Select]
The error MySQL gave was: 'SELECT command denied to user 'elkarte'@'localhost' for table 'wedge_members'
Title: Re: [Wedge 1.0] Importer
Post by: subram on January 07, 2017, 06:35:27 am
I give root permission to 'elkarte' user and problem solved.
Importe work and finished mission but  it not imported all of them.
web site is now not accessible. http://elkarte.elektronark.org/

Title: Re: [Wedge 1.0] Importer
Post by: radu81 on January 07, 2017, 07:44:27 am
Importing spider hits you can ignore this, it's not important
Check on your elkarte forum if everything else was imported correctly: topics, posts, users, avatars, PM, attachments, permissions, etc

Check your log errors
Title: Re: [Wedge 1.0] Importer
Post by: subram on January 07, 2017, 08:05:05 am
@radu81 thank you. It is my mistake. it is work.
http://elkarte.elektronark.org/index.php

Thank you again and Hello ElkArte :D
Title: Re: [Wedge 1.0] Importer
Post by: radu81 on January 07, 2017, 08:47:46 am
You're welcome!

your avatars are not visible, check the avatar path in Admin > Forum > Attachments and avatars > Settings for avatars

or run repair settings, see here http://tools.elkarte.net/2014/12/repair_settings/
Title: Re: [Wedge 1.0] Importer
Post by: subram on January 07, 2017, 09:31:02 am
I have error
Code: [Select]
Fatal error: Call to undefined function database() in /xxxxxx/repair_settings.php on line 122
Title: Re: [Wedge 1.0] Importer
Post by: Spuds on January 07, 2017, 05:43:23 pm
Thats strange ... is it in the root of your ElkArte Install ?
Title: Re: [Wedge 1.0] Importer
Post by: subram on January 08, 2017, 01:49:51 am
Yes, Elkarte user have root permissions.
Title: Re: [Wedge 1.0] Importer
Post by: radu81 on January 08, 2017, 04:29:00 am
Spuds asked if repaire_settings.php  is located in the root of your forum (should be elektronark.org/repair_settings.php ) 
Title: Re: [Wedge 1.0] Importer
Post by: subram on January 08, 2017, 04:44:59 am
Sorry, my english not good :(

Yes I push it to elektronark.org/repair_settings.php
Title: Re: [Wedge 1.0] Importer
Post by: Kian on November 21, 2024, 12:13:34 pm
Quote from: TE – The attached version should import a wedge forum to ElkArte.. It's still based on an outdated version of OpenImporter but it should work  :-[

Importing settings... ✔
Importing members... ✔
Importing attachments... ✔
Importing avatars... ✔
Importing categories... ✔
Importing collapsed categories... ✔
Importing boards... ✔
Importing topics... ✔
Importing messages... ✔
Importing polls... ✔
Importing poll choices... ✔
Importing poll votes... ✔
Importing personal messages... ✔
Importing pm recipients... ✔
Importing pm rules... ✔
Importing board moderators... ✔
Importing mark read data (topics)... ✔
Importing mark read data... ✔
Importing notifications... ✔
Importing membergroups... ✔
Importing group moderators... ✔
Importing permission profiles... ✔
Importing permissions... ✔
Importing board permissions... ✔
Importing smileys... ✔
Copying smileys... ✔
Importing statistics (activity log)... ✔
Importing logged actions... ✔
Importing reported posts... ✔
Importing reported comments... ✔
Importing spider hits... ✔
Importing spider stats... ✔
Importing subscriptions... ✔
Recalculating statistics... ✔

Note: I'n not sure with the ip adress import for the messages, the format seems somewhat different compared to ElkArte's ipv6 implemantation.

Good Luck and hopefully Welcome to ElkArte  :D

Hello and thanks for the script.

I know I'm upping a very old topic, but I'm currently tyring to migrate from Wedge and it seems that, as mentioned at the end of your post, it's not IPv6 compatible. The export from Wedge to Elkarte 1.0 works up until I've setup IPv6 on my forum DNS. It crashes at my first ever IPv6 message   :sweat:

Would there happen to be a way to clear / modify these IPv6, and don't actually need to keep them logged for the migration.

If not I think I'll just proceed with the following query and hope for the best :

Code: [Select]
UPDATE wedge_messages SET posterIP = '127.0.0.1';
Title: Re: [Wedge 1.0] Importer
Post by: Kian on November 22, 2024, 06:42:02 am
Quote from: Kian – If not I think I'll just proceed with the following query and hope for the best :

Code: [Select]
UPDATE wedge_messages SET posterIP = '127.0.0.1';

Well, for anyone who may need this, it actually worked but with the following query :

Code: [Select]
MariaDB [MyDatabase]> UPDATE wedge_messages SET poster_ip = '0';
Query OK, 209915 rows affected (2.668 sec)
Rows matched: 209915  Changed: 209915  Warnings: 0

MariaDB [MyDatabase]>