Skip to main content
SMF 2.0.17 to Elkarte 1.1.6 - openimporter query? Started by cjazz · · Read 25565 times 0 Members and 2 Guests are viewing this topic. previous topic - next topic

SMF 2.0.17 to Elkarte 1.1.6 - openimporter query?

I am trying to change from a SMF 2.0.17 board to the latest Elkarte 1.1.6 board and have hit a few problems.

What I have done so far:
Installed the Elkarte 1.1.6 board into a new folder named elkarte and used the old forum smf database with elkarte and used "elkarte" for the table prefix.
The new Elkarte board is up and running minus any data, checked the old smf database and the elkarte prefix have been added.

I downloaded OpenImporter and created a new folder named "openimporter" in the http folder and downloaded the contents into the openimporter folder, the folder now comprises of six files and a folder named importer.

I have tried running opening http://blahblah.c0m/openimporter through a web browser and just getting a Forbidden error, so I presume I am using the incorrect path for openimporter to work? or am I doing something else wrong?


Re: SMF 2.0.17 to Elkarte 1.1.6 - openimporter query?

Reply #2

Thanks. I now have access to the openimporter.
Few other questions before I carry out the import.
My current board SMF 2.0.17 also runs a simpleportal. If I decide to install simpleportal on the new elkarte board, do I have to delete the old simpleportal database files from the original SMF database? and then carry out a new installation of simpleportal?

Because the new Elkarte board is now running under a different folder i.e. "elkarte" instead of the original SMF board folder "forum", would there be any problems renaming the elkarte folder back to forum?

Re: SMF 2.0.17 to Elkarte 1.1.6 - openimporter query?

Reply #3

As far as I know there is no no importer from smf SP to Elkarte SP. I also migrated from Smf +SP to Elkarte +SP and I set up the portal from scratch, manually
sorry for my bad english

Re: SMF 2.0.17 to Elkarte 1.1.6 - openimporter query?

Reply #4

Thank you
Anyone able to answer my other question?
"Because the new Elkarte board is now running under a different folder i.e. "elkarte" instead of the original SMF board folder "forum", would there be any problems renaming the elkarte folder back to forum?"

 

Re: SMF 2.0.17 to Elkarte 1.1.6 - openimporter query?

Reply #5

It’s possible, you need to:
  • rename the folder /elkarte to /forum
  • edit Settings.php and correct the paths to your forum and change "elkarte" to "forum"(check these vars $boardurl, $cachedir, $boarddir, $sourcedir, $extdir, $languagedir)
  • run repair_settings.php to correct the paths to attachments, avatars, themes, ecc
sorry for my bad english

Re: SMF 2.0.17 to Elkarte 1.1.6 - openimporter query?

Reply #6

Thank you radu81 the forum is now up and running.
One more question, my database size was previously 90Mb it's now risen to 205Mb. Is it safe to drop all of the SMF prefix database files?

Re: SMF 2.0.17 to Elkarte 1.1.6 - openimporter query?

Reply #7

Before deleting anything do a backup, you'll never know...
If you delete the smf tables your smf forum will stop to work, so be sure everything is imported correctly before deleting.
sorry for my bad english

Re: SMF 2.0.17 to Elkarte 1.1.6 - openimporter query?

Reply #8

Yes do backup and try dropping the tables else have a full copy of the site in another folder with copy database and see if dropping the tables affect the forum.

Re: SMF 2.0.17 to Elkarte 1.1.6 - openimporter query?

Reply #9

I have been having a problem with some text being incorrectly displayed since I converted my smf 2.0.17 to Elkarte 1.1.6. I am sure that the problem is associated with openimporter.
I set up a test board running smf and all the text characters were displaying fine, carried out a new Elkarte installation which imported with no problems. However, the text problem has now returned on the new Elkarte board.
Please can someone help with this problem, boards been off line for a few days?

Re: SMF 2.0.17 to Elkarte 1.1.6 - openimporter query?

Reply #10

Does everyone migrate from smf 2.0.17 without errors? The migration of my forum stops at an error converting tables to private messages. Even if you mark them as skip (don't convert).

So, with the Converter SMF on Elkarte 1.1, there is no exact instructions here, it is posted on different topics, with different recommendations. And from the main page of the Elkarte, the link leads to an outdated Converter.

Re: SMF 2.0.17 to Elkarte 1.1.6 - openimporter query?

Reply #11

Converters do seem to be a bit of a mess, either for SMF or for Elk. Every thread I've read about them seems to mention problems.

Are you trying to convert to Elk 1.0 or Elk 1.1? I think the converter works best if you convert to 1.0, and then upgrade it to 1.1 once it is running on Elk.
Master of Expletives: Now with improved family f@&king friendliness! :D

Sources code: making easy front end changes difficult since 1873. :P

Re: SMF 2.0.17 to Elkarte 1.1.6 - openimporter query?

Reply #12

Quote from: Antechinus – Are you trying to convert to Elk 1.0 or Elk 1.1? I think the converter works best if you convert to 1.0, and then upgrade it to 1.1 once it is running on Elk.

I downloaded the latest version of the migrator from github. There is a choice of version Elk 1.1.
The post with the link was found here: https://www.elkarte.net/community/index.php?topic=4868.msg40208#msg40208

For an example.
I liked how another converter works: from SMF to wpForo. There was no error when converting the database.
https://wpforo.com/docs/root/migrate-to-wpforo/
Last Edit: September 18, 2020, 06:07:26 pm by forumovod

Re: SMF 2.0.17 to Elkarte 1.1.6 - openimporter query?

Reply #13

Results of a simple experiment.

Empty SMF 2.0.17 downloaded from simplemachines.org, and installed in the main directory of the test site.
The elkarte folder is also created there. An empty ElkArte 1.1.6 downloaded from github and is installed in this folder.
Smf_ and elkarte_ were created in the database.
The openimporter folder was created. Openimporter with github https://github.com/OpenImporter/openimporter  is uploaded to this folder.
Launching the importer: /openimporter/import.php
Error! Table membergroups.

screen.jpg

OK, go back 1 step and start the importer. Table membergroups skipped.
Error! Table memberdata to custom fields.

screen2.jpg

Then the errors continued.

Error! Table custom fields data.

screen3.jpg

Error! Recalculating statistics.

screen4.jpg

There was nothing more to skip.  :D

I remind everyone that the SMF 2.0.17 was clean after installation.
Last Edit: September 21, 2020, 10:54:36 pm by forumovod

Re: SMF 2.0.17 to Elkarte 1.1.6 - openimporter query?

Reply #14

Quote from: Antechinus – Are you trying to convert to Elk 1.0 or Elk 1.1? I think the converter works best if you convert to 1.0, and then upgrade it to 1.1 once it is running on Elk.

Convert to Elk 1.0 - the same problem with errors when converting tables membergroups and then https://www.elkarte.net/community/index.php?topic=5746.msg41168#msg41168

Error "Recalculating statistics" it always appears, it does not depend on the check-box "skip".
Last Edit: September 24, 2020, 12:14:47 am by forumovod