News:

Join the Facebook Fan Page.

Main Menu

[SMF Converter] MyBB 1.4

Started by ThorstenE, August 17, 2008, 02:58:49 AM

Previous topic - Next topic

SAFAD

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

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

ps3ia

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....


maRoff

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

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.

maRoff

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

sure, you can use convert.php via command line. parameters on windows:

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

maRoff

#88
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:
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)

SleePy

The linux one, your session expired during the conversion. You will need to restart it.
Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

SAFAD

#90
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
Best Regards
Sadaoui "SAFAD" Abderrahim - Lead Developer @ Electron Inc.

ThorstenE

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

SAFAD

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.

SAFAD

Best Regards
Sadaoui "SAFAD" Abderrahim - Lead Developer @ Electron Inc.

ThorstenE

Quote from: TE on May 03, 2009, 01:32:55 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.

SAFAD

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

http://download.simplemachines.org/requirements.php
I personally prefer at least 32M memory_limit and a max_execution_time set to 30s (30 seconds)

SAFAD

Best Regards
Sadaoui "SAFAD" Abderrahim - Lead Developer @ Electron Inc.

Hime

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

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();
?>



Advertisement: