Advertisement:

Author Topic: Converting from Ikonboard to SMF does not work  (Read 6160 times)

Offline Warlock666

  • Semi-Newbie
  • *
  • Posts: 51
Converting from Ikonboard to SMF does not work
« on: February 13, 2019, 07:25:45 AM »
Hi @all,

I am trying to migrate a forum from Ikonboard 3.1.2a to SMF 2.0.15.

So after some trial and error with PHP 7.2 I set up an machine with Ubuntu 14.04 and PHP 5.5.9, set up a working SMF Forum, imported the Ikonboard database and copied this converter https://download.simplemachines.org/index.php?converters;id=26 into the documentroot.

After filling all the fields I start the converting process, but I stops right at the first step "Converting members...". There are no running queries in the MySQL Server und no apache2 processes consuming any CPU.

Does anyone have a hint for me ?

Bye, Dirk

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 21,495
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline Warlock666

  • Semi-Newbie
  • *
  • Posts: 51
Re: Converting from Ikonboard to SMF does not work
« Reply #2 on: February 13, 2019, 10:18:16 AM »
Thanks a lot !

I tried the version from github, but same problem - freezes at "Converting members..."  :(

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 21,495
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Converting from Ikonboard to SMF does not work
« Reply #3 on: February 13, 2019, 11:12:27 AM »
In the url address bar added &debug=1
To the request and see if you get any feedback
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline Warlock666

  • Semi-Newbie
  • *
  • Posts: 51
Re: Converting from Ikonboard to SMF does not work
« Reply #4 on: February 13, 2019, 11:38:42 AM »
Yes, I got some on top of the page

"Notice: Undefined index: convert_script in /var/www/html/convert.php on line 52Notice: Function set_magic_quotes_runtime() is deprecated in /var/www/html/convert.php on line 55Notice: Undefined index: start in /var/www/html/convert.php on line 89Notice: Undefined index: path_from in /var/www/html/convert.php on line 103 "

In the page it said :

"Notice: Undefined index: substep in /var/www/html/convert.php on line 844Converting members...Wrong value type sent to the database. Floating point number expected. (time_offset)"





Offline Warlock666

  • Semi-Newbie
  • *
  • Posts: 51
Re: Converting from Ikonboard to SMF does not work
« Reply #5 on: February 13, 2019, 11:40:10 AM »
I can also offer you the convert_error_log file - is that helps ?

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 21,495
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Converting from Ikonboard to SMF does not work
« Reply #6 on: February 13, 2019, 11:44:29 AM »
Try this file
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline Warlock666

  • Semi-Newbie
  • *
  • Posts: 51
Re: Converting from Ikonboard to SMF does not work
« Reply #7 on: February 14, 2019, 03:35:28 AM »
Now it's

Notice: Undefined index: convert_script in /var/www/html/convert.php on line 52Notice: Function set_magic_quotes_runtime() is deprecated in /var/www/html/convert.php on line 55Notice: Undefined index: start in /var/www/html/convert.php on line 89Notice: Undefined index: path_from in /var/www/html/convert.php on line 103
IkonBoard 3.1.x to SMF Converter

and

Notice: Undefined index: substep in /var/www/html/convert.php on line 844Converting members...Wrong value type sent to the database. Integer expected. (last_login)

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 21,495
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Converting from Ikonboard to SMF does not work
« Reply #8 on: February 14, 2019, 08:53:29 AM »
Try this
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline Warlock666

  • Semi-Newbie
  • *
  • Posts: 51
Re: Converting from Ikonboard to SMF does not work
« Reply #9 on: February 14, 2019, 10:47:57 AM »
This time it's

Notice: Undefined index: convert_script in /var/www/html/convert.php on line 52Notice: Function set_magic_quotes_runtime() is deprecated in /var/www/html/convert.php on line 55Notice: Undefined index: start in /var/www/html/convert.php on line 89Notice: Undefined index: path_from in /var/www/html/convert.php on line 103

and

Notice: Undefined index: substep in /var/www/html/convert.php on line 844Converting members...Wrong value type sent to the database. Integer expected. (gender)

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 21,495
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Converting from Ikonboard to SMF does not work
« Reply #10 on: February 14, 2019, 10:59:34 AM »
try
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline Warlock666

  • Semi-Newbie
  • *
  • Posts: 51
Re: Converting from Ikonboard to SMF does not work
« Reply #11 on: February 14, 2019, 11:00:54 AM »
Ok, by doing a diff between the original file and your latest file I think I managed to fix the "gender" and another problem by inserting :

$row['gender'] = (int) $row['gender'];
$row['hide_email'] = (int) $row['hide_email'];

Now it stops at "preparing messages":

Notice: Undefined index: convert_script in /var/www/html/convert.php on line 52Notice: Function set_magic_quotes_runtime() is deprecated in /var/www/html/convert.php on line 55

Notice: Undefined variable: result in /var/www/html/convert.php on line 2150Notice: Undefined variable: result in /var/www/html/convert.php on line 2151Notice: Undefined index: db_fetch_assoc in /var/www/html/convert.php on line 2341

Offline Warlock666

  • Semi-Newbie
  • *
  • Posts: 51
Re: Converting from Ikonboard to SMF does not work
« Reply #12 on: February 14, 2019, 11:01:29 AM »
Ok I'll try your new version and will report  :)

Offline Warlock666

  • Semi-Newbie
  • *
  • Posts: 51
Re: Converting from Ikonboard to SMF does not work
« Reply #13 on: February 14, 2019, 11:04:42 AM »
Notice: Undefined index: substep in /var/www/html/convert.php on line 844Converting members...Wrong value type sent to the database. Integer expected. (hide_email)

I could fix this by inserting

$row['hide_email'] = (int) $row['hide_email'];

But the problem with the messages remains, of course.

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 21,495
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Converting from Ikonboard to SMF does not work
« Reply #14 on: February 14, 2019, 11:08:26 AM »
Try that. Strange that those fields are not integers.
But i haven't seen that forum's databases before.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline Warlock666

  • Semi-Newbie
  • *
  • Posts: 51
Re: Converting from Ikonboard to SMF does not work
« Reply #15 on: February 14, 2019, 11:14:34 AM »
Ok I put 'hide_email' in like this:

$row['last_login'] = (int) $row['last_login'];
$row['time_offset'] = (int) $row['time_offset'];
$row['hide_email'] = (int) $row['hide_email'];
$row['gender'] = substr(strtolower($row['gender']), 0,1);
if ($row['gender'] == 'm')
        $row['gender'] = 1;
else if ($row['gender'] == 'f')
        $row['gender'] = 2;
else
        $row['gender'] = 0;

Now it stops at "preparing messages":

Notice: Undefined index: convert_script in /var/www/html/convert.php on line 52Notice: Function set_magic_quotes_runtime() is deprecated in /var/www/html/convert.php on line 55

Notice: Undefined variable: result in /var/www/html/convert.php on line 2150Notice: Undefined variable: result in /var/www/html/convert.php on line 2151Notice: Undefined index: db_fetch_assoc in /var/www/html/convert.php on line 2341


Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 21,495
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Converting from Ikonboard to SMF does not work
« Reply #16 on: February 14, 2019, 11:24:44 AM »
Use convert.php from github
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline Warlock666

  • Semi-Newbie
  • *
  • Posts: 51
Re: Converting from Ikonboard to SMF does not work
« Reply #17 on: February 14, 2019, 11:32:36 AM »
Looks like a already had the one from github
At least the md5sum was the same between my file and the one I just downloaded from github  ( it's 3916e1d26548312410b6081bb377569a ).

Error stays the same

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 21,495
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Converting from Ikonboard to SMF does not work
« Reply #18 on: February 14, 2019, 01:52:36 PM »
Do you have tmp_messages table in your smf database

is your smf's boards table have records?
Same for smf_members table?
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline Warlock666

  • Semi-Newbie
  • *
  • Posts: 51
Re: Converting from Ikonboard to SMF does not work
« Reply #19 on: February 15, 2019, 02:10:35 AM »
Yes, I have a table called tmp_messages

smf_boards hat 51 records
smf_members hat 3938 records