Advertisement:

Author Topic: Kunena 1.6 to SMF  (Read 2331 times)

Offline blindek

  • Newbie
  • *
  • Posts: 5
Kunena 1.6 to SMF
« on: October 05, 2012, 05:04:14 AM »
Hello,

I am trying to convert Kunena 1.6 version to SMF, but I am experiencing problems with the following error. I also noticed that the kunena converter module is just for Kunena 1.5 version, is possible to get for the 1.6 version?

Code: [Select]

Notice: Undefined variable: mosConfig_db in /var/www/vhosts/callofduty.si/httpdocs/smf/convert.php(452) : eval()'d code on line 1

Notice: Undefined variable: mosConfig_dbprefix in /var/www/vhosts/callofduty.si/httpdocs/smf/convert.php(452) : eval()'d code on line 1

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

Sorry, the database connection information used in the specified installation of SMF cannot access the installation of Kunena 1.5. This may either mean that the installation doesn't exist, or that the Database account used does not have permissions to access it.

The error that was received from the Database was: Incorrect database name ''


Offline blindek

  • Newbie
  • *
  • Posts: 5
Re: Kunena 1.6 to SMF
« Reply #1 on: October 05, 2012, 05:18:55 AM »
Also both Joomla and SMF use same database and user:

From SMF Settings.php

########## Database Info ##########
$db_type = 'mysql';
$db_server = 'localhost';
$db_name = 'codsi2_joomla3';
$db_user = 'codsi2_joomla3';


From Joomla configuration.php

        var $user = 'codsi2_joomla3';
        var $db = 'codsi2_joomla3';


Offline TE

  • SMF Hero
  • ******
  • Posts: 4,211
  • Gender: Male
    • eurich.de
Re: Kunena 1.6 to SMF
« Reply #2 on: October 05, 2012, 02:46:18 PM »
Which version is your Joomla installation? 1.5 or newer?
Only buddies are allowed to send me a PM and my buddy list is pretty small ;)
---------------------------------------------------
My Github profile

Offline blindek

  • Newbie
  • *
  • Posts: 5
Re: Kunena 1.6 to SMF
« Reply #3 on: October 05, 2012, 03:30:32 PM »
Joomla! Version:    Joomla! 1.5.23 Stable [ senu takaa ama baji ] 04-March-2011 18:00 GMT

Offline TE

  • SMF Hero
  • ******
  • Posts: 4,211
  • Gender: Male
    • eurich.de
Re: Kunena 1.6 to SMF
« Reply #4 on: October 07, 2012, 01:38:39 AM »
try the attached file, please.

edit: attachment removed
« Last Edit: October 07, 2012, 01:19:16 PM by Thorsten Eurich »
Only buddies are allowed to send me a PM and my buddy list is pretty small ;)
---------------------------------------------------
My Github profile

Offline blindek

  • Newbie
  • *
  • Posts: 5
Re: Kunena 1.6 to SMF
« Reply #5 on: October 07, 2012, 04:04:01 AM »
Hello,

These new .sql files fiexed these problem, now the process progress to the converting, but then it stops with a new error:

Converting members... Successful.
Converting categories... Successful.
Converting boards... Successful.
Converting topics...Duplicate entry '1007' for key 'PRIMARY'

I was looking on the forum for same problems, but can't find anything usefull for kunena, just for XMB, and there seems was a script and also XMB tables problem.

Offline TE

  • SMF Hero
  • ******
  • Posts: 4,211
  • Gender: Male
    • eurich.de
Re: Kunena 1.6 to SMF
« Reply #6 on: October 07, 2012, 01:18:21 PM »
new version attached..
Only buddies are allowed to send me a PM and my buddy list is pretty small ;)
---------------------------------------------------
My Github profile

Offline blindek

  • Newbie
  • *
  • Posts: 5
Re: Kunena 1.6 to SMF
« Reply #7 on: October 07, 2012, 03:04:44 PM »
hello,

it perfectly works. Thank you so much, I am sure that the new SMF forum will do much better the work then kunena.