Advertisement:

Author Topic: [SMF Converter] MyBB 1.4  (Read 231753 times)

Offline SAFAD

  • Full Member
  • ***
  • Posts: 679
  • Gender: Male
  • away
    • أكاديمية صفد سوفت
Re: [SMF Converter] MyBB 1.4
« Reply #80 on: April 10, 2009, 04:09:10 AM »
HI
i think doesnt work with SMF2
"Converting members... Unsuccessful!
This query:
ALTER TABLE `Mybb`.smf_members
CHANGE COLUMN passwordSalt passwordSalt varchar(8) NOT NULL default '';
Caused the error:
Unknown column 'passwordSalt' in 'smf_members'"
Best Regards
Sadaoui "SAFAD" Abderrahim - Lead Developer @ Electron Inc.

ThorstenE

  • Guest
Re: [SMF Converter] MyBB 1.4
« Reply #81 on: April 10, 2009, 04:35:54 AM »
SAFAD, that's right.. our converters are SMF 1.1.x only at the moment, but you can convert to SMF 1.1.8 and after a successful conversion upgrade to SMF 2.0 RC1
Upgrade SMF

Offline ps3ia

  • Semi-Newbie
  • *
  • Posts: 10
Re: [SMF Converter] MyBB 1.4
« Reply #82 on: April 14, 2009, 05:40:03 PM »
Where is the convert.php file? THe one in the post just links to another thread and in that thread it links to this thread....

ThorstenE

  • Guest
Re: [SMF Converter] MyBB 1.4
« Reply #83 on: April 15, 2009, 01:43:19 AM »

Offline maRoff

  • Newbie
  • *
  • Posts: 3
Re: [SMF Converter] MyBB 1.4
« Reply #84 on: April 28, 2009, 10:11:48 AM »
I think, I have small problem with this conversion...
I'm using Mybb 1.4.4 Forum I think isn't very big: ~50k posts, ~5k members

I tried to convert it:

On localhost:


On web server:


And problem is at windows localhost it's stopped at Converting topics and page not refresh ;/ like on the screen
but on the linux webserver it's something new "Not quiete done yet!" and when I click continue the conversion take a long time, and I think it's stopped :/

ThorstenE

  • Guest
Re: [SMF Converter] MyBB 1.4
« Reply #85 on: April 28, 2009, 12:34:16 PM »
is Java-Script enabled on your browser? (Firefox, IE) .. convert.php restarts automatically after 3 seconds then. the script stops during a large conversion to avoid a server overload.

Offline maRoff

  • Newbie
  • *
  • Posts: 3
Re: [SMF Converter] MyBB 1.4
« Reply #86 on: April 28, 2009, 12:51:01 PM »
I tried in IE and Mozilla
On localhost - at converting topic - java not working, I'm waited min. 20 minutes, and page not refresh anymore, when converting 3 first (members, categories, boards) - my computer is lagging, and after that I know that conversion it work.

Maybe you know a version to convert via command line? like this:
http://www.simplemachines.org/community/index.php?topic=207760.msg1322067;topicseen#msg1322067

ThorstenE

  • Guest
Re: [SMF Converter] MyBB 1.4
« Reply #87 on: April 28, 2009, 12:59:45 PM »
sure, you can use convert.php via command line. parameters on windows:

Code: [Select]
c:\path\to\php.exe  c:\path\to\convert.php  --path_to=c:\path\to\smf --path_from=c:\path\from\mybb --convert_script=mybb14_to_smf.sql --db_pass=smf-database-pass --debug

Offline maRoff

  • Newbie
  • *
  • Posts: 3
Re: [SMF Converter] MyBB 1.4
« Reply #88 on: April 28, 2009, 03:08:44 PM »
Code: [Select]
C:\Program Files\WebServ\php>php.exe  D:\HTTP\smf\convert.php  --path_to=D:\HTTP
\smf --path_from=D:\HTTP\kopia --convert_script=mybb14_to_smf.sql --db_pass=password --debug
This converter was unable to find SMF in the path you specified.<br /><br />Plea
se double check the path, and that it is already installed there.
C:\Program Files\WebServ\php>

wtf?
For 100% I have path to my SMF correct and mybb too.
Maybe when I can try this command on linux? but problem is to find localization of PHP on my server ;/

