News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Yabb to SMF Converter

Started by valkje, January 29, 2005, 05:47:49 AM

Previous topic - Next topic

valkje

At this moment i'll have a Yabb board running with 120.000 postings and on a shared hosting. This board has to be converted to SMF . I'll used the yabb_to_smf tool from this site, the shared hosting crashed 2 times on a memory problem so we set in the tool the memory on 64Mb:
// Memory, please!!
@ini_set('memory_limit', '64M');


So the memory problem is no longer the problem, the next problem is: The conversion takes a long time, when i'll start the converter tool it's running for 4 hours and it's in step 11 on posting 50.000. And at some moment the tool lost the connection with the server and need to be restarted but the settings are now missing (Session time out, it's seems to be a restart from Apache).

To solve this problem make a settings file so the tool continue where it's stops? But how?

Peter
Valkparkiet.com
All about cockatiels...
Webcam and some homecontrol
Camera's and many more...

valkje

Now it's working with a default value:

Looking in the yabb_to_smf.php file for:
// Set up SMF's required stuff. (define, etc.)
define('SMF', 1);
$time_start = time();

initialize_inputs();


And add add the follow lines:
//  Set up SMF's required stuff. (define, etc.)
define('SMF', 1);
$time_start = time();

$_POST['path_to'] = "/link/to/youre/smf/forum";
$_POST['path_from'] = "/link/to/yabb";
$_POST['db_pass'] = "yourepassword";


initialize_inputs();


/link/to/youre/smf/forum -> URL from you're new SMF board
/link/to/yabb -> URL from you're Yabb board
yourepassword -> You're database password

Peter
Valkparkiet.com
All about cockatiels...
Webcam and some homecontrol
Camera's and many more...

Advertisement: