Advertisement:

Author Topic: [WIP - Converter] IPB 3.2/3.3/3.4  (Read 144228 times)

Offline Ventic

  • Full Member
  • ***
  • Posts: 635
  • Gender: Male
    • vasilis.koukoutis on Facebook
    • @joyspotorg on Twitter
    • JoySpot
Re: [WIP - Converter] IPB 3.2
« Reply #40 on: June 06, 2012, 09:33:21 AM »
Notice: Undefined index: convert_script in /home/gamingp1/public_html/gp/convert.php on line 969

Warning: Invalid argument supplied for foreach() in /home/gamingp1/public_html/gp/convert.php on line 972

Notice: Undefined index: convert_script in /home/gamingp1/public_html/gp/convert.php on line 984
Successful.
Recalculating forum statistics...
Notice: Undefined variable: result in /home/gamingp1/public_html/gp/convert.php on line 2491

Notice: Undefined variable: result in /home/gamingp1/public_html/gp/convert.php on line 2492

Notice: Undefined index: db_fetch_assoc in /home/gamingp1/public_html/gp/convert.php on line 1383

Fatal error: Function name must be a string in /home/gamingp1/public_html/gp/convert.php on line 1383


?

edit:fixed
« Last Edit: June 06, 2012, 09:53:57 AM by Ventic »

Offline emanuele

  • SMF Super Hero
  • *******
  • Posts: 14,156
  • Gender: Male
  • THERE'S JUST ME
Re: [WIP - Converter] IPB 3.2
« Reply #41 on: June 06, 2012, 10:24:18 AM »
So it works now?


Take a peek at what I'm doing! ;D



Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

Offline Ventic

  • Full Member
  • ***
  • Posts: 635
  • Gender: Male
    • vasilis.koukoutis on Facebook
    • @joyspotorg on Twitter
    • JoySpot
Re: [WIP - Converter] IPB 3.2
« Reply #42 on: June 06, 2012, 10:28:42 AM »
yes but why it takes many time in topics and after 5 minutes it stuck?

Offline emanuele

  • SMF Super Hero
  • *******
  • Posts: 14,156
  • Gender: Male
  • THERE'S JUST ME
Re: [WIP - Converter] IPB 3.2
« Reply #43 on: June 06, 2012, 10:53:38 AM »
Well, the converter doesn't take *everything* in one go and do the conversion, it goes step by step with few topics/messages/PMs at a time and convert those.

I'm not sure: did you finish successfully the conversion or are you stuck somewhere? (and if so, where?)


Take a peek at what I'm doing! ;D



Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

Offline Ventic

  • Full Member
  • ***
  • Posts: 635
  • Gender: Male
    • vasilis.koukoutis on Facebook
    • @joyspotorg on Twitter
    • JoySpot
Re: [WIP - Converter] IPB 3.2
« Reply #44 on: June 06, 2012, 04:24:21 PM »
while converting topics,it get stucked


Offline emanuele

  • SMF Super Hero
  • *******
  • Posts: 14,156
  • Gender: Male
  • THERE'S JUST ME
Re: [WIP - Converter] IPB 3.2
« Reply #45 on: June 06, 2012, 04:49:15 PM »
Is there any error? (Those you reported above should be from the last step, the recounting of the totals)


Take a peek at what I'm doing! ;D



Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

Offline Ventic

  • Full Member
  • ***
  • Posts: 635
  • Gender: Male
    • vasilis.koukoutis on Facebook
    • @joyspotorg on Twitter
    • JoySpot
Re: [WIP - Converter] IPB 3.2
« Reply #46 on: June 06, 2012, 04:51:26 PM »
Is there any error? (Those you reported above should be from the last step, the recounting of the totals)
those errors plus a DUPLICATE SQL ERROR

Offline Abdel

  • Newbie
  • *
  • Posts: 8
Re: [WIP - Converter] IPB 3.2
« Reply #47 on: June 07, 2012, 08:08:59 AM »
Hello,
my converter stops at post:
hxxp:smf.forum.mage.pl/convert.php?step=1&substep=9&start=18400 [nonactive]
without any error.

Any clues for solve?

Offline emanuele

  • SMF Super Hero
  • *******
  • Posts: 14,156
  • Gender: Male
  • THERE'S JUST ME
Re: [WIP - Converter] IPB 3.2
« Reply #48 on: June 07, 2012, 08:15:24 AM »
while converting topics,it get stucked
That seems to be a server load problem...I got it around topic 2500, I had to skip few substeps by hand. For now I incresed the timeout and is going on...let's wait.

Hello,
my converter stops at post:
http://smf.forum.mage.pl/convert.php?step=1&substep=9&start=18400
without any error.

Any clues for solve?
Honestly no idea, but the moment I clicked on the link you provided the process completed recalculating all the statistics.
Check if the forum is fine, could be a curious bug in upgrade.php


Take a peek at what I'm doing! ;D



Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

Offline phantomm

  • Sophist Member
  • *****
  • Posts: 1,063
  • Gender: Male
    • pages/smfpl/171860759503032 on Facebook
    • Polish ElkArte community
Re: [WIP - Converter] IPB 3.2
« Reply #49 on: June 07, 2012, 08:22:08 AM »
Hello,
my converter stops at post:

I had this couple times, and what I remember this is problem on big boards, converter needs more time to move posts from old to new db.
I think that somewhere in this board as solution was given increasing execution time for php scripts
Polskie wsparcie SMF na simplemachines.org

My mods

Offline Abdel

  • Newbie
  • *
  • Posts: 8
Re: [WIP - Converter] IPB 3.2
« Reply #50 on: June 07, 2012, 08:23:02 AM »
Hello,
my converter stops at post:
hxxp:smf.forum.mage.pl/convert.php?step=1&substep=9&start=18400 [nonactive]
without any error.

Any clues for solve?
Honestly no idea, but the moment I clicked on the link you provided the process completed recalculating all the statistics.
Check if the forum is fine, could be a curious bug in upgrade.php
[/quote]

Unluckily many post were not converted. I tried it secound time and got stuck in the same place. Also what is quite weird no topics are avaliable on any board after conversion.

Quote
I think that somewhere in this board as solution was given increasing execution time for scripts
I am on VPS with max execution time 300 secdounds and 300 MB RAM. Did many conversion before and never execution time was problem.

Offline emanuele

  • SMF Super Hero
  • *******
  • Posts: 14,156
  • Gender: Male
  • THERE'S JUST ME
Re: [WIP - Converter] IPB 3.2
« Reply #51 on: June 07, 2012, 12:50:24 PM »
Update for  Ventic: there is a basic problem with your host that from time to time hangs due to server load.
I tried lower the number of topics conversion per step down to 1 but still it presents this issue. Now I'm downloading a dump of your database and I'll try the conversion on my machine, if successful I'll upload the converted database.


Take a peek at what I'm doing! ;D



Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

Offline Ventic

  • Full Member
  • ***
  • Posts: 635
  • Gender: Male
    • vasilis.koukoutis on Facebook
    • @joyspotorg on Twitter
    • JoySpot
Re: [WIP - Converter] IPB 3.2
« Reply #52 on: June 07, 2012, 04:09:00 PM »
ok thanks

Offline Ventic

  • Full Member
  • ***
  • Posts: 635
  • Gender: Male
    • vasilis.koukoutis on Facebook
    • @joyspotorg on Twitter
    • JoySpot
Re: [WIP - Converter] IPB 3.2
« Reply #53 on: June 07, 2012, 05:13:58 PM »
Converting members...Field 'buddy_list' doesn't have a default value

my problem while trying to convert it in localhost

Offline phantomm

  • Sophist Member
  • *****
  • Posts: 1,063
  • Gender: Male
    • pages/smfpl/171860759503032 on Facebook
    • Polish ElkArte community
Re: [WIP - Converter] IPB 3.2
« Reply #54 on: June 10, 2012, 03:59:11 AM »
just to be sure, does it convert all child boards correctly (with structure from IPB)?
Polskie wsparcie SMF na simplemachines.org

My mods

Offline emanuele

  • SMF Super Hero
  • *******
  • Posts: 14,156
  • Gender: Male
  • THERE'S JUST ME
Re: [WIP - Converter] IPB 3.2
« Reply #55 on: June 10, 2012, 04:21:30 AM »
If (there is still a glitch sometime) it end correctly without error the recount of the statistics it should convert everything correctly, including the sub-boards structure.

For the "glitch" the workaround could be to change:
Code: [Select]
// If we have $convert_script then set it to the session.
if (!empty($convert_script))
$_SESSION['convert_script'] = $convert_script;
if (isset($_SESSION['convert_script']) && file_exists(dirname(__FILE__) . '/' . $_SESSION['convert_script']) && preg_match('~_to_smf\.(php|sql)$~', $_SESSION['convert_script']) != 0)
{
if (substr($_SESSION['convert_script'], -4) == '.php')
preparse_php(dirname(__FILE__) . '/' . $_SESSION['convert_script']);
else
preparse_sql(dirname(__FILE__) . '/' . $_SESSION['convert_script']);
}
else
unset($_SESSION['convert_script']);

to
Code: [Select]
// If we have $convert_script then set it to the session.
if (!empty($convert_script))
$_SESSION['convert_script'] = $convert_script;
if (isset($_SESSION['convert_script']) && file_exists(dirname(__FILE__) . '/' . $_SESSION['convert_script']) && preg_match('~_to_smf\.(php|sql)$~', $_SESSION['convert_script']) != 0)
{
if (substr($_SESSION['convert_script'], -4) == '.php')
preparse_php(dirname(__FILE__) . '/' . $_SESSION['convert_script']);
else
preparse_sql(dirname(__FILE__) . '/' . $_SESSION['convert_script']);
}
else
findConvertScripts();


Take a peek at what I'm doing! ;D



Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

Offline phantomm

  • Sophist Member
  • *****
  • Posts: 1,063
  • Gender: Male
    • pages/smfpl/171860759503032 on Facebook
    • Polish ElkArte community
Re: [WIP - Converter] IPB 3.2
« Reply #56 on: June 10, 2012, 05:00:36 AM »
still only few child boards are in structure, others are moved to 'general category' as regular boards :|
anyway, forum with more than 300 000 post is converted successfully (IPB 3.3.0 => SMF 2.0.2) :)

//edit:

I noticed that some of 'child child boards' are converted, but normal 'child boards' are not
« Last Edit: June 10, 2012, 06:32:09 AM by phantomm »
Polskie wsparcie SMF na simplemachines.org

My mods

Offline emanuele

  • SMF Super Hero
  • *******
  • Posts: 14,156
  • Gender: Male
  • THERE'S JUST ME
Re: [WIP - Converter] IPB 3.2
« Reply #57 on: June 11, 2012, 02:58:13 AM »
On the forum I used for test the result seemed to be exactly as expected, but honestly I'm not 100% sure...


Take a peek at what I'm doing! ;D



Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

Offline Luc-i

  • Newbie
  • *
  • Posts: 5
Re: [WIP - Converter] IPB 3.2
« Reply #58 on: June 11, 2012, 07:49:35 AM »
Does it works for 3.2.3 also?

I tried but always get the error


...the database connection information used in the specifed installation of smf cannot access the installation of IPB 3.2
this may either mean that the installation doesnt exist or that the database account used does not have permission to access it.
"SELECT COMMAND DENIED TO USER "xxxyyyy" for table members.


i have installed the SMF on subdomain using another SQL database with same database password like the mysql ipb password.

Maybe someone could gimme a hint.

Thank you.

Offline phantomm

  • Sophist Member
  • *****
  • Posts: 1,063
  • Gender: Male
    • pages/smfpl/171860759503032 on Facebook
    • Polish ElkArte community
Re: [WIP - Converter] IPB 3.2
« Reply #59 on: June 11, 2012, 08:54:45 AM »
It was written for 3.2.x series.
You have to use the same user and password in db from IPB and SMF.
Polskie wsparcie SMF na simplemachines.org

My mods