Edit: tried on linux via www:
Code: [Select]
Notice: Undefined index: convert_script in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 810

Warning: Invalid argument supplied for foreach() in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 813

Notice: Undefined index: convert_script in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 825

Notice: Undefined index: convert_script in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 721
Successful.
Recalculating forum statistics...
Notice: Undefined variable: result in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 2239

Notice: Undefined variable: result in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 2240

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 1211

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 1221

Notice: Undefined variable: result in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 2239

Notice: Undefined variable: result in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 2240

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 1229

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 1239

Notice: Undefined variable: result in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 2239

Notice: Undefined variable: result in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 2240

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 1252

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 1265

Notice: Undefined variable: result in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 2239

Notice: Undefined variable: result in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 2240

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 1311

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 1313

Notice: Undefined variable: result in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 2239

Notice: Undefined variable: result in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 2240

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 1319

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 1325

Notice: Undefined variable: result in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 2239

Notice: Undefined variable: result in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 2240

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 1336

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 1337

Notice: Undefined variable: result in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 2239

Notice: Undefined variable: result in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 2240

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 1345

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 1347

Notice: Undefined variable: result in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 2239

Notice: Undefined variable: result in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 2240

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 1353

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 1354

Notice: Undefined variable: result in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 2239

Notice: Undefined variable: result in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 2240

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 1360

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 1361

Notice: Undefined variable: result in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 2239

Notice: Undefined variable: result in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 2240

Notice: Undefined variable: result in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 2239

Notice: Undefined variable: result in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 2240

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 1385

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 1387

Notice: Undefined variable: result in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 2239

Notice: Undefined variable: result in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 2240

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 1393

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 1405

Notice: Undefined variable: result in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 2239

Notice: Undefined variable: result in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 2240

Notice: Undefined variable: result in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 2239

Notice: Undefined variable: result in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 2240

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 1430

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 1432

Notice: Undefined variable: result in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 2239

Notice: Undefined variable: result in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 2240

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 1476

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 1491

Notice: Undefined variable: result in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 2239

Notice: Undefined variable: result in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 2240

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 1520

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 1522

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 1535

Notice: Undefined variable: result in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 2239

Notice: Undefined variable: result in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 2240

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 1557

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 1562

Notice: Undefined variable: result in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 2239

Notice: Undefined variable: result in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 2240

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 1623

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 1625

Notice: Undefined variable: result in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 2239

Notice: Undefined variable: result in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 2240

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 1661

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 1680

Notice: Undefined variable: result in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 2239

Notice: Undefined variable: result in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 2240

Notice: Undefined variable: result in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 2239

Notice: Undefined variable: result in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 2240

Notice: Undefined variable: result in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 2239

Notice: Undefined variable: result in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 2240

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 1703

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 1704

Notice: Undefined variable: result in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 2239

Notice: Undefined variable: result in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 2240

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 2411

Notice: Undefined variable: result in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 2239

Notice: Undefined variable: result in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 2240

Notice: Undefined variable: result in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 2239

Notice: Undefined variable: result in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 2240

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 2411

Notice: Undefined variable: result in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 2239

Notice: Undefined variable: result in /home/gamemaniak/httpdoc/gamemaniak.pl/smf/convert.php on line 2240
Successful.
Conversion Complete

but now thread, no posts :/

Edit2:
I converted first Mybb>vbb (15 minutes)>smf (5 minutes)
« Last Edit: April 29, 2009, 07:14:35 AM by maRoff »

Offline SleePy

  • Let there be light!
  • Site Team Lead
  • SMF Master
  • *
  • Posts: 30,498
  • Gender: Male
  • Thats his happy face.
    • jdarwood007 on GitHub
    • @jdarwood on Twitter
    • SleePy Code - My personal site
Re: [SMF Converter] MyBB 1.4
« Reply #89 on: April 29, 2009, 05:41:11 PM »
The linux one, your session expired during the conversion. You will need to restart it.
Jeremy D — Site Team / SMF Developer
Support the SMF Support team!
Profiles:
GitHub

Offline SAFAD

  • Full Member
  • ***
  • Posts: 679
  • Gender: Male
  • away
    • أكاديمية صفد سوفت
Re: [SMF Converter] MyBB 1.4
« Reply #90 on: May 03, 2009, 01:19:11 PM »
Hi, Am Back Again To Disturb You People ;)
So You Said That My Host Is Poor
But I Think You Are Wrong !
Why ?
Look
This Is The Link That I Have Installed SMF In Without Converting
Problem Solved
And Now For The Link That I Have SMF In And I Have Converted It From MyBB
Removed Cuz The Problem Solved
The First One Works Correctly But The Second Is A White Page
Any Ideas ?

Best Regards
« Last Edit: October 15, 2009, 01:42:50 PM by SAFAD »
Best Regards
Sadaoui "SAFAD" Abderrahim - Lead Developer @ Electron Inc.

ThorstenE

  • Guest
Re: [SMF Converter] MyBB 1.4
« Reply #91 on: May 03, 2009, 01:32:55 PM »
I got a white page with the FIRST link .../smf/index.php and can see the second forum (see attached screenshot).
I believe this is a max_execution_time issue in php.ini

Offline SAFAD

  • Full Member
  • ***
  • Posts: 679
  • Gender: Male
  • away
    • أكاديمية صفد سوفت
Re: [SMF Converter] MyBB 1.4
« Reply #92 on: May 03, 2009, 01:36:37 PM »
thats not possible !
it was not working
ooo
now try to enter any forum
white page again !
sometimes work and other not
what should i do ?
Best Regards
Sadaoui "SAFAD" Abderrahim - Lead Developer @ Electron Inc.

Offline SAFAD

  • Full Member
  • ***
  • Posts: 679
  • Gender: Male
  • away
    • أكاديمية صفد سوفت
Re: [SMF Converter] MyBB 1.4
« Reply #93 on: May 03, 2009, 01:39:24 PM »
the 1st always working
Best Regards
Sadaoui "SAFAD" Abderrahim - Lead Developer @ Electron Inc.

ThorstenE

  • Guest
Re: [SMF Converter] MyBB 1.4
« Reply #94 on: May 03, 2009, 01:49:14 PM »
I believe this is a max_execution_time issue in php.ini
the forum is sometimes available and sometimes the script is aborted. this is definitely a host related issue, sorry but we cannot help you with this. Again: contact your host, the server is overloaded.

Offline SAFAD

  • Full Member
  • ***
  • Posts: 679
  • Gender: Male
  • away
    • أكاديمية صفد سوفت
Re: [SMF Converter] MyBB 1.4
« Reply #95 on: May 03, 2009, 01:52:21 PM »
how many i need
i use 8MB
do i Tell Them to make it 16MB Or What ?
Best Regards
Sadaoui "SAFAD" Abderrahim - Lead Developer @ Electron Inc.

ThorstenE

  • Guest
Re: [SMF Converter] MyBB 1.4
« Reply #96 on: May 03, 2009, 01:56:33 PM »
http://download.simplemachines.org/requirements.php
I personally prefer at least 32M memory_limit and a max_execution_time set to 30s (30 seconds)

Offline SAFAD

  • Full Member
  • ***
  • Posts: 679
  • Gender: Male
  • away
    • أكاديمية صفد سوفت
Re: [SMF Converter] MyBB 1.4
« Reply #97 on: May 03, 2009, 02:11:41 PM »
ok thanks
Best Regards
Sadaoui "SAFAD" Abderrahim - Lead Developer @ Electron Inc.

Offline Hime

  • Newbie
  • *
  • Posts: 5
  • Gender: Male
Re: [SMF Converter] MyBB 1.4
« Reply #98 on: May 22, 2009, 03:07:38 PM »
Great news....the latest sql file you gave me, worked like a charm!! Its getting converted even faster than my local pc!!!

1 more question....*too much bothering you*

Can I possibly redirect all my /forum urls to /smf or, such? I mean through .htaccess how to do that?

Thank you in advance.

ThorstenE

  • Guest
Re: [SMF Converter] MyBB 1.4
« Reply #99 on: May 22, 2009, 05:46:27 PM »
you can move your new SMF to the /forums folder: rename the /smf folder to /forum and use repair_settings.php from our downloads page.
alternatively you can use a .htaccess (example here) or even a single php file with a redirect in it.
Code: (index.php) [Select]
<?php
   header
("HTTP/1.1 301 Moved Permanently");
   
header("Location: http://www.yourdomain.com/smf");
   
header("Connection: close");
   exit();
?>