Simple Machines Community Forum

SMF Support => Converting to SMF => phpBB => Topic started by: JayBachatero on January 23, 2008, 04:49:39 AM

Title: [SMF Converter] phpBB3
Post by: JayBachatero on January 23, 2008, 04:49:39 AM
Software: phpBB
Version: 3.0

It's finally here.  Spent the whole day working on it and managed to get a beta out.  The converter is still in beta and some things are missing.  If you have suggestions for other things to convert just post them :) .  Here is a list of what is converted.

ConvertsDoes Not Convert
Password Support
phpBB has their own custom password hash so you need to edit Sources/LogInOut.php from the SMF folder to add support for password conversion. Alternatively, you can used the attached phpBB3_Login_Fix.tgz modification (attached below) via Package Manager (http://docs.simplemachines.org/index.php?board=49.0).

Code: (find) [Select]
            // Snitz style - SHA-256.  Technically, this is a downgrade, but most PHP configurations don't support sha256 anyway.
            if (strlen($user_settings['passwd']) == 64 && function_exists('mhash') && defined('MHASH_SHA256'))
                $other_passwords[] = bin2hex(mhash(MHASH_SHA256, $_REQUEST['passwrd']));

Code: (add after) [Select]
            // phpBB3 users new hashing.
            $other_passwords[] = phpBB3_password_check($_REQUEST['passwrd'], $user_settings['passwd']);

Code: (find) [Select]
?>

Code: (add before) [Select]
function phpBB3_password_check($passwd, $passwd_hash)
{
    // Too long or too short?
    if (strlen($passwd_hash) != 34)
        return;

    // Range of characters allowed.
    $range = './0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz';

    // Tests
    $strpos = strpos($range, $passwd_hash[3]);
    $count = 1 << $strpos;
    $count2 = $count;
$salt = substr($passwd_hash, 4, 8);

    // Things are done differently for PHP 5.
    if (@version_compare(PHP_VERSION, '5') == 1)
    {
        $hash = md5($salt . $passwd, true);
        for (; $count != 0; --$count)
            $hash = md5($hash . $passwd, true);;
    }
    else
    {
        $hash = pack('H*', md5($salt . $passwd));
        for (; $count != 0; --$count)
            $hash = pack('H*', md5($hash . $passwd));
    }

    $output = substr($passwd_hash, 0, 12);
    $i = 0;
    while ($i < 16)
    {
        $value = ord($hash[$i++]);
        $output .= $range[$value & 0x3f];

        if ($i < 16)
            $value |= ord($hash[$i]) << 8;

        $output .= $range[($value >> 6) & 0x3f];

        if ($i++ >= 16)
            break;

        if ($i < 16)
            $value |= ord($hash[$i]) << 16;

        $output .= $range[($value >> 12) & 0x3f];

        if ($i++ >= 16)
            break;

        $output .= $range[($value >> 18) & 0x3f];
    }

    // Return now.
    return $output;
}

Notes:
- Set SMF to UTF-8 mode since phpBB3 is set to UTF-8 by default.

Changelog
! Make sure that all boards get converted properly.
! Initial upload.

convert.php
Use this convert.php (http://www.simplemachines.org/community/index.php?topic=140741.0) with the .sql file attached in this topic.
Title: Re: [SMF Converter] phpBB3
Post by: Aaron on January 23, 2008, 05:31:44 AM
Great job Jay! I'm sure you've just made a lot of people happy. :)
Title: Re: [SMF Converter] phpBB3
Post by: codenaught on January 23, 2008, 12:00:15 PM
Awesome Jay! :D I'll give it a test run a little later.
Title: Re: [SMF Converter] phpBB3
Post by: Augh on January 23, 2008, 12:33:49 PM
Thank You Jay :)

All working good now...
Title: Re: [SMF Converter] phpBB3
Post by: JayBachatero on January 23, 2008, 12:53:48 PM
Augh can you check and make sure that entities where converter correctly?  phpBB uses utf8_bin for text fields so hopefully everything transfers correctly.

Another thing that I just remembered.  phpBB has support for sub categories.  SMF does support this so sub categories will be set as regular categories with the boards on the main page.
Title: Re: [SMF Converter] phpBB3
Post by: lockelymarkets on January 23, 2008, 03:52:47 PM
My board has heaps of subforums, to convert can I just convert as is and it will flatten it; or will I need to manually flatten the forum in phpBB3 then convert? I just don't want to convert and find I've lost heaps of posts...

Thankyou very very very very very very very very much for this converter!!!! :)
Title: Re: [SMF Converter] phpBB3
Post by: jarhaa on January 23, 2008, 03:53:56 PM
Something went wrong in my end, converter gave "successful" but none of the forums came up...
Title: Re: [SMF Converter] phpBB3
Post by: JayBachatero on January 23, 2008, 04:07:03 PM
My board has heaps of subforums, to convert can I just convert as is and it will flatten it; or will I need to manually flatten the forum in phpBB3 then convert? I just don't want to convert and find I've lost heaps of posts...

Thankyou very very very very very very very very much for this converter!!!! :)
It should convert the sub forums as well.  It doesn't convert sub categories though.

Something went wrong in my end, converter gave "successful" but none of the forums came up...
Common conversion errors. (http://www.simplemachines.org/community/index.php?topic=146192.0)
Title: Re: [SMF Converter] phpBB3
Post by: Bdn on January 23, 2008, 09:33:46 PM
I just tested out the converter on a clean install of SMF 1.4, everything was successful but when I log in I have no Admin access, even from my first PHPBB account, which is indeed a full admin on the PHPBB board.

Edit:

I had to go into phpMyAdmin and change my ID_GROUP to 1 (Admin) to fix my permission's because they were all defaulted to 0 and I had no access to Admin CP or any of the boards.
Title: Re: [SMF Converter] phpBB3
Post by: JayBachatero on January 23, 2008, 10:26:38 PM
What is your user level set to in phpBB users table?
Title: Re: [SMF Converter] phpBB3
Post by: Toadicus on January 24, 2008, 12:45:17 PM
So, when you say "subcategory," do you include subforums with subforums of their own?  My forum has a lot of nested forums, and I just did a test run of the converter, and none of the nested forums were copied at all.  I got my parent categories, the main forums under the categories, but no child forums below that.

None of my "1st tier" subforums are category objects, but all of them have children of their own.
Title: Re: [SMF Converter] phpBB3
Post by: JayBachatero on January 24, 2008, 01:06:32 PM
Is it possible for me to get a database dump of your current phpBB3 install so that I can debug this?
Title: Re: [SMF Converter] phpBB3
Post by: Toadicus on January 24, 2008, 01:51:44 PM
Here ya go.
Title: Re: [SMF Converter] phpBB3
Post by: JayBachatero on January 24, 2008, 02:14:14 PM
Ok I got the file.  I removed it.  Wouldn't want other people to be messing with your data and get other info.
Title: Re: [SMF Converter] phpBB3
Post by: JayBachatero on January 24, 2008, 04:52:36 PM
Ok use this convert.php http://www.simplemachines.org/community/index.php?action=dlattach;topic=140741.0;attach=47701 and select UTF-8 as the charset.  Also I updated the .sql file in the first post.
Title: Re: [SMF Converter] phpBB3
Post by: Toadicus on January 24, 2008, 05:04:00 PM
That seems to have done the trick!  I'll keep poking around and see if I notice any other issues.

Thanks!
Title: Re: [SMF Converter] phpBB3
Post by: JayBachatero on January 24, 2008, 05:07:29 PM
Double check attachments and see if they make it correctly.
Title: Re: [SMF Converter] phpBB3
Post by: Toadicus on January 24, 2008, 05:13:33 PM
Looks like the attachments made it over correctly, but the "attachment" bbcode used to display an attachment inline (e.g. [attachment=0:0c4fd]pingshot.jpg[/attachment:0c4fd] ) didn't quite translate.
Title: Re: [SMF Converter] phpBB3
Post by: JayBachatero on January 24, 2008, 05:36:07 PM
Umm SMF doesn't support the inline images :(.  Maybe I can convert them to [img] tags.

EDIT:  Just looked into it and it seems like it would be too much work to support it :(.
Title: Re: [SMF Converter] phpBB3
Post by: Toadicus on January 24, 2008, 05:54:55 PM
Within some posts, some bbcodes aren't stripping their phpbb UIDs, and thus display unattractively.  Also, the converter appears to be adding close-tags for bullet codes (e.g. [/*]).

A sample of both:

Code: [Select]
[color=#228B22:9c28a]Herein lie the signups for the raid on 12/08/06.

[list:9c28a][*:9c28a]Kargin
[/*:m:9c28a][*:9c28a]Trixi
[*:9c28a]Mir
[/*:m:9c28a][*:9c28a]Sheowa
[*:9c28a]Aranthar
[/*:m:9c28a][*:9c28a]Danhunter
[*:9c28a]Gangofgreen
[/*:m:9c28a][*:9c28a]Penchance
[*:9c28a]Sinnara
[/*:m:9c28a][*:9c28a]Rinker
[*:9c28a]Acalon[/*:m:9c28a][/list:u:9c28a][/color:9c28a]
Title: Re: [SMF Converter] phpBB3
Post by: JayBachatero on January 24, 2008, 06:00:24 PM
Give this one a try.
Title: Re: [SMF Converter] phpBB3
Post by: Toadicus on January 24, 2008, 06:01:54 PM
My one thought on the in-line [attachment] tags would be to convert them to (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2F+tags+containing+the+attachment+download+link.%26nbsp%3B+I+tested+that+and+it+worked+fine%2C+but+I%26%23039%3Bm+guessing+you+knew+that%2C+and+that%26%23039%3Bs+what%26%23039%3Bs+too+much+work.%3Cbr+%2F%3E%3Cbr+%2F%3E%5Bcode%5D%5Bimg%5Dhttp%3A%2F%2Fsolacebeta.hawkbats.com%2Findex.php%3Faction%3Ddlattach%3Btopic%3D629.0%3Battach%3D14&hash=b6951ffcc71ac1423ca9bd93db150b51)[/code]
Title: Re: [SMF Converter] phpBB3
Post by: Toadicus on January 24, 2008, 06:11:27 PM
Still a lot of leftover UIDs on the bbcode.  Was there a new convert.php to go with that, or just the new phpbb3_to_smf.sql?
Title: Re: [SMF Converter] phpBB3
Post by: JayBachatero on January 24, 2008, 06:37:17 PM
Code: [Select]
[pre][color=#228B22]Herein lie the signups for the raid on 12/08/06.

[list][*]Kargin
[*]Trixi
[*]Mir
[*]Sheowa
[*]Aranthar
[*]Danhunter
[*]Gangofgreen
[*]Penchance
[*]Sinnara
[*]Rinker
[*]Acalon[/list][/color][/pre]

Seems to work just that the color tags are out of place.  In SMF you can't put a block element in a non-block element.
Title: Re: [SMF Converter] phpBB3
Post by: Toadicus on January 24, 2008, 07:12:32 PM
Excellent!  That's probably all from me for today, but I will be playing with it more tomorrow and will let you know if I run in to anything else.

Thanks for the great support!
Title: Re: [SMF Converter] phpBB3
Post by: JayBachatero on January 24, 2008, 07:25:12 PM
Ok glad to hear things seems better now.  Any suggestions or comments are welcomed :).
Title: Re: [SMF Converter] phpBB3
Post by: Toadicus on January 24, 2008, 07:47:32 PM
OK, just a couple things I got from looking at a particularly messy post:

It looks like, before some [list] tags, an extra ] is being inserted.  That might have been an artifact of the editor, though, as I haven't seen it elsewhere.

[size] tags in phpbb omit the "pt" after the number.  Would it be possible to tack that "pt" at the end to make size tags work out of the box?

Then, just a general question about SMF: do nested lists work well?  In phpbb we could nest list items like so:

[list]
[*]text
[list]
[*]indented text
[/list][/list] to get nested lists.  The lists I'm looking at out of the box from the converter aren't doing that.  Is this just a syntax issue, or is it not supported?

Thanks![/list]
Title: Re: [SMF Converter] phpBB3
Post by: JayBachatero on January 24, 2008, 08:13:12 PM
They work fine in SMF but you need the [li] tag.  I can change the [*][/*] to [li][/li].  Also can you post the HTML code for the post that is messed up?  I want to see what's going on.
Title: Re: [SMF Converter] phpBB3
Post by: Toadicus on January 25, 2008, 05:14:39 PM
Code: [Select]
<div class="post"><span style="color: #228B22;">Hey all, after getting some inquiries on the subject, I thought I'd put up a quick sticky regarding our rank structure here in Solace. &nbsp;Enjoy!<br /><br /></span><ul style="margin-top: 0; margin-bottom: 0;"><li>Initiate</li></ul><ul style="margin-top: 0; margin-bottom: 0;">Initiate is our recruiting rank (see the </ul><a href="http://solace.hawkbats.com/forum/viewtopic.php?f=6&amp;t=384" target="_blank">Recruiting Policy</a> for more). &nbsp;Initiates have access to guild chat and the public forums, and no voting privileges in guild affairs. &nbsp;Fortunately, you can't stay an initiate for long.<br /><br />Requirements for promotion:<br /><ul style="margin-top: 0; margin-bottom: 0;"><li>Completing the recruiting process.</li></ul><ul style="margin-top: 0; margin-bottom: 0;"><li>Protector</li></ul><ul style="margin-top: 0; margin-bottom: 0;">Protectors are usually newer members who have achieved full membership in the guild. &nbsp;They have access to the public and private forums, but do not have voting privileges in guild affairs. &nbsp;Protectors are considered for promotion to Guardian in the first week of every odd month.<br /><br />Requirements for promotion:<br /><li>Possession of an active forum account. &nbsp;Regular checking of the guild forums is important to staying apprised of current guild affairs.</li><li>Active guild contributor. &nbsp;While we have no playtime requirements in Solace, we expect our voting members to be relatively active players. &nbsp;Chatting in guild chat and grouping with fellow members is also strongly encouraged, and is taken in to consideration.</li></ul><ul style="margin-top: 0; margin-bottom: 0;"><li>Guardian</li></ul><ul style="margin-top: 0; margin-bottom: 0;">The &quot;everyman&quot; of our guild, Guardians are voting members and play a vital role in the formation of guild policy.</ul><br /><br /><ul style="margin-top: 0; margin-bottom: 0;"><li>Sentinel</li></ul><ul style="margin-top: 0; margin-bottom: 0;">Sentinels are our guild officers, who act as the authors and enforcers of guild policy and attempt to steer the vision of Solace as a whole. &nbsp;Sentinels are almost always available to answer questions (regarding the guild or the game in general) and resolve disputes (within the guild or with other players). &nbsp;We currently have six Sentinels.<br /><br />Sentinels are hand-selected from among the Guardian ranks by unanimous vote of the existing Sentinels and only when a position is available or created.</ul>[/list][/color]</div>
That's the HTML out of the post, fresh out of the converter.

One thing I noticed that was particularly irksome was the </ul> preceeding the <a> tag for the link near the top.  Is there a way around that?

Other than that, I was able to clean it up with a little work.
Title: Re: [SMF Converter] phpBB3
Post by: JayBachatero on January 25, 2008, 05:39:47 PM
Ok thanks.  That is from SMF right?  Can you get me the phpBB one?
Title: Re: [SMF Converter] phpBB3
Post by: Toadicus on January 26, 2008, 02:03:05 AM
Code: [Select]
<div class="content"><span style="color: #228B22">Hey all, after getting some inquiries on the subject, I thought I'd put up a quick sticky regarding our rank structure here in Solace.  Enjoy!<br /><br /><ul><li>Initiate<br /><ul>Initiate is our recruiting rank (see the <a href="http://solace.hawkbats.com/forum/viewtopic.php?f=6&amp;t=384" class="postlink">Recruiting Policy</a> for more).  Initiates have access to guild chat and the public forums, and no voting privileges in guild affairs.  Fortunately, you can't stay an initiate for long.<br /><br />Requirements for promotion:<br /><li>Completing the recruiting process.</li></ul><br /></li><li>Protector<br /><ul>Protectors are usually newer members who have achieved full membership in the guild.  They have access to the public and private forums, but do not have voting privileges in guild affairs.  Protectors are considered for promotion to Guardian in the first week of every odd month.<br /><br />Requirements for promotion:<br /><li>Possession of an active forum account.  Regular checking of the guild forums is important to staying apprised of current guild affairs.</li><li>Active guild contributor.  While we have no playtime requirements in Solace, we expect our voting members to be relatively active players.  Chatting in guild chat and grouping with fellow members is also strongly encouraged, and is taken in to consideration.</li></ul><br /></li><li>Guardian<br /><ul>The &quot;everyman&quot; of our guild, Guardians are voting members and play a vital role in the formation of guild policy.</ul><br /></li><li>Sentinel<br /><ul>Sentinels are our guild officers, who act as the authors and enforcers of guild policy and attempt to steer the vision of Solace as a whole.  Sentinels are almost always available to answer questions (regarding the guild or the game in general) and resolve disputes (within the guild or with other players).  We currently have six Sentinels.<br /><br />Sentinels are hand-selected from among the Guardian ranks by unanimous vote of the existing Sentinels and only when a position is available or created.</ul></li></ul></span></div>
Title: Re: [SMF Converter] phpBB3
Post by: JayBachatero on January 26, 2008, 02:26:30 AM
Give this a try.
Title: Re: [SMF Converter] phpBB3
Post by: Toadicus on January 26, 2008, 03:04:17 PM
Code: [Select]
<div class="post"><span style="color: #228B22;">Hey all, after getting some inquiries on the subject, I thought I'd put up a quick sticky regarding our rank structure here in Solace. &nbsp;Enjoy!<br /><br /></span><ul style="margin-top: 0; margin-bottom: 0;"><li>Initiate<br /><ul style="margin-top: 0; margin-bottom: 0;">Initiate is our recruiting rank (see the </ul><a href="http://solace.hawkbats.com/forum/viewtopic.php?f=6&amp;t=384" target="_blank">Recruiting Policy</a> for more). &nbsp;Initiates have access to guild chat and the public forums, and no voting privileges in guild affairs. &nbsp;Fortunately, you can't stay an initiate for long.<br /><br />Requirements for promotion:<br />[li]Completing the recruiting process.</li></ul><br />[/li]<br />[li]Protector<br /><ul style="margin-top: 0; margin-bottom: 0;">Protectors are usually newer members who have achieved full membership in the guild. &nbsp;They have access to the public and private forums, but do not have voting privileges in guild affairs. &nbsp;Protectors are considered for promotion to Guardian in the first week of every odd month.<br /><br />Requirements for promotion:<br /><li>Possession of an active forum account. &nbsp;Regular checking of the guild forums is important to staying apprised of current guild affairs.</li><li>Active guild contributor. &nbsp;While we have no playtime requirements in Solace, we expect our voting members to be relatively active players. &nbsp;Chatting in guild chat and grouping with fellow members is also strongly encouraged, and is taken in to consideration.</li></ul><br />[/li]<br />[li]Guardian<br /><ul style="margin-top: 0; margin-bottom: 0;">The &quot;everyman&quot; of our guild, Guardians are voting members and play a vital role in the formation of guild policy.</ul><br />[/li]<br />[li]Sentinel<br /><ul style="margin-top: 0; margin-bottom: 0;">Sentinels are our guild officers, who act as the authors and enforcers of guild policy and attempt to steer the vision of Solace as a whole. &nbsp;Sentinels are almost always available to answer questions (regarding the guild or the game in general) and resolve disputes (within the guild or with other players). &nbsp;We currently have six Sentinels.<br /><br />Sentinels are hand-selected from among the Guardian ranks by unanimous vote of the existing Sentinels and only when a position is available or created.</ul>[/li][/list][/color]</div>]
Getting closer, but not quite!
Title: Re: [SMF Converter] phpBB3
Post by: JayBachatero on January 26, 2008, 04:14:17 PM
Weird.  I tested the same quote and it worked fine.  I did miss the span tag.  Give this one a try.
Title: Re: [SMF Converter] phpBB3
Post by: chris_b0ss on January 27, 2008, 04:00:03 PM
Code: [Select]
[pre][color=#228B22]Herein lie the signups for the raid on 12/08/06.

[list][*]Kargin
[*]Trixi
[*]Mir
[*]Sheowa
[*]Aranthar
[*]Danhunter
[*]Gangofgreen
[*]Penchance
[*]Sinnara
[*]Rinker
[*]Acalon[/list][/color][/pre]

Seems to work just that the color tags are out of place.  In SMF you can't put a block element in a non-block element.

Thank you for this converter! it works excelent..except the bbcodes..

so,if i have problems with the codes(links,quotes) i should use that file ?
Title: Re: [SMF Converter] phpBB3
Post by: JayBachatero on January 27, 2008, 07:18:03 PM
Yea use the latest file from my last post.  I haven't updated the main file yet until I get all the bbc bugs squashed.
Title: Re: [SMF Converter] phpBB3
Post by: Toadicus on January 27, 2008, 11:05:37 PM
Code: [Select]
<div class="post"><span style="color: #228B22;">Hey all, after getting some inquiries on the subject, I thought I'd put up a quick sticky regarding our rank structure here in Solace. &nbsp;Enjoy!<br /><br /></span><ul style="margin-top: 0; margin-bottom: 0;"><li>Initiate<br /><ul style="margin-top: 0; margin-bottom: 0;">Initiate is our recruiting rank (see the </ul><a href="http://solace.hawkbats.com/forum/viewtopic.php?f=6&amp;t=384" target="_blank">Recruiting Policy</a> for more). &nbsp;Initiates have access to guild chat and the public forums, and no voting privileges in guild affairs. &nbsp;Fortunately, you can't stay an initiate for long.<br /><br />Requirements for promotion:<br />[li]Completing the recruiting process.</li></ul><br />[/li]<br />[li]Protector<br /><ul style="margin-top: 0; margin-bottom: 0;">Protectors are usually newer members who have achieved full membership in the guild. &nbsp;They have access to the public and private forums, but do not have voting privileges in guild affairs. &nbsp;Protectors are considered for promotion to Guardian in the first week of every odd month.<br /><br />Requirements for promotion:<br /><li>Possession of an active forum account. &nbsp;Regular checking of the guild forums is important to staying apprised of current guild affairs.</li><li>Active guild contributor. &nbsp;While we have no playtime requirements in Solace, we expect our voting members to be relatively active players. &nbsp;Chatting in guild chat and grouping with fellow members is also strongly encouraged, and is taken in to consideration.</li></ul><br />[/li]<br />[li]Guardian<br /><ul style="margin-top: 0; margin-bottom: 0;">The &quot;everyman&quot; of our guild, Guardians are voting members and play a vital role in the formation of guild policy.</ul><br />[/li]<br />[li]Sentinel<br /><ul style="margin-top: 0; margin-bottom: 0;">Sentinels are our guild officers, who act as the authors and enforcers of guild policy and attempt to steer the vision of Solace as a whole. &nbsp;Sentinels are almost always available to answer questions (regarding the guild or the game in general) and resolve disputes (within the guild or with other players). &nbsp;We currently have six Sentinels.<br /><br />Sentinels are hand-selected from among the Guardian ranks by unanimous vote of the existing Sentinels and only when a position is available or created.</ul>[/li][/list][/color]</div>
Seems to be about the same issue.  Is this a syntax limitation based on the bbcodes I was using in a way not supported by SMF?
Title: Re: [SMF Converter] phpBB3
Post by: JayBachatero on January 27, 2008, 11:17:22 PM
Ok give this a try.  Also SMF supports the  tag in case you want to use raw HTML like that.  It can only be used by admins only due to its security risks.
Title: Re: [SMF Converter] phpBB3
Post by: Augh on January 28, 2008, 05:56:37 AM
Augh can you check and make sure that entities where converter correctly?  phpBB uses utf8_bin for text fields so hopefully everything transfers correctly.

Yep, everything went smoothly, only some minor errors with phpbb smileys but nothing else.
Title: Re: [SMF Converter] phpBB3
Post by: honda2008 on January 28, 2008, 07:44:55 AM
Hi,
since SMF and phpBB3 Databases are in my hosting on different MySQL servers, conversion seems to be impossible. Is this correct?.

Thanks for helping me!
Title: Re: [SMF Converter] phpBB3
Post by: JayBachatero on January 28, 2008, 01:57:05 PM
Can't you install SMF in the same database as phpBB?  That should work.
Title: Re: [SMF Converter] phpBB3
Post by: honda2008 on January 28, 2008, 03:10:35 PM
Sorry for my "innocence" ...
install SMF in the same phpbb3 database? ....

And what happen to my phpbb3 forum?

(lo siento .. no entiendo)
 ;)
Title: Re: [SMF Converter] phpBB3
Post by: JayBachatero on January 28, 2008, 03:14:33 PM
SMF and phpBB have different prefixes for table names so there wont be a conflict.  Heck I have like 4 different forums installed in one database w/o a problem.

What you need to do is reinstall SMF and then enter the phpBB database info but leave the prefix as smf_.  That should work w/o a problem.
Title: Re: [SMF Converter] phpBB3
Post by: honda2008 on January 28, 2008, 03:22:01 PM
wow! ... four diff forums.
To be honest, i need to convert phpbb3 to vBulletin. Since conversion is not going smooth I prefer to convert to SMF and then try to convert to vBulletin.

Slowly I guess I will come to a "no-return" point after a lot of efforts.
Sorry to borin' you.
Title: Re: [SMF Converter] phpBB3
Post by: Douglas on January 28, 2008, 03:35:40 PM
So you're going from bloated software package, to a GOOD package (see my sig) to another overbloated package?

H'okay... makes sense... not.

I should remind you that doing this kind of a conversion is bound to screw up your existing data somewhere.  If you want to convert to vBlah, go to the source and leave SMF out of the equation.

That way, you can't come back here and try to blame us for a screwup that we had no control of.
Title: Re: [SMF Converter] phpBB3
Post by: Oldiesmann on January 28, 2008, 03:41:08 PM
wow! ... four diff forums.
To be honest, i need to convert phpbb3 to vBulletin. Since conversion is not going smooth I prefer to convert to SMF and then try to convert to vBulletin.

Slowly I guess I will come to a "no-return" point after a lot of efforts.
Sorry to borin' you.

I'm sorry, but we are unable to assist with conversions to other software.
Title: Re: [SMF Converter] phpBB3
Post by: H on January 28, 2008, 03:42:18 PM
If it were me, I'd be complaining about the state of vBs converter. SMF, made up of volunteers, makes a working converter and yet vB either haven't managed to or haven't managed to fix the problems you've been having with it
Title: Re: [SMF Converter] phpBB3
Post by: mihir on January 30, 2008, 06:47:15 AM
can some one tell me which is the final converter please repost it as there are so many that i am getting confused does the converter have full functionality now or does it still leave out certain things
Title: Re: [SMF Converter] phpBB3
Post by: mihir on January 30, 2008, 11:56:23 AM
i converted my board but when i try and login it says wrong password.
when i try getting my password it says user name does not exist
but when i try and register it says username already exists
what do i do???
can't you help some one who has been registered here for as long as i have
lol since jan 2005 come on i have been using SMF ever since then
Title: Re: [SMF Converter] phpBB3
Post by: JayBachatero on January 30, 2008, 12:59:24 PM
There is no final converter yet.  I'm fixing bugs as they are reported and posting the updated converter.  I'll update the main converter soon though.

About the password.  Did you follow my post about adding the new password function to support phpBB3 password?
Title: Re: [SMF Converter] phpBB3
Post by: mihir on January 30, 2008, 01:28:43 PM
ohhh never saw that post sorry my bad
Title: Re: [SMF Converter] phpBB3
Post by: JayBachatero on January 30, 2008, 01:35:46 PM
It's always a good idea to read the first post in a sticky topic ;).
Title: Re: [SMF Converter] phpBB3
Post by: mihir on January 30, 2008, 02:07:15 PM
lol yeah kinda figured that one out lol
it also does not copy the sub forums as they are it makes them into normal forums
ok i went back and read u say sub forums do not get converted
sorry
but i still get this error
Code: [Select]
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '200 (ID_MSG, ID_TOPIC, ID_BOARD, posterTime, ID_MEMBER, subject, poster' at line 1
Also get this error

Code: [Select]
Undefined index: charsets in convert.php on line 378
Title: Re: [SMF Converter] phpBB3
Post by: mihir on January 31, 2008, 01:22:12 PM
did you check the errors???
Title: Re: [SMF Converter] phpBB3
Post by: JayBachatero on January 31, 2008, 01:37:05 PM
Is your convert.php up to date?
Title: Re: [SMF Converter] phpBB3
Post by: mihir on January 31, 2008, 01:39:33 PM
i used the one u mentioned in the first post
Title: Re: [SMF Converter] phpBB3
Post by: JayBachatero on January 31, 2008, 02:03:42 PM
Did you select UTF-8 as the charset?
Title: Re: [SMF Converter] phpBB3
Post by: mihir on January 31, 2008, 02:06:53 PM
yup i did
any suggestions about what might be wrong
the error only comes when i add the password bit
Title: Re: [SMF Converter] phpBB3
Post by: mihir on January 31, 2008, 03:00:53 PM
um yeah
Title: Re: [SMF Converter] phpBB3
Post by: mihir on January 31, 2008, 07:03:04 PM
yeah i managed to fix it
i just had one last question
is it possible to make all the sub forums automatically become child boards during the conversion and
do you know if SMF 2.0 will include the feature of sub categories?
Title: Re: [SMF Converter] phpBB3
Post by: JayBachatero on January 31, 2008, 08:47:18 PM
I would need to look into it but it would over complicate the conversion.  2.0 will not have sub categories.
Title: Re: [SMF Converter] phpBB3
Post by: mihir on February 01, 2008, 04:01:41 AM
if it is possible could you please look into it

thanks in advance
Title: Re: [SMF Converter] phpBB3
Post by: mihir on February 02, 2008, 10:23:16 PM
are you going to try??
Title: Re: [SMF Converter] phpBB3
Post by: Amacythe on February 03, 2008, 12:26:39 AM
Please be patient.  Try to understand that there are others on our forum who require the help of our volunteers.
Title: Re: [SMF Converter] phpBB3
Post by: mihir on February 04, 2008, 05:37:11 PM
i am patient
Title: Re: [SMF Converter] phpBB3
Post by: zorani on February 05, 2008, 09:28:10 AM
Hello,

  I've tried converting from phpbb3 to smf but I got some errors.
  Here's the converison output

Code: [Select]
Converting ranks... Successful.
Converting groups... Successful.
Converting members...Incorrect integer value: '' for column 'ID_GROUP' at row 1

Many thanks in advance.

Title: Re: [SMF Converter] phpBB3
Post by: JayBachatero on February 05, 2008, 01:31:03 PM
A quick fix.  In the .sql file.
Code: (find) [Select]
unset($row['signature_uid']);
Code: (add after) [Select]
$row['ID_GROUP'] = (int) $row['ID_GROUP'];
Title: Re: [SMF Converter] phpBB3
Post by: zorani on February 05, 2008, 02:01:21 PM
Yeah, that did the trick !!!  :D

Thank you very much Jay.

Regards,
 
 Zoran
Title: Re: [SMF Converter] phpBB3
Post by: ^Cientista^ on February 06, 2008, 01:29:50 PM
Tankyou for the converter.

At converting it gave me this error:

Code: [Select]
Converting poll votes...Duplicate entry '141-1-1' for key 1
I opened the new smf and the posts are okay. but i can't login.
Yes ! I have changed the LogInOut.php...

Can you help me ?!?
Tanks in advance..
Title: Re: [SMF Converter] phpBB3
Post by: JayBachatero on February 06, 2008, 02:24:42 PM
I'll look into the polls issue.  Can to you upload the LogInOut.php file?
Title: Re: [SMF Converter] phpBB3
Post by: ^Cientista^ on February 06, 2008, 02:29:11 PM
yes i have uploaded it.

But i have repaired now that i only have 1 user in the smf.

The converter have stoped in the midle.
I have all the posts but only one user.
Title: Re: [SMF Converter] phpBB3
Post by: ^Cientista^ on February 06, 2008, 02:38:04 PM
it might be because the polls problem...
Title: Re: [SMF Converter] phpBB3
Post by: JayBachatero on February 06, 2008, 03:17:41 PM
Is it possible for me to get FTP info so that I can debug this issue?
Title: Re: [SMF Converter] phpBB3
Post by: ^Cientista^ on February 06, 2008, 04:10:36 PM
You have got PM...
Title: Re: [SMF Converter] phpBB3
Post by: mihir on February 07, 2008, 12:04:30 PM
Jay did you look into the conversion for the issue which i had asked you for???
Title: Re: [SMF Converter] phpBB3
Post by: JayBachatero on February 07, 2008, 12:28:16 PM
Jay did you look into the conversion for the issue which i had asked you for???
The childboard issue is not top priority for me right now.  I'll look into it when ever I get a chance.
Title: Re: [SMF Converter] phpBB3
Post by: Taratibo on February 08, 2008, 09:25:14 AM
Battling with this error, even if I only select "personal messages" it runs everything

Converting personal messages (step 1)... Successful.
Converting personal messages (step 2)...Duplicate entry '565-124' for key 1
Title: Re: [SMF Converter] phpBB3
Post by: JayBachatero on February 08, 2008, 11:37:08 AM
Damn I uploaded the wrong converter :(.  The selective conversion is not done yet.

Edit the .sql file.  Find
---* {$to_prefix}personal_messages
---{

Add after $ignore = true;
Title: Re: [SMF Converter] phpBB3
Post by: Taratibo on February 08, 2008, 02:52:36 PM
Here is the original  LogInOut.php
Title: Re: [SMF Converter] phpBB3
Post by: JayBachatero on February 08, 2008, 03:55:37 PM
Here you go.  You missed a big chunk of code.
Title: Re: [SMF Converter] phpBB3
Post by: Taratibo on February 09, 2008, 07:54:34 AM
Thx.. Just uploaded it will check and let U know...
Title: Re: [SMF Converter] phpBB3
Post by: sunny45 on February 11, 2008, 05:40:14 AM
what do u do with the sql files i mean how do u change it??
Title: Re: [SMF Converter] phpBB3
Post by: avguste on February 11, 2008, 10:32:48 PM
Huh,I want to convert phbb3 forums to smf.
Also,the phpbb3 and the smf hosts would be different
What do I do with the files I downloaded from here?How do I transfer/convert?
Title: Re: [SMF Converter] phpBB3
Post by: JayBachatero on February 11, 2008, 11:23:59 PM
what do u do with the sql files i mean how do u change it??
Converting to SMF (http://docs.simplemachines.org/index.php?board=4.0;sort=subject)

Huh,I want to convert phbb3 forums to smf.
Also,the phpbb3 and the smf hosts would be different
What do I do with the files I downloaded from here?How do I transfer/convert?
SMF phpBB must be on the same server.
Converting to SMF (http://docs.simplemachines.org/index.php?board=4.0;sort=subject)
Title: Re: [SMF Converter] phpBB3
Post by: giulio4 on February 12, 2008, 11:39:20 AM
I've just convert phpbb3 to smf4!!Excellent!!Amazing
All go well!!Thanks a lot for your work!
Title: Re: [SMF Converter] phpBB3
Post by: mihir on February 12, 2008, 03:15:31 PM
when is the final version for the convert coming
Title: Re: [SMF Converter] phpBB3
Post by: Aaron on February 12, 2008, 03:48:42 PM
when is the final version for the convert coming

When it's done. :P This version should be able to convert your phpBB 3 forum to SMF 1.1 though. :)
Title: Re: [SMF Converter] phpBB3
Post by: Computer Ninja on February 13, 2008, 12:16:59 PM
I just tried to convert from my phpBB3 installation (used same db and username to make it easier) and it fails on the converting groups step (step #2).

I get this error:

Converting ranks... Successful.
Converting groups...Unknown column 'group_single_user' in 'where clause'

I even made sure to choose UTF-8.

:(
Title: Re: [SMF Converter] phpBB3
Post by: rastoma on February 13, 2008, 12:39:00 PM
Hi,

I've been wanting to convert a php3 board to SMF FOREVER.  Thank you for this converter!!!

It didn't fully work though.  It imported all users it seems and they can login properly.  Avatars and signatures are correct, profiles information.... The number of topics and posts are exactly the same thank goodness.... BUT lots of the actual posts are missing.  There are over 49,000 messages on the board and the count is right but many categories show posts starting at year 2007 and older.

At the end of the conversion I got a page full of this:(snippet)

Notice: Undefined index: convert_script in /home/porsche1/public_html/convert.php on line 791

Warning: Invalid argument supplied for foreach() in /home/porsche1/public_html/convert.php on line 794

Notice: Undefined index: convert_script in /home/porsche1/public_html/convert.php on line 806

Notice: Undefined index: convert_script in /home/porsche1/public_html/convert.php on line 702
Successful.
Recalculating forum statistics...
Notice: Undefined variable: result in /home/porsche1/public_html/convert.php on line 2217

Notice: Undefined variable: result in /home/porsche1/public_html/convert.php on line 2218

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/porsche1/public_html/convert.php on line 1189

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /home/porsche1/public_html/convert.php on line 1199

Notice: Undefined variable: result in /home/porsche1/public_html/convert.php on line 2217

Notice: Undefined variable: result in /home/porsche1/public_html/convert.php on line 2218


Any suggestions?
Title: Re: [SMF Converter] phpBB3
Post by: mathmission on February 14, 2008, 04:10:16 PM
Ok, so far this is all very awesome software. Was able to convert PHPBB3 to SMF, made the edits in the code, but it's still telling me that user passwords are incorrect (or that they can't be retrieved). Where should I start?
Title: Re: [SMF Converter] phpBB3
Post by: JayBachatero on February 15, 2008, 01:57:11 AM
You made the change that I suggested above?  Also did you upgrade to phpBB3 from phpBB3?
Title: Re: [SMF Converter] phpBB3
Post by: mathmission on February 15, 2008, 09:30:37 AM
You made the change that I suggested above?  Also did you upgrade to phpBB3 from phpBB3?

It was PHPBB2 that I upgraded to their "gold" release. Per your other comment, the first three characters in the hash are $H$
Title: Re: [SMF Converter] phpBB3
Post by: fak3 on February 16, 2008, 06:09:25 PM
ok here are my newbie questions :)
i just converted my phpbb3 board to smf and the script provided worked fine, but:
1. i can't login with my old password and i already changed LogInOut.php as suggested in the first post
2. not all members were imported (??)
3. http://img89.imageshack.us/img89/4792/immaginepk3.jpg i found this 'edit message' in every post

what can i do? thanks in advance
Title: Re: [SMF Converter] phpBB3
Post by: JayBachatero on February 17, 2008, 12:25:15 AM
You made the change that I suggested above?  Also did you upgrade to phpBB3 from phpBB3?

It was PHPBB2 that I upgraded to their "gold" release. Per your other comment, the first three characters in the hash are $H$
Post your LogInOut.php file.

ok here are my newbie questions :)
i just converted my phpbb3 board to smf and the script provided worked fine, but:
1. i can't login with my old password and i already changed LogInOut.php as suggested in the first post
2. not all members were imported (??)
3. http://img89.imageshack.us/img89/4792/immaginepk3.jpg i found this 'edit message' in every post

what can i do? thanks in advance
Did you try reconverting again?  Also was this an upgrade from phpBB2?
Title: Re: [SMF Converter] phpBB3
Post by: fak3 on February 17, 2008, 05:50:38 AM
first thanks for the answer, and yes i tried reconverting again but nothing changed
my phpbb3 was an upgrade from phpbb2
Title: Re: [SMF Converter] phpBB3
Post by: JayBachatero on February 17, 2008, 10:40:07 AM
first thanks for the answer, and yes i tried reconverting again but nothing changed
my phpbb3 was an upgrade from phpbb2
If you'd like I can take a look at this for you and see what is going on.
Title: Re: [SMF Converter] phpBB3
Post by: mathmission on February 18, 2008, 11:59:58 AM
Is there a chance that the problem is coming from the fact that both of us are having the same problem, and both of us had PHPBB2 then upgraded to PHPBB3?
Title: Re: [SMF Converter] phpBB3
Post by: H on February 18, 2008, 01:14:37 PM
I doubt this would change anything although there is a very small chance that this could be the case :)
Title: Re: [SMF Converter] phpBB3
Post by: JayBachatero on February 18, 2008, 01:43:19 PM
Is there a chance that the problem is coming from the fact that both of us are having the same problem, and both of us had PHPBB2 then upgraded to PHPBB3?
Actually yes.  phpBB2 and phpBB3 use different hashing methods for the passwords.  Also I noticed that different versions of PHP can produce different hashes.  I need to look into that one again though and see if it can be fixed.
Title: Re: [SMF Converter] phpBB3
Post by: jimmyeatworld on February 19, 2008, 12:18:19 PM
Hey, just wondering, which version of the converter do we use? The one on the first post, or on page 2?

Thanks
Title: Re: [SMF Converter] phpBB3
Post by: JayBachatero on February 19, 2008, 01:13:04 PM
Page 2.
Title: Re: [SMF Converter] phpBB3
Post by: jimmyeatworld on February 19, 2008, 02:43:35 PM
It worked, but attachments did not come and, and I got no Admin Privilege.

Jimmy
Title: Re: [SMF Converter] phpBB3
Post by: JayBachatero on February 19, 2008, 03:17:22 PM
Attachments should be copied over.  Check to see that th attachments dir for SMF is writeable.  About admin.  What group did you have in phpBB?  The converter uses the original groups to check if you are an admin or not.
Title: Re: [SMF Converter] phpBB3
Post by: jimmyeatworld on February 19, 2008, 03:50:29 PM
I was an admin, and attachments were copied, but did not seem to attach them selves to the post.

Not sure where to go from here.

Jim
Title: Re: [SMF Converter] phpBB3
Post by: jimmyeatworld on February 19, 2008, 04:51:51 PM
Also across the top a lit of stuff is missing...

Forum, Help, Search, profile, my messages, logout, etc

all that is missing, only stuff I see is: HOME, HELP, LOGOUT.

but if I create a new account, I seem to get all that info across the top no problem. So the issues lies in the conversion process somewhere.


this is what i did, let me know if i did it wrong:

1. Create a new DB for SMF and did a clean install
2. Imported my DB from phpbb3 via phpmyadmin and phbbb3 (tried both, got the same problem) backup. Restored it using Bigdump.
So now PHPBB_ and SMF_ are now in the same DB

3. Uploaded convert.php and pbpbb3 to smf.sql
4. went to Convert.php followed step by step

Not sure what to do now. No rush, just trying to figure what I did wrong, or perhaps a bug with the converter.
Title: Re: [SMF Converter] phpBB3
Post by: JayBachatero on February 19, 2008, 05:30:06 PM
Check in the database and check what is the value for the ID_GROUP field for your user.  Also keep in mind that permissions are not transferred besides the admin permission.
Title: Re: [SMF Converter] phpBB3
Post by: jimmyeatworld on February 19, 2008, 05:37:54 PM
Got It Thank You. You rock!

Jim
Title: Re: [SMF Converter] phpBB3
Post by: rhys100 on February 20, 2008, 11:33:07 PM
i get the following error: SELECT command denied to user 'ccecyout_smf2'@'localhost' for table 'phpbb_users' which means that SMF and Software X are in separate databases and the SMF database user does not have access to Software X's database.

So i gave all permissions to ccecyout_smf2 to access ccecyout_phpb1 but it still doesnt work.

do  i need to import the php tables into the smf table. how can i do that on phpmyadmin..? ive been trying for hours :(
Title: Re: [SMF Converter] phpBB3
Post by: JayBachatero on February 20, 2008, 11:51:08 PM
What access did you give it?
Title: Re: [SMF Converter] phpBB3
Post by: rhys100 on February 21, 2008, 12:00:33 AM
i gave as much access as i could :S


SELECT
CREATE
INSERT    
ALTER
UPDATE    
DROP
DELETE    
LOCK
TABLES
INDEX    
REFERENCES
CREATE TEMPORARY TABLES    
CREATE ROUTINE
Title: Re: [SMF Converter] phpBB3
Post by: JayBachatero on February 21, 2008, 01:07:43 AM
Umm that should work.  Sure you gave it to the right database? Has to be smf user with access to the phpbb database.  Not the other way around.
Title: Re: [SMF Converter] phpBB3
Post by: rhys100 on February 21, 2008, 01:19:46 AM
yea still wont work. can u im me. my msn is rhys100@gmail.com - i have alrdy added u

cheers
Title: Re: [SMF Converter] phpBB3
Post by: JayBachatero on February 21, 2008, 01:33:42 AM
IM me.  It didn't go through.
Title: Re: [SMF Converter] phpBB3
Post by: GuardianX00 on February 21, 2008, 04:25:11 PM
Hey, the conversion worked great besides for one thing.

The subs-forum do not show up in the section where you can manage the Boards.

They do however, show up where they should on the forum and in most of the other admin features.

There is one thing I noticed:
Abysmal Empire > Other > Gaming
Abysmal Empire >  > Gaming > Tournaments
and there is a blank category on the index (not in the admin)


Thanks



EDIT:  I fond a way to fix it.
Title: Re: [SMF Converter] phpBB3
Post by: jimbo101 on March 09, 2008, 09:47:22 AM
Were am i going wrong
i think i have done everything in the guide but when i run convert.php i get the following


public_html/smf/convert.php(398) : eval()'d code on line 1
Table 'thisstra_php3.member' doesn't exist

Thanks for your help Jim
Title: Re: [SMF Converter] phpBB3
Post by: leifo on March 11, 2008, 08:56:07 AM
Hi,

I am trying to convert my phpBB3 board and it is rather big 127 000 posts + PM

The language is Swedish and the conversion of posts goes well (with UTF-8) for approx half of the posts then it messes up the Swedish letters.

Usually I use Latin-7 when I have imported the database (changed web host for ex.) because UTF-8 is doing like this also when importing a "clean" phpBB database into MySql.

How can I manage this because I can not find Latin-7 as an option
Title: Re: [SMF Converter] phpBB3
Post by: Sarge on March 12, 2008, 03:27:20 AM
Usually I use Latin-7 when I have imported the database (changed web host for ex.) because UTF-8 is doing like this also when importing a "clean" phpBB database into MySql.

AFAIK, the converter only supports UTF-8, so the phpBB3 database and the installed SMF forum need to be both in UTF-8.

One way to convert the phpBB3 database to UTF-8 would be to:
1) export a backup the phpBB3 database as latin7,
2) switch all character set and collation information for the database, tables, and possibly fields, to utf8 and utf8_general_ci respectively in the backup,
3) drop the existing database and recreate it using utf8 as the default character set,
4) import the backup into the recreated database.

It's best to work on a copy of the phpBB3 database, just in case something goes wrong. phpMyAdmin offers an option to create a database copy (replica).

Do you have shell access? If you do, you can use the mysqldump, sed and mysql commands to perform the 4 operations outlined above. Otherwise, you can use backup and restore scripts to convert the database. Sed should be available in most Linux systems; if you use Windows, you can get sed from the homepage of Sed for Windows (http://gnuwin32.sourceforge.net/packages/sed.htm).
Title: Re: [SMF Converter] phpBB3
Post by: leifo on March 12, 2008, 07:04:52 PM
Sorry, maybe I was not clear.....

My databade is UTF-8 But I have never succeded to import it using utf-8 I always need to use latin7 if it is the post or privmsg file that is big. Dont ask me why!!!! lut the swedish letters get corrupt if I dont do it this way. ( I have had 4 or 5 webhosts and they works the same) The swedish lerrers are åäö ÅÄÖ.
Title: Re: [SMF Converter] phpBB3
Post by: Sarge on March 12, 2008, 07:11:21 PM
I always need to use latin7 if it is the post or privmsg file that is big.

You mean it's only big messages that get corrupted?

If you want, you can PM me the download link for a database backup and I will have a look.
Title: Re: [SMF Converter] phpBB3
Post by: Yoohoo on March 12, 2008, 07:15:32 PM
where is the attachment for the converter of phpbb3 to smf?
Title: Re: [SMF Converter] phpBB3
Post by: Sarge on March 12, 2008, 07:17:33 PM
where is the attachment for the converter of phpbb3 to smf?

First post of this topic.
Title: Re: [SMF Converter] phpBB3
Post by: decas on March 18, 2008, 07:57:05 AM
guys, i converted my greek forum succesfully to smf.
however i worry about the password conversion modification. Is there any possibility to face problems later on? i mean, do we have to modify the php as described, everytime that we will update our smf forum?

thanks in advance
Title: Re: [SMF Converter] phpBB3
Post by: Aaron on March 18, 2008, 10:53:40 AM
however i worry about the password conversion modification. Is there any possibility to face problems later on? i mean, do we have to modify the php as described, everytime that we will update our smf forum?

Only if you don't use the package manager updates. SMF 2.0 has support for both phpBB2 and phpBB3 password hashes built-in. :)
Title: Re: [SMF Converter] phpBB3
Post by: decas on March 18, 2008, 01:51:32 PM
Cheers Aäron!

but one more question please!

what if i'll need to update to 1.x version? will i have to modify the php file everytime i update, untill the release of SMF 2?
Title: Re: [SMF Converter] phpBB3
Post by: dinci5 on March 19, 2008, 06:17:14 PM
hello

I'm totally new to all of this.
I just tested SMF on my new host and I love it.

I'm using phpbb3 on my current host and I want to import the users and forums to SMF.

I don't know anything about this so I'm going to need some guidance.


So, my phpbb3 is on one host and SMF is on another.
Is there any chance to import the users and forums of phpbb3 to SMF without converting it.
I don't want anything to get lost as I have many users.
I would like to keep everything as it is.

Title: Re: [SMF Converter] phpBB3
Post by: decas on March 19, 2008, 06:58:35 PM

So, my phpbb3 is on one host and SMF is on another.
Is there any chance to import the users and forums of phpbb3 to SMF without converting it.
I don't want anything to get lost as I have many users.
I would like to keep everything as it is.


Welcome to SMF, as a both SMF and PHPBB3 user my self, i guarantee you, that you will never think to return back to PHPBB3

i think you missunderstood the conversion option. The conversion doesnt "transforms" your PHPBB forum to SMF.
 This is why you need to have a clean install of SMF on your host.
 during the proccess you will be asked to locate both of your SMF and PHPBB folders.

So
1) move your PHPBB3 to your new host

2)do a clean install of SMF at the new host

3) modify the loginout.php on SMF folder, as described here

4)upload the converter of this topic and point your broswer to it.

5)fill the fields of the converter and you are ready to go!

good luck!


edit: have a look at this:
http://www.simplemachines.org/community/index.php?topic=191602.0
Title: Re: [SMF Converter] phpBB3
Post by: dinci5 on March 19, 2008, 07:19:24 PM
thanks for the explanation decas.
For what I've seen till now, I like SMF more.
It has some really nice features and it is extremly user friendly.
Many mods and themes are also available.

What do you suggest me...
Should I stick with phpbb3 until this converter leaves BETA?


/EDIT
I also made some modifications to the phpbb3 forum.
Does this affect the conversion process?


Thanks
Title: Re: [SMF Converter] phpBB3
Post by: JayBachatero on March 19, 2008, 07:41:11 PM
The converter works.  Just that some things are not converted like explained in the main post.
Title: Re: [SMF Converter] phpBB3
Post by: decas on March 19, 2008, 08:05:44 PM
as JayBachatero says, the convertor works 100% and personaly i didnt faced any problem. 

i just worry about the password hush so maybe an idea would be to move this way: phpbb3>mybb>smf
Title: Re: [SMF Converter] phpBB3
Post by: JayBachatero on March 20, 2008, 12:36:11 AM
The password hash should work.  I tested it many times.  Also from the looks of it it works for almost everyone with the exception of a few people.
Title: Re: [SMF Converter] phpBB3
Post by: decas on March 20, 2008, 06:15:03 AM
The password hash should work.  I tested it many times.  Also from the looks of it it works for almost everyone with the exception of a few people.

It worked for me jay, you did a great job!  but i am interested in a converter that converts the passwords in database. so i wont have to modify the loginout.php, during the updates!
Title: Re: [SMF Converter] phpBB3
Post by: dinci5 on March 20, 2008, 12:39:47 PM
I just tried to convert, but didn't work

I get this error:
SELECT command denied to user 'sabur_be'@'srv85.one.com' for table 'ai_users'


I can only have one MySQL database on my host, so I've imported the DB from phpbb3 directly there
I don't know if that matters?
Title: Re: [SMF Converter] phpBB3
Post by: JayBachatero on March 20, 2008, 01:19:25 PM
Decas, since encryption is a one way deal that can't be done.  What we do instead is when the user logs in and enters their password we has it as if it were a phpBB pass and then compare it to the old password.  If they match then we overwrite the phpBB password that was converted and we rehash it and use our method.

dinci5, install SMF in the same database as phpBB3.  That should work for you.
Title: Re: [SMF Converter] phpBB3
Post by: dinci5 on March 20, 2008, 02:02:36 PM
no that doesn't help
I just did a clean install of SMF and that doesn't help neither

SELECT command denied to user 'sabur_be'@'srv85.one.com' for table 'ai_users'
Title: Re: [SMF Converter] phpBB3
Post by: decas on March 20, 2008, 05:04:01 PM
What we do instead is when the user logs in and enters their password we has it as if it were a phpBB pass and then compare it to the old password.  If they match then we overwrite the phpBB password that was converted and we rehash it and use our method.

thanks but do you mean that after the first login of users, their password will be stored in db in smf format?

no that doesn't help
I just did a clean install of SMF and that doesn't help neither

SELECT command denied to user 'sabur_be'@'srv85.one.com' for table 'ai_users'

mate, what i did was to add the smf user to phpbb3 database. it will work for sure!


by the way, even though that google is my best friend, it didnt help me find the smf 2 feature list. does anyone knows where i'll find it?
Title: Re: [SMF Converter] phpBB3
Post by: SleePy on March 20, 2008, 05:55:15 PM
decas,

Password Hashes are a one way street. You can't go backwards and get the original password.
The developers had this in mind and have implanted a nice little method of "updating" other styled passwords to its style.
All you need to do is before the conversion, use the package file attached in the first post, If there are no errors on the test install screen, then you can proceed to apply it.
Once applied and everything is still working you can start the conversion.

After the conversion all you do is login. With the mod package installed it adds a new login password method. SMF will detect this and then using the password you sent make one with its encryption style ( sha1(strtolower(username) . password) ) and update into the database.
Title: Re: [SMF Converter] phpBB3
Post by: JayBachatero on March 20, 2008, 11:49:58 PM
What we do instead is when the user logs in and enters their password we has it as if it were a phpBB pass and then compare it to the old password.  If they match then we overwrite the phpBB password that was converted and we rehash it and use our method.
Correct.  They will be stored in SMF format.

no that doesn't help
I just did a clean install of SMF and that doesn't help neither

SELECT command denied to user 'sabur_be'@'srv85.one.com' for table 'ai_users'
What user if SMF using for the database?  What user if phpBB running under?
Title: Re: [SMF Converter] phpBB3
Post by: decas on March 21, 2008, 03:25:03 AM
thanks guys! so this is my last question!
if all of the users login at least one time in the new smf forum, there wont be need for the mod or loginout.pp file modification right?
Title: Re: [SMF Converter] phpBB3
Post by: JayBachatero on March 21, 2008, 03:38:03 AM
Nope.  There wont be a need for the code after all the passwords have been converted.
Title: Re: [SMF Converter] phpBB3
Post by: malcomxar on March 21, 2008, 09:48:05 PM
Sorry, but newbie here :)

Could you tell me wich of the phpbb3_to_smf is the correct one cause in page 2 there are like 5 diferent ones.
Should i use the one that is teh "last one" posted?

Where do i place the install.php and the phpbb3_to_smf??
What does this means "Use this convert.php with the .sql file attached in this topic."
Thanks!
Title: Re: [SMF Converter] phpBB3
Post by: SleePy on March 22, 2008, 11:52:33 AM
I am sure jay has updated his first post with the latest fixes by now.
The convert.php contains the main coding for the conversion, so you need it to start and run the conversion process. The .sql file (in this case phpbb3_to_smf.sql) is the helper file to know what it is converting, and other information it needs and how to convert.
Title: Re: [SMF Converter] phpBB3
Post by: georgepym on March 24, 2008, 06:25:49 AM
sorry but what do you do with the "phpBB3_Login_Fix.tgz" file. I extracted it now what? I am using this as the code lines you gave didn't work properly. Yes... I am a noob ;)
Title: Re: [SMF Converter] phpBB3
Post by: JayBachatero on March 24, 2008, 05:01:56 PM
Install it via the package manager.  Admin > Packages > Download and browse for the file in your computer and install.
Title: Re: [SMF Converter] phpBB3
Post by: tvon on March 27, 2008, 11:49:44 AM
Converted this morning.. everything went well except 2 things:

Got this error message:
Quote
Warning: set_time_limit() [function.set-time-limit]: Cannot set time limit in safe mode in /home/tvon/domains/tommyvon.net/public_html/board/convert.php on line 29

Notice: Undefined index: charsets in /home/tvon/domains/tommyvon.net/public_html/board/convert.php on line 378

But everything seemed fine so i ignored it.

2.  None of my users got converted.  The admin account is the only working account. I tried converting a few times, only the users, etc.. no luck..  What am I doing wrong? 

edit:
i also get this error message
Quote
Converting...
Converting ranks... Successful.
Converting groups... Successful.
Converting members...Unknown column 'u.user_level' in 'field list'
Title: Re: [SMF Converter] phpBB3
Post by: Henksu on March 27, 2008, 06:12:11 PM
Hi!
I'm having a slight problem with converting to SMF. First I installed the login fix via package installer - went ok. Then convert.php - went ok. All other users are working and passwords are fine but mine (admin) login doesn't give me any options except home - help - logout. I can't even view my own profile and normal users can. Anyone got solution for this?
Title: Re: [SMF Converter] phpBB3
Post by: SleePy on March 27, 2008, 11:53:12 PM
Converted this morning.. everything went well except 2 things:

Got this error message:
Quote
Warning: set_time_limit() [function.set-time-limit]: Cannot set time limit in safe mode in /home/tvon/domains/tommyvon.net/public_html/board/convert.php on line 29

Notice: Undefined index: charsets in /home/tvon/domains/tommyvon.net/public_html/board/convert.php on line 378

But everything seemed fine so i ignored it.

2.  None of my users got converted.  The admin account is the only working account. I tried converting a few times, only the users, etc.. no luck..  What am I doing wrong? 

edit:
i also get this error message
Quote
Converting...
Converting ranks... Successful.
Converting groups... Successful.
Converting members...Unknown column 'u.user_level' in 'field list'

The first error is a result of being in safe mode (http://php.net/safe_mode). Safe mode in php is not really safe, its just a false hope for web hosts to think they have secured themselves. Most likely even if you asked your host, they wouldn't want to disable it because they would think they were not "safe". All in all, I am saying your host isn't to bright to depend on safe mode to secure things.

Please read this topic on why you most likely did not get your users converted Common conversion errors. (http://www.simplemachines.org/community/index.php?topic=146192.0). The problem also may be safe mode again causing issues.

<br />Hi!<br />I'm having a slight problem with converting to SMF. First I installed the login fix via package installer - went ok. Then convert.php - went ok. All other users are working and passwords are fine but mine (admin) login doesn't give me any options except home - help - logout. I can't even view my own profile and normal users can. Anyone got solution for this?<br />

Well, that is odd. It is treating you like you have no permissions at all...
Using phpMyAdmin (What is phpMyAdmin? (http://www.simplemachines.org/community/index.php?topic=21919.0)) go to your smf_members table.
Then search for your account. Change the ID_GROUP for your account to 1.
This will put you in the Administrators group and give you your powers back.
 
Title: Re: [SMF Converter] phpBB3
Post by: tvon on March 28, 2008, 12:44:00 PM

2.  None of my users got converted.  The admin account is the only working account. I tried converting a few times, only the users, etc.. no luck..  What am I doing wrong? 

edit:
i also get this error message
Quote
Converting...
Converting ranks... Successful.
Converting groups... Successful.
Converting members...Unknown column 'u.user_level' in 'field list'



Please read this topic on why you most likely did not get your users converted Common conversion errors. (http://www.simplemachines.org/community/index.php?topic=146192.0). The problem also may be safe mode again causing issues.


 

Thanks for the response.  That thread you pointed me to didnt provide me with the help I needed, maybe i'm missing something.    I'm not getting the "Select" or "SQL" errors.    And I'm not getting a message saying my installation was successful.  It just stops and i get everything successfully converted over minus the members.     Also, I find it somewhat unlikely my host will change its php.ini settings for me, if thats even the issue to begin with.   

Is there anything else I could potentially be missing?

Title: Re: [SMF Converter] phpBB3
Post by: JayBachatero on March 28, 2008, 01:19:58 PM
tvon are you using phpBB 2 or 3?
Title: Re: [SMF Converter] phpBB3
Post by: tvon on March 28, 2008, 02:46:36 PM
tvon are you using phpBB 2 or 3?

phpbb3, i'm sorry i should of specified.

Title: Re: [SMF Converter] phpBB3
Post by: Phat32 on March 31, 2008, 03:46:32 PM
Thanks a lot for this converter! its very helpful!

Just one thing..... When I ran it this happened:

Converting...
Converting posts... Successful.
Converting polls... Successful.
Converting poll options... Successful.
Converting poll votes... Successful.
Converting personal messages (step 1)... Successful.
Converting personal messages (step 2)...Duplicate entry '191-81' for key 1
Title: Re: [SMF Converter] phpBB3
Post by: dlblank on March 31, 2008, 11:49:10 PM
I get this when trying to convert,

Code: [Select]
Converting ranks... Unsuccessful!
This query:

    DELETE FROM `******_SMF`.smf_membergroups
    WHERE groupName LIKE 'phpBB %';

Caused the error:

    Unknown column 'groupName' in 'where clause'
Title: Re: [SMF Converter] phpBB3
Post by: tvon on April 01, 2008, 12:26:16 PM

2.  None of my users got converted.  The admin account is the only working account. I tried converting a few times, only the users, etc.. no luck..  What am I doing wrong? 

i also get this error message
Quote
Converting...
Converting ranks... Successful.
Converting groups... Successful.
Converting members...Unknown column 'u.user_level' in 'field list'


I also want to add that the above error message is where the conversion stops.  After the field list error the installation halts, i get no other messages, notifications, etc.. 

I'm stuck here, so any help someone can give me would be greatly appreciated. 
Title: Re: [SMF Converter] phpBB3
Post by: JayBachatero on April 01, 2008, 01:21:08 PM
I get this when trying to convert,

Code: [Select]
Converting ranks... Unsuccessful!
This query:

    DELETE FROM `******_SMF`.smf_membergroups
    WHERE groupName LIKE 'phpBB %';

Caused the error:

    Unknown column 'groupName' in 'where clause'
This converter is only for SMF 1.1 not SMF 2.0.


2.  None of my users got converted.  The admin account is the only working account. I tried converting a few times, only the users, etc.. no luck..  What am I doing wrong? 

i also get this error message
Quote
Converting...
Converting ranks... Successful.
Converting groups... Successful.
Converting members...Unknown column 'u.user_level' in 'field list'


I also want to add that the above error message is where the conversion stops.  After the field list error the installation halts, i get no other messages, notifications, etc.. 

I'm stuck here, so any help someone can give me would be greatly appreciated. 
Are you using the file from this topic and not the download page?
Title: Re: [SMF Converter] phpBB3
Post by: tvon on April 01, 2008, 02:53:22 PM

Are you using the file from this topic and not the download page?

I am using the one from this thread.  I ran it again today (for the nth time) and i got a "conversion successful" (for the first time), yet again everything converted minus the "members".   
Title: Re: [SMF Converter] phpBB3
Post by: JayBachatero on April 01, 2008, 02:58:14 PM
Can you send me FTP info and I'll take a look into it?  Also if you have phpMyAdmin access to that would be great as well.  That way I can take a look at the table structure and so on.
Title: Re: [SMF Converter] phpBB3
Post by: topthumb on April 15, 2008, 03:11:12 AM
I ran the converter for phpBB3 to SMF and all went fine except I can not log in. I read on here that you have to edit a file called LogInOut.php but what do you have to edit?

Title: Re: [SMF Converter] phpBB3
Post by: JayBachatero on April 15, 2008, 09:34:41 AM
Just install the mod located in the first post of this topic.  If you read the guidelines for this mod, it tells you what to do ;).
Title: Re: [SMF Converter] phpBB3
Post by: topthumb on April 15, 2008, 10:00:49 AM
Ok, I'll go back and read again. Are you talking about the text changes? If so, I copy/pasted the changes and got this error now:

Parse error: parse error, unexpected ';' in /home/userxxxxx/public_html/smf/Sources/LogInOut.php on line 496
Title: Re: [SMF Converter] phpBB3
Post by: topthumb on April 15, 2008, 10:33:36 AM
Ok, I've tried what I think I'm suppose to be doing and all I get is errors. Maybe I'm doing things in the wrong order. Can someone post the order of what to do and what files to do first and so on? This is what I did:

1. Create a SMF database
2. Installed SMF 1.1.4 on my server
3. Ran the install.php
4. Checked to make sure SMF is up and running. It was
5. Uploaded the convert.php, phpBB3_to_smf.sql
6. Ran the convert.php

After that is when I got the first error of personal message duplicate and then trying to access smf, it says wrong password

7. Copy and pasted the LogInOut fix

then I got the error: parse error, unexpected ';' in /home/userxxxx/public_html/smf/Sources/LogInOut.php on line 496

I'm not sure but maybe I did things out of order?
Title: Re: [SMF Converter] phpBB3
Post by: JayBachatero on April 15, 2008, 10:41:22 AM
Just install the password mod.  http://www.simplemachines.org/community/index.php?action=dlattach;topic=218449.0;attach=51663
Title: Re: [SMF Converter] phpBB3
Post by: topthumb on April 15, 2008, 10:52:33 AM
Ok, I guess I'm not too bright, how do I install it?
Title: Re: [SMF Converter] phpBB3
Post by: JayBachatero on April 15, 2008, 10:55:21 AM
Package Manager (http://docs.simplemachines.org/index.php?board=49.0;sort=subject)
Title: Re: [SMF Converter] phpBB3
Post by: topthumb on April 15, 2008, 11:24:00 AM
I guess it's because I am not familiar with SMF but where is package Manager? If it's accessible through SMF, then it will do me no good because I can't get into SMF forum.
Title: Re: [SMF Converter] phpBB3
Post by: topthumb on April 15, 2008, 12:30:01 PM
I deleted everything, made a new database and re-installed SMF 1.1.4. I then went into admin and Package Manager and uploaded the phpBB3_Login_Fix.tgz but have not applied it yet.

I have not run the converter yet so now what are my next steps?

I appreciate the help

Title: Re: [SMF Converter] phpBB3
Post by: Zagra on April 15, 2008, 12:49:22 PM
Have I such problem, namely does such mistake jump out me near the conversion :

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fgfxworld.pl%2FBez-nazwy-1.jpg&hash=cb3ac120ab2a6f992a8d7d02763776f5)
As remedy this?
I will be very grateful, how someone will help , I do not give alone glad.
Title: Re: [SMF Converter] phpBB3
Post by: IndeX148 on April 15, 2008, 01:06:59 PM
Hi. I've problem
Code: [Select]
Which software are you using?
The converter did not find any conversion data files. Please check to see if the one you want is available for download at www.simplemachines.org. If it isn't, we may be able to write one for you - just ask us!
After you download it, simply upload it into the same folder as this convert.php file. If you're having any other problems with this converter, don't hesitate to look for help on our forum.

Try again
What i should do now? I have phpbb3.0.1
Title: Re: [SMF Converter] phpBB3
Post by: SleePy on April 15, 2008, 04:50:49 PM
I deleted everything, made a new database and re-installed SMF 1.1.4. I then went into admin and Package Manager and uploaded the phpBB3_Login_Fix.tgz but have not applied it yet.

I have not run the converter yet so now what are my next steps?

I appreciate the help

Try applying the password fix before converting. This just modifies the SMF login so it will be able to detect the phpbb3 passwords when a user logs in and then updates it to use the SMF hashing method.

Have I such problem, namely does such mistake jump out me near the conversion :

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fgfxworld.pl%2FBez-nazwy-1.jpg&hash=cb3ac120ab2a6f992a8d7d02763776f5)
As remedy this?
I will be very grateful, how someone will help , I do not give alone glad.

That error is saying you have a duplicate poll entry.
Check your phpbb database for a poll that has an id of 5477 in which a member with the id of 34 voted  for the 127th option twice.


Hi. I've problem
Code: [Select]
Which software are you using?
The converter did not find any conversion data files. Please check to see if the one you want is available for download at www.simplemachines.org. If it isn't, we may be able to write one for you - just ask us!
After you download it, simply upload it into the same folder as this convert.php file. If you're having any other problems with this converter, don't hesitate to look for help on our forum.

Try again
What i should do now? I have phpbb3.0.1

Make sure you uploaded the sql file as well to the same location as the convert.php. Which should be in your SMF directory.
Title: Re: [SMF Converter] phpBB3
Post by: babylon on April 15, 2008, 06:47:17 PM
have a few questions guys..

I converted someones phpbb3 to smf 1.1.4
I saw a few errors while process was going but it ended up saying all is ok..
Only special characters like greek were messed up completely,i tried the utf8 convert but that didnt help.

It can login as admin but all topics do seems to be closed for me when i login as MEMBER.
I mean , i cannot reply....
any way to solve this ?...
Any table i should check for whatever ID i should have to be able to post as a member ?
Title: Re: [SMF Converter] phpBB3
Post by: SleePy on April 15, 2008, 10:15:29 PM
You converted SMF to use UTF-8? Did you also install the UTF-8 language pack so SMF knows what charset you are using?

This converter does not convert permissions. The phpbb3 permissions are just to messed up to attempt to try and get things right. It will lock things down though during the conversion.
You can go to Admin -> Permissions and alter the groups (including regular group) to change the permissions and allow users to post and do other things.

If you setup a group, you can copy the permissions to other groups as well in that same section :)
Title: Re: [SMF Converter] phpBB3
Post by: topthumb on April 16, 2008, 12:02:23 AM
Ok, I started from scratch again and after installing SMF, I went into the Package Manager and installed the phpBB3_Login_Fix. Then I ran the converter and everything converted successfully. Then I went to the forum and it loads up fine but when I try to enter my username and password, I get this error:

Fatal error: Cannot redeclare phpbb3_password_check() (previously declared in /home/userxxxxx/public_html/smf/Sources/LogInOut.php:489) in /home/userxxxxx/public_html/smf/Sources/LogInOut.php on line 550

At least before it just told me wrong password. Now what do I do?
Title: Re: [SMF Converter] phpBB3
Post by: SleePy on April 16, 2008, 12:32:29 AM
That means that the code was applied twice.

Simple open your LogInOut.php

Look for two sets of such code (its an example):
function ([...])
{
     [...]
}

Please note the [...] means anything can be in there.
If you attach your file I can fix it.
Title: Re: [SMF Converter] phpBB3
Post by: topthumb on April 16, 2008, 01:43:45 AM
Ok, when I went to download the file, there were 2 of them but one was named LogInOut.php~

I'll attach both of them since I don't know which one you need.
Title: Re: [SMF Converter] phpBB3
Post by: SleePy on April 16, 2008, 12:47:34 PM
The ~ one is a backup file made by SMF when it makes a file.

Here is the LogInOut.php corrected.
Title: Re: [SMF Converter] phpBB3
Post by: topthumb on April 16, 2008, 12:55:21 PM
Thanks for the correction. Do I have to re-install everything, convert with this new file? I uploaded it to the server and I still can't log in as the Admin although I don't get the error any more. It keeps saying wrong password if I try to log in as the phpBB3 admin name and when I do log in as the admin that I set up in the installation, I'm just a regular member.
Title: Re: [SMF Converter] phpBB3
Post by: SleePy on April 16, 2008, 10:53:24 PM
nope. Just replace this file and things should be working :)
Title: Re: [SMF Converter] phpBB3
Post by: topthumb on April 16, 2008, 10:58:44 PM
I did and I still can not log in as admin. It only lets me be a regular member. I had a couple of my moderators try to join and they also had to register with a new password because their's did not work. I tried logging in under my admin username from the phpBB3 forum and it would not accept my password and when I tried to register again under the same name, it said there was a user with that name already. So, something is not working right somewhere.
Title: Re: [SMF Converter] phpBB3
Post by: topthumb on April 16, 2008, 11:05:22 PM
Maybe if I could log in as the admin I could do something but no matter what I do I can't even with the admin name and pass I set this board up with. I did have admin rights before the conversion though.
Title: Re: [SMF Converter] phpBB3
Post by: SleePy on April 16, 2008, 11:41:38 PM
What version of php are you using?
Title: Re: [SMF Converter] phpBB3
Post by: topthumb on April 16, 2008, 11:50:58 PM
phpBB3 and the SMF version is 1.14 or do you mean the version of php on the server? It's php 4
Title: Re: [SMF Converter] phpBB3
Post by: SleePy on April 17, 2008, 01:24:58 AM
Yes I mean on the server.
What version of php 4?

Jay who made the phpbb3 password function for SMF said that it doesn't work properly for some versions of php yet.

You should let your host know though that php4 is no longer the stable version of php and will soon no longer be supported by the php team in a little under 4 months. They should start getting on php5. SMF works just fine in php5 as well.
http://www.php.net/archive/2007.php#2007-07-13-1
http://www.php.net/archive/2008.php#2008-01-03-1
Title: Re: [SMF Converter] phpBB3
Post by: topthumb on April 17, 2008, 02:16:34 AM
Let me ask my host and make sure what version they are running. They're pretty good at keeping up-to-date on this stuff.
Title: Re: [SMF Converter] phpBB3
Post by: topthumb on April 17, 2008, 09:20:08 AM
They say that they are running PHP 4.3.1 but if you need to run PHP 5 then you need to do this little trick:

There are two ways to use php 5.x here. Right now the default is PHP 4.x.

1. Any file with ".php5" at the end will execute as php5.

2. Place the following code into a .htaccess file
Code:

AddHandler x-httpd-php5 .php


Anything in, or below that directory that ends as .php will run as php 5. Very useful.
Title: Re: [SMF Converter] phpBB3
Post by: JayBachatero on April 17, 2008, 09:27:22 AM
Sigh.  I figured that's the problem.  For those versions of PHP the passwords generate a different sha hash.  I suggest that you do the .htaccess that they suggested.  Your users will have to generate a new password though.  It should work fine after that.
Title: Re: [SMF Converter] phpBB3
Post by: topthumb on April 17, 2008, 09:35:23 AM
Jay, then should I reinstall everything and start over from scratch with that htaccess file in the folder?

I put the htaccess file in the folder but I still don't get an admin button I can click on.
Title: Re: [SMF Converter] phpBB3
Post by: JayBachatero on April 17, 2008, 09:44:22 AM
No need to reinstall everything.  Just put the .htaccess file.  Remember (dot)htaccess not just plain htaccess.

About the admin account.  Did you setup special groups for the admin or a regular group?
Title: Re: [SMF Converter] phpBB3
Post by: topthumb on April 17, 2008, 09:47:58 AM
All I did was install smf and when it asked me for the admin username and password I put that in. Then I ran the LogInOut fix through the Package Manager, then I ran the Converter. After running the converter, I lost all admin rights.

If you are asking if I set up any groups as admins, no, I did not because I thought then when I ran the converter, it would have changed it anyway.

When was I suppose to set up the groups?
Title: Re: [SMF Converter] phpBB3
Post by: JayBachatero on April 17, 2008, 09:55:46 AM
I mean in phpBB.  Do you have special membergroups for admins or just the regular groups?
Title: Re: [SMF Converter] phpBB3
Post by: topthumb on April 17, 2008, 10:01:56 AM
Oh, in the PHP forum there were special membership groups that were set as mods and a a group that had admin rights.

I may add that also none of the members can see their profiles except for me and they also can not post. I can see my profile and I can post but no admin still.
Title: Re: [SMF Converter] phpBB3
Post by: JayBachatero on April 17, 2008, 10:14:58 AM
Seems like there are some permission issues.  You are going to have to run this query to get your admin access back.

Quote
UPDATE smf_members
SET ID_GROUP = 1
WHERE ID_MEMBER = XXXX;

Change the XXXX to your id.  Then you can login as admin and change the permissions as desired.
Title: Re: [SMF Converter] phpBB3
Post by: topthumb on April 17, 2008, 10:23:22 AM
When you say Member ID, do you mean my username as it is on the forum which in this case would be topthumb?
Title: Re: [SMF Converter] phpBB3
Post by: JayBachatero on April 17, 2008, 10:26:39 AM
No the id.  The number.  Like your member id here is 89523.  http://www.simplemachines.org/community/index.php?action=profile;u=89523
Title: Re: [SMF Converter] phpBB3
Post by: topthumb on April 17, 2008, 10:31:50 AM
Jay, I went to that link and nowhere does it say what my ID is. Maybe because I'm not a mod or admin?
Title: Re: [SMF Converter] phpBB3
Post by: JayBachatero on April 17, 2008, 10:38:18 AM
That link it's just an example of where you can get the id.  Just go to your forum and click on your username and it should have the id in the url.  Like u=XXXX.
Title: Re: [SMF Converter] phpBB3
Post by: FrostyFire on April 17, 2008, 10:51:42 AM
Okay I have a question, this is the first time doing this so please go lightly on me!

I had phpBB3 installed in the root directory so when I went to http://mydomain.com/ the forum was the first page to come up.  Now that I have gone through the converting the SMF forum is sitting in the smf directory.  How do I get it so that the SMF forum is the default page that comes up?

Thanks
Title: Re: [SMF Converter] phpBB3
Post by: topthumb on April 17, 2008, 10:56:30 AM
Ok Jay, I got the ID number. I need to go for a few minutes and then I'll run that query and see what happens. I'll be back and let you know.

Thanks for all the help so far. It's really appreciated.
Title: Re: [SMF Converter] phpBB3
Post by: JayBachatero on April 17, 2008, 11:18:46 AM
Okay I have a question, this is the first time doing this so please go lightly on me!

I had phpBB3 installed in the root directory so when I went to http://mydomain.com/ the forum was the first page to come up.  Now that I have gone through the converting the SMF forum is sitting in the smf directory.  How do I get it so that the SMF forum is the default page that comes up?

Thanks
You would move all the SMF files to the root dir.  It's recommended to remove the phpBB files once you're not using them.  Then after that run repair_settings.php.
What is repair_settings.php? (http://www.simplemachines.org/community/index.php?topic=18096.0)

Ok Jay, I got the ID number. I need to go for a few minutes and then I'll run that query and see what happens. I'll be back and let you know.

Thanks for all the help so far. It's really appreciated.
Alright.  Let us know how it goes :).  From there on you just need to change the permissions.
Title: Re: [SMF Converter] phpBB3
Post by: topthumb on April 17, 2008, 11:56:19 AM
Jay, I can't thank you enough. I was pulling out my hair on this one and was about to give up.

I finally have admin rights and I made some permission changes. I have my moderators going through everything now to test it out.

I'll let you know if a problem comes up

Thanks so much again!
Title: Re: [SMF Converter] phpBB3
Post by: FrostyFire on April 17, 2008, 12:03:34 PM
Thanks Jay, that worked great.
Title: Re: [SMF Converter] phpBB3
Post by: JayBachatero on April 17, 2008, 12:17:10 PM
Glad to hear it all worked out :).
Title: Re: [SMF Converter] phpBB3
Post by: topthumb on April 17, 2008, 02:12:25 PM
Small problem so far but in the Membergroups, the names we had for them in the phpBB forum are all preceded by php. So if we had a group called 'Dummies', it would be 'php Dummies'.

I thought I fixed it by going into the membergroups and changing them but it doesn't work. It shows up in the admin correctly but still has the php in front of the membergroup name on the forum.
Title: Re: [SMF Converter] phpBB3
Post by: JayBachatero on April 17, 2008, 02:20:22 PM
We prefix the groups for phpBB wth phpBB.  But editing them on the Manage Membergroups section should fix this issue.  Make sure that they are saving correctly.
Title: Re: [SMF Converter] phpBB3
Post by: topthumb on April 17, 2008, 02:52:05 PM
They were saved correctly as they show up after I edit them in the membergroup without the php in front, but on the actual forum, the php still shows up. Maybe the best thing I could do is just make new groups and delete the old php ones.

Title: Re: [SMF Converter] phpBB3
Post by: JayBachatero on April 17, 2008, 02:54:49 PM
Then they shouldn't show up again.  Did you edit the post count groups as well?  Got a link to your forum?
Title: Re: [SMF Converter] phpBB3
Post by: topthumb on April 17, 2008, 02:59:15 PM
The post counts seem to be ok, I don't know what everyone had but it seems reasonable.

Umm, where do you edit post count Groups at? I don't see it anywhere?

Here's the link to the site:  http://alteredegos.net/smf/index.php
Title: Re: [SMF Converter] phpBB3
Post by: JayBachatero on April 17, 2008, 03:13:55 PM
They are under the regular membergroups in the Manage Membergroups page.  Scroll down to the end.
Title: Re: [SMF Converter] phpBB3
Post by: topthumb on April 17, 2008, 04:13:55 PM
Ok, I got it. Thanks again and thanks ahead for the next problem, if there are any.  :D
Title: Re: [SMF Converter] phpBB3
Post by: JayBachatero on April 17, 2008, 04:20:47 PM
Hopefully you won't have any problems.  And IF you do, most likely they won't be converter related :P.
Title: Re: [SMF Converter] phpBB3
Post by: Zagra on April 19, 2008, 08:50:32 PM
I have the problem, I have such mistake : (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.ufast.eu%2Fpics%2F559801be.JPG&hash=2ab8d8c3b00b02a5a280c3183f9235b7)
I tried him to remove in the base of the data but I do not know from which base I have him to look for.
I ask for the help.

I apologize for my English, I am the Pole.
Title: Re: [SMF Converter] phpBB3
Post by: SleePy on April 19, 2008, 09:56:30 PM
That error says that there is two pms with the same id from the same user.
In your phpbb database you will need to find these (from the looks of the script it is in the privmsgs_to table) and remove the duplicate pm.
As a hint the number before the - in the error is the id of the pm and the number after that is the users id.
Title: Re: [SMF Converter] phpBB3
Post by: Zagra on April 20, 2008, 04:38:27 PM
That error says that there is two pms with the same id from the same user.
In your phpbb database you will need to find these (from the looks of the script it is in the privmsgs_to table) and remove the duplicate pm.
As a hint the number before the - in the error is the id of the pm and the number after that is the users id.
I remove these mistakes, but there are probably very a lot of they, I already tried convert 20 times and I every time have to do this from new and to remove mistakes in the base of the data. Will he give not oneself this to repair from the time?. does this mean to remove duplicating registrations in the base of the data ? I use "phpmyadmin"
I
Ask for the help because I do not have strength to this any more.
I apologize for my English , I am from the Poland.
Title: Re: [SMF Converter] phpBB3
Post by: SleePy on April 20, 2008, 05:26:43 PM
Well you could remove the user if you want. It is up to you.
The error is just because it isn't proper to have pms with the same IDs. IDs should be unique and not have a duplicate ;)

Title: Re: [SMF Converter] phpBB3
Post by: mrmiyagi on April 24, 2008, 08:35:25 PM
This is very complicated for me, can someone do this for my forum
Title: Re: [SMF Converter] phpBB3
Post by: hoo on April 27, 2008, 02:03:46 PM
when i applied this fix , and try to login i have this error:


Parse error: syntax error, unexpected ';' in /var/www/sites/yoyo.pl/h/h/hhhoo/smf_1/Sources/LogInOut.php on line 496
Title: Re: [SMF Converter] phpBB3
Post by: fruster on May 02, 2008, 08:44:36 AM
Hi.

Still, smf is just impressive. And the converting script, too.

I just got one big issue, beneath that i can´t get my attachments but i don´t care about them, when i log out, he won´t let me log out.

That´s what he says:
Code: [Select]
Fatal error: Cannot redeclare phpbb3_password_check() (previously declared in F:\xampp\htdocs\smf\Sources\LogInOut.php:490) in F:\xampp\htdocs\smf\Sources\LogInOut.php on line 608
The convert.php is from this thread, first post, the sql also, and the loginoutscript, too.


Edited:
MY FAULT!
At the loginoutscript, the last function was doubled. I remember, that i did a refresh after the packageinstall, and after my first logintest, so it must have been written twice. Sorry for the circumstances.
Title: Re: [SMF Converter] phpBB3
Post by: SleePy on May 02, 2008, 11:58:12 AM
glad you could fix it :)
Title: Re: [SMF Converter] phpBB3
Post by: N3e on May 08, 2008, 06:36:51 AM
wen i run de convert.php y get this error:


Parse error: syntax error, unexpected T_VARIABLE in /home/disenora/public_html/smf/convert.php on line 1
Title: Re: [SMF Converter] phpBB3
Post by: SleePy on May 08, 2008, 11:58:51 AM
Try to redownload the convert.php linked in the first post of this topic.
I am thinking the download became corrupted while you where getting it.
Title: Re: [SMF Converter] phpBB3
Post by: Prosperous on May 08, 2008, 12:48:24 PM
I want to convert my phpBB3 forum into SMF. Can anyone provide assistance for me whilst doing this? I own my own free hosting service and don't want my database and forum to collapse on me... >:(

I use Skype and MSN/WLM if interested.
Title: Re: [SMF Converter] phpBB3
Post by: Halfhidden on May 09, 2008, 08:45:56 PM
I can't find:            // Snitz style - SHA-256.  Technically, this is a downgrade, but most PHP configurations don't support sha256 anyway.
            if (strlen($user_settings['passwd']) == 64 && function_exists('mhash') && defined('MHASH_SHA256'))
                $other_passwords[] = bin2hex(mhash(MHASH_SHA256, $_REQUEST['passwrd']));

I'm looking in the /sources/LogInOut

Am I lost?
Sorry can you guide me please?
Title: Re: [SMF Converter] phpBB3
Post by: SleePy on May 09, 2008, 09:22:09 PM
Are you able to apply the mod attached?
It would provide a better option if you still have access to the admin panel to apply the mod.

It is in there. Use a php editing application and search for pieces of the code (I do this as sometimes the returns/tabs are not always found correctly by some applications)
Title: Re: [SMF Converter] phpBB3
Post by: Halfhidden on May 10, 2008, 08:34:35 AM
Are you able to apply the mod attached?
It would provide a better option if you still have access to the admin panel to apply the mod.

It is in there. Use a php editing application and search for pieces of the code (I do this as sometimes the returns/tabs are not always found correctly by some applications)

As this is all new to me it took a while to understand the architecture of SMF (very different from PHPBB3). OK all done. I backed up the database and then installed the php_login-fix and then uploaded the sql and convert ran the script and was absolutely blown to bits !! I have never seen such a smooth transit from one forum to another. Well Done!
I now have the uphill task of learning SMF... but I suspect that I will enjoy that more than PHPBB3
Regards,
Steff and thanks for your help.
Title: Re: [SMF Converter] phpBB3
Post by: Blueracer66 on May 10, 2008, 08:28:21 PM
Are you able to apply the mod attached?
It would provide a better option if you still have access to the admin panel to apply the mod.

It is in there. Use a php editing application and search for pieces of the code (I do this as sometimes the returns/tabs are not always found correctly by some applications)

As this is all new to me it took a while to understand the architecture of SMF (very different from PHPBB3). OK all done. I backed up the database and then installed the php_login-fix and then uploaded the sql and convert ran the script and was absolutely blown to bits !! I have never seen such a smooth transit from one forum to another. Well Done!
I now have the uphill task of learning SMF... but I suspect that I will enjoy that more than PHPBB3
Regards,
Steff and thanks for your help.
I haven't switched from phpBB3 (yet) but I've been using the latest stable version of SMF on my local server and wow, it's so smooth! I love how User/Admin-friendly it is. I will be using it on a live environment soon! I will hopefully transfer from phpBB to SMF on Monday! Anyway, good luck with your new forum software!
Title: Re: [SMF Converter] phpBB3
Post by: SleePy on May 10, 2008, 10:12:20 PM
Glad it works smoothly :)
We try our best to make sure things work as expected :)
Title: Re: [SMF Converter] phpBB3
Post by: bargaindoctor on May 11, 2008, 11:04:27 AM
Hey guys

I got a phpbb3 forum up and running and Im wanting to find someone who knows how to convert this to hlep me move my board from phpbb3 to SMF.  The board isn't very large so sholdn't be too difficult - just a few categories and around 1000 posts.  I want to preserve all users, login, passwords, avatars if possible and obviously all the post structure.   

I will obviously pay for this.  Please let me know if anyone can do this.  You can email me directly  or PM or reply here.  Thank you very much!
Title: Re: [SMF Converter] phpBB3
Post by: SleePy on May 11, 2008, 11:23:41 AM
bargaindoctor,

I removed your other post.
If you want to ask for services you should ask in our help wanted (not for support) board that you can see if anyone is willing to convert your forum for you. Please read the sticky in that board though and know the rules as well get a warning from it.

The convert.php script and .sql script is there for you to do it yourself. You just need to install SMF. Then drop those two files I mentioned in your SMF folder. Then run the convert.php from your browser and give it the paths it needs and password (You should know all of that information).
It will then attempt to convert your forum.
Title: Re: [SMF Converter] phpBB3
Post by: bargaindoctor on May 11, 2008, 04:12:54 PM
no problem, thank you :)

i've downloaded the convert.php and the mysql and uplodaed it into my new SMF install.

My setup currently is:

domain.com/SMFforums
domain.com/phpforums

I just tried to convert, and got this:

SELECT command denied to user 'smf1'@'localhost' for table 'phpbb_users'

I have searched this thread and found something about adding SMF user into phpBB?  is this because without the SMF user in the DB it can't download the table for security reasons?

How should I go about this?

Also should i be installing the pass fix first or is that not necessary for phpbb3?

Thanks!
Title: Re: [SMF Converter] phpBB3
Post by: SleePy on May 11, 2008, 11:15:45 PM
Common conversion errors. (http://www.simplemachines.org/community/index.php?topic=146192.0)
Title: Re: [SMF Converter] phpBB3
Post by: jolly_roger on May 14, 2008, 01:58:37 PM
awesome! thank you, really great job. works like a charm :]

and about passwords: your tool converted info from users' profiles (such as emails) so they were able to use 'restore password' function. i don't want to use phpbb hashing algorithm

(sorry for my English)
Title: Re: [SMF Converter] phpBB3
Post by: SleePy on May 14, 2008, 04:39:38 PM
Well it would of only used the phpbb3 login algorithm for the first login.

Once it confirms there is a match it updates the password to use SMF's hashing method.
Title: Re: [SMF Converter] phpBB3
Post by: jolly_roger on May 15, 2008, 02:15:58 AM
Well it would of only used the phpbb3 login algorithm for the first login.

Once it confirms there is a match it updates the password to use SMF's hashing method.
oh, nice. but... i just noticed, users didn't used 'remind password', they just logged in with their old passwords after convertion. i am currently looking in the phpbb db dump and comparing passwords. md5 hash of my password and its hash from phpbb database are equal (phpbb 2.x and phpbb 3.0.1 versions). so login fix from first post doesn't needed anymore for new versions. i apologize if anyone wrote it already, i didn't read whole topic :]
Title: Re: [SMF Converter] phpBB3
Post by: SleePy on May 15, 2008, 11:53:41 AM
Did you recently upgrade to phpbb3?

I don't know how phpbb is doing its logins, but they started a new method in phpbb3. They might still be using the old versions and when you change your password in phpbb3 it updates to its new method.
Title: Re: [SMF Converter] phpBB3
Post by: eta.aquarii on May 17, 2008, 11:03:50 AM
There's a mistake in the LogInOut.php code:
Code: [Select]
$salt = substr($passwd_hash, 4,;
What's the other substr() argument? :(
Title: Re: [SMF Converter] phpBB3
Post by: SleePy on May 17, 2008, 05:56:09 PM
Ahh, that would explain the errors :P

I corrected it. It should of been:
    $salt = substr($passwd_hash, 4, 8);
Title: Re: [SMF Converter] phpBB3
Post by: Extazy on May 20, 2008, 05:15:31 AM
excuse me, i'm noob
please explain me how to convert from phpbb3 to smf ?what i have to do?
upload SMF to directory with phpbb3 and make phpbb3_to_smf.sql or smth else?
Title: Re: [SMF Converter] phpBB3
Post by: SleePy on May 20, 2008, 05:41:39 PM
http://docs.simplemachines.org/index.php?board=4.0
Title: Re: [SMF Converter] phpBB3
Post by: Extazy on May 21, 2008, 05:35:46 AM
after convert.php... i get error:
Quote
Incorrect integer value: '' for column 'ID_GROUP' at row 1
can you help me?
Title: Re: [SMF Converter] phpBB3
Post by: SleePy on May 21, 2008, 11:57:17 AM
While trying to load the SMF forum or where you attempting to do something?
Title: Re: [SMF Converter] phpBB3
Post by: Extazy on May 21, 2008, 03:07:44 PM
i load convert.php, click continue and get this error.
here is screenshot: http://exnews.org/convert.gif (use download manager)
Title: Re: [SMF Converter] phpBB3
Post by: SleePy on May 21, 2008, 04:43:26 PM
Open the .sql converter script.

Find:
Code: [Select]
    u.user_posts AS posts, IF(u.user_rank = 1, 1, mg.ID_GROUP) AS ID_GROUP,
Replace:
Code: [Select]
    u.user_posts AS posts, IF(u.user_rank = 1, 1, IFNULL(mg.ID_GROUP, 0)) AS ID_GROUP,
Run the converter script again and see if you have better luck. That should force it to set their id group to 0 if its empty.

Title: Re: [SMF Converter] phpBB3
Post by: Extazy on May 21, 2008, 06:37:19 PM
working..
THX!
Title: Re: [SMF Converter] phpBB3
Post by: Extazy on May 21, 2008, 06:41:28 PM
after converting.. i see ???? instead words.. i have a russian forum.. need help
Title: Re: [SMF Converter] phpBB3
Post by: SleePy on May 21, 2008, 08:23:47 PM
Did you install SMF using UTF-8?
Do you have the UTF-8 language packs installed?

Title: Re: [SMF Converter] phpBB3
Post by: Extazy on May 21, 2008, 08:33:59 PM
1. Did you install SMF using UTF-8?
2. Do you have the UTF-8 language packs installed?
1. yes
2... where can i get them?
Title: Re: [SMF Converter] phpBB3
Post by: SleePy on May 21, 2008, 09:23:34 PM
http://www.simplemachines.org/download/?languages
Title: Re: [SMF Converter] phpBB3
Post by: michalss on May 22, 2008, 03:12:21 AM
Hi i have some issue with BBC tags.All other things are ok.

Not showing colors just this mess:
[color=red:2nwwrgtq]This is testing mate[/color:2nwwrgtq]

And also code not working propely
[code:2nwwrgtq]http://rapidshare.com/files/46037796/testing.rar[/code:2nwwrgtq]

I dont understand it pls help ??

Why is always this :2nwwrgtq]  after code or color ?
Title: Re: [SMF Converter] phpBB3
Post by: Extazy on May 22, 2008, 05:37:55 AM
http://www.simplemachines.org/download/?languages
yes, i have downloaded Russian languague and uploaded it to ftp... but still see ?????

ps. i can give you acces to my ftp..
Title: Re: [SMF Converter] phpBB3
Post by: Sarge on May 22, 2008, 05:49:08 AM
yes, i have downloaded Russian languague and uploaded it to ftp... but still see ?????

ps. i can give you acces to my ftp..

If your SMF is in UTF-8, be sure to use one of the smf_1-1-5_russian-utf8 language packages (notice the -utf8 at the end).

Create a new folder in your computer and decompress the language package there. Inside the new folder you should see a folder named Themes -- upload the Themes folder to your forum directory on the server. If done correctly, you should see some *.russian-utf8.php files in Themes/default/languages/.

Then select Russian-Utf8 in Admin > Server Settings > Default Forum Language.

Does it help?
Title: Re: [SMF Converter] phpBB3
Post by: Extazy on May 22, 2008, 08:58:59 AM
Sarge, it doesnt help..
please see: http://exnews.org:8080/forusmf.exnews.org
all russian-utf8 words is visible... but all mysql database info (forums, topics, messages) is ???????
so.. do you have more idea?
Title: Re: [SMF Converter] phpBB3
Post by: Sarge on May 22, 2008, 11:13:30 AM
Sarge, it doesnt help..
please see: http://exnews.org:8080/forusmf.exnews.org
all russian-utf8 words is visible... but all mysql database info (forums, topics, messages) is ???????
so.. do you have more idea?

Language packs are just for the SMF text strings, not your board names, topics or messages.

Go to phpMyAdmin, select the SMF database and browse the SMF tables, for example smf_messages. Do you see the original text or only question marks there?

Again, go to phpMyAdmin and select your SMF database. What are:
1) the database collation,
2) the table collations, and
3) column collations in smf_messages?

Also post the collations for your phpBB3 forum database.
Title: Re: [SMF Converter] phpBB3
Post by: SleePy on May 22, 2008, 11:53:36 AM
Hi i have some issue with BBC tags.All other things are ok.

Not showing colors just this mess:
[color=red:2nwwrgtq]This is testing mate[/color][/color:[color=red:2nwwrgtq]2nwwrgtq]

And also code not working propely
[/color][code:2nwwrgtq]http://rapidshare.com/files/46037796/testing.rar[/code:2nwwrgtq]

I dont understand it pls help ??

Why is always this :2nwwrgtq]  after code or color ?

Does the one in this topic work?
http://www.simplemachines.org/community/index.php?topic=239697.msg1547092#msg1547092

[/color]
Title: Re: [SMF Converter] phpBB3
Post by: michalss on May 22, 2008, 12:18:38 PM
Hi i have some issue with BBC tags.All other things are ok.

Not showing colors just this mess:
[color=red:2nwwrgtq]This is testing mate[/color][/color:[color=red:2nwwrgtq]2nwwrgtq]

And also code not working propely
[/color][code:2nwwrgtq]http://rapidshare.com/files/46037796/testing.rar[/code:2nwwrgtq]

I dont understand it pls help ??



Why is always this :2nwwrgtq]  after code or color ?

Does the one in this topic work?
http://www.simplemachines.org/community/index.php?topic=239697.msg1547092#msg1547092

[/color]

Thx but its not different. Still the same.Some strage tags :(
Title: Re: [SMF Converter] phpBB3
Post by: Extazy on May 22, 2008, 12:21:16 PM
Sarge, please look at screenshots:
Quote
http://exnews.org/screen0.gif
http://exnews.org/screen1.gif
http://exnews.org/screen2.gif
http://exnews.org/screen11.gif
and take a look: phpbb3 tables are working fine with russian words and they are utf8_bin, but smf tables dont work with russian words - cp1251_general_ci
Quote
http://exnews.org/screen4.gif
what i must to do?
Title: Re: [SMF Converter] phpBB3
Post by: SleePy on May 22, 2008, 12:56:35 PM
michalss,

Hopefully if I remember I will install phpbb3 and try it tonight to see about it and work on the regular expressions that where being done to remove the identifiers.

Title: Re: [SMF Converter] phpBB3
Post by: Sarge on May 22, 2008, 01:05:44 PM
Extazy, I thought you installed SMF as UTF-8?...

All SMF tables and table fields should have utf8_general_ci as their collation, not cp1251_general_ci.

Conversions from UTF-8 to CP1251 are NOT guaranteed to work. The phpBB3 tables are in utf8_bin and utf8_general_ci is compatible with that, but cp1251_general_ci is not.
Title: Re: [SMF Converter] phpBB3
Post by: michalss on May 22, 2008, 01:13:10 PM
michalss,

Hopefully if I remember I will install phpbb3 and try it tonight to see about it and work on the regular expressions that where being done to remove the identifiers.

Thx a lot u are my hero  :)
Title: Re: [SMF Converter] phpBB3
Post by: Extazy on May 22, 2008, 01:25:52 PM
Sarge, big thx. I've reinstalled SMF and convert.php with UTF-8 and now it's working..
but last question... what's with attachments? how to convert them from phpbb3 to smf??? convert.php wrote that works with attachments...
Title: Re: [SMF Converter] phpBB3
Post by: SleePy on May 22, 2008, 04:21:39 PM
michalss,

How is this one?
I think I fixed all the errors.


Extazy,
Did any errors occur doing the conversion of attachments?
Title: Re: [SMF Converter] phpBB3
Post by: Extazy on May 22, 2008, 06:39:22 PM
Quote
Converting attachments... Successful.
but see in forum this instead attachment
Code: [Select]
[attachment=0:2vuqx9np]Servers.rar[/attachment:2vuqx9np]
Title: Re: [SMF Converter] phpBB3
Post by: SleePy on May 22, 2008, 07:03:54 PM
SMF by default doesn't have an attachments link bbc in it.

This is why it isn't translated.
Title: Re: [SMF Converter] phpBB3
Post by: michalss on May 22, 2008, 07:54:00 PM
michalss,

How is this one?
I think I fixed all the errors.


Extazy,
Did any errors occur doing the conversion of attachments?

You are man it works except size and all my images dissapear now for some reason.Can u have a look at this again pls?  Thx u are the best :)  P.S size is not really important for me but IMG tags are .
Title: Re: [SMF Converter] phpBB3
Post by: SleePy on May 22, 2008, 08:18:26 PM
Can you link to the SMF forum and phpbb forum you are converting?

As for the size. Which ones are not converting? I only tested with a couple of sizes from the drop down so I don't know if I got all of the possibilities.
Title: Re: [SMF Converter] phpBB3
Post by: michalss on May 22, 2008, 09:40:14 PM
Can you link to the SMF forum and phpbb forum you are converting?

As for the size. Which ones are not converting? I only tested with a couple of sizes from the drop down so I don't know if I got all of the possibilities.

Check ur PM's please. BTW all i need fix is IMG tag and size/font 150 please
Title: Re: [SMF Converter] phpBB3
Post by: SleePy on May 22, 2008, 11:18:10 PM
Give this one a shot for the sizes.

I think I finally got it.
SMF doesn't allow any size tag over 99. So it took a complicated regular expression to sort it out.

As for your images they loaded for me. I think it just may be a browser problem.
Title: Re: [SMF Converter] phpBB3
Post by: michalss on May 23, 2008, 09:51:33 AM
Give this one a shot for the sizes.

I think I finally got it.
SMF doesn't allow any size tag over 99. So it took a complicated regular expression to sort it out.

As for your images they loaded for me. I think it just may be a browser problem.

Thx for that everything working great except SIze :(
Title: Re: [SMF Converter] phpBB3
Post by: SleePy on May 23, 2008, 11:52:22 AM
Sizes are still wrong?

I thought I got them all :(
What is the current size tag in SMF then?

I split it up to convert the size tags int two parts. The first part gets rid of the identifier from phpbb and the second part is supposed to detect an invalid size tag that SMF doesn't allow and fix it.
Title: Re: [SMF Converter] phpBB3
Post by: michalss on May 23, 2008, 02:40:03 PM
Sizes are still wrong?

I thought I got them all :(
What is the current size tag in SMF then?

I split it up to convert the size tags int two parts. The first part gets rid of the identifier from phpbb and the second part is supposed to detect an invalid size tag that SMF doesn't allow and fix it.

Hi all i can see is this [size=150px]For all Members[/size] but if you delete 0 then it works
Title: Re: [SMF Converter] phpBB3
Post by: legoracer on May 24, 2008, 01:21:19 PM
OK the convert went well for me. I did do the code hacks for the login but when a person logs in it says the page won’t display. You then have to go back to the login screen and just click login and then it will allow you to enter the forum. Any help???
Title: Re: [SMF Converter] phpBB3
Post by: deve34 on May 24, 2008, 06:58:41 PM
I have also character problem with turkish language, what I did is : Uploaded turkish utf-8 language set it to utf-8 turkish language from admin panel but still chracters looking strange ?

here is a link to my phpbb3 forum www.turkish-hunters.com/forum/
and this is to smf forum : www.turkish-hunters.com/deerhunter/
Title: Re: [SMF Converter] phpBB3
Post by: SleePy on May 24, 2008, 07:52:48 PM
OK the convert went well for me. I did do the code hacks for the login but when a person logs in it says the page won’t display. You then have to go back to the login screen and just click login and then it will allow you to enter the forum. Any help???
This is a general SMF question and it would be best to post in the support boards where it can get the attention it deserves.
From the sounds of it though, I think Having problems with mod_security? (http://www.simplemachines.org/community/index.php?topic=34270.0)
 

deve34,
I can't get your boards to load.
Title: Re: [SMF Converter] phpBB3
Post by: deve34 on May 25, 2008, 07:01:39 AM
deve34,
I can't get your boards to load.

I did delete the smf board coz chould notfix it ,but I fixed some characters manuel in phpmyadmin like
Code: [Select]
update smf_messages set body = replace(body,'–','i');
it worked perfectly but the thing is I chould not find the table and the field for topics and usernames also have some strange character chouldnt find the table and field.
Title: Re: [SMF Converter] phpBB3
Post by: Sarge on May 25, 2008, 10:05:33 AM
it worked perfectly but the thing is I chould not find the table and the field for topics and usernames also have some strange character chouldnt find the table and field.

The title for each topic is the title of the first message for the topic. So you need to check in the smf_messages table. ;)

Usernames (field memberName) and display names (field realName) are in smf_members.
Title: Re: [SMF Converter] phpBB3
Post by: legoracer on May 29, 2008, 01:03:16 PM
Ok everything works perdy good so far.... can I delete the old board now? or do I always have to have that somewhere?
Title: Re: [SMF Converter] phpBB3
Post by: SleePy on May 29, 2008, 01:18:47 PM
No you do not need the old board.
But I do suggest making a backup of everything before you delete it incase you really did need something.
Title: Re: [SMF Converter] phpBB3
Post by: hideyoshi on June 01, 2008, 06:52:02 AM
 this is a great! converter, very useful to me  :D

thanks!
Title: Re: [SMF Converter] phpBB3
Post by: Norwayfishing on June 01, 2008, 03:57:28 PM
Just used the converter, and it worked excellent. But I did notice something:
I had a big increase of members. But about 40 of them where search bots. Can I just kick them?
It seems phpBB3 registers these bots as members?
Title: Re: [SMF Converter] phpBB3
Post by: SleePy on June 01, 2008, 05:23:56 PM
Yes you can. SMF doesn't register bots as members. That would not be right as you could give those members access to areas guests don't get :|
Title: Re: [SMF Converter] phpBB3
Post by: Norwayfishing on June 01, 2008, 06:27:36 PM
Thankx, just kicked them out.
Title: Re: [SMF Converter] phpBB3
Post by: setthedark on June 02, 2008, 08:50:36 PM
I bow to you dude :) thanks a million for this ...
Title: Re: [SMF Converter] phpBB3
Post by: Ggot on June 03, 2008, 09:37:29 PM
Hi,

I'm newbie here, I just tried to use phpBB3->SMF converter. Converter did not work, I got htis error message :

The error MySQL gave was: SELECT command denied to user '*database name*'@'*IP*' for table 'forum_users'


I checked phpMyAdmin, all phpBB tables are there and I did not find any possibility to set permissions for the table.

What can I do ?

thanks, Ggot
Title: Re: [SMF Converter] phpBB3
Post by: SleePy on June 03, 2008, 10:02:42 PM
Common conversion errors. (http://www.simplemachines.org/community/index.php?topic=146192.0)
 
Title: Re: [SMF Converter] phpBB3
Post by: Ggot on June 03, 2008, 10:48:12 PM
I checked this link.

SMF and phpBB tables are in the same database... Actually there is only one database on the server
Title: Re: [SMF Converter] phpBB3
Post by: JayBachatero on June 03, 2008, 11:04:01 PM
Is SMF and phpBB using the same username?
Title: Re: [SMF Converter] phpBB3
Post by: Ggot on June 03, 2008, 11:27:36 PM
Admin username ? No, it is not the same. Ggot for phpBB and Admin for SMF.
Title: Re: [SMF Converter] phpBB3
Post by: JayBachatero on June 03, 2008, 11:34:14 PM
No I mean for the database.  In config.php for phpBB and Settings.php for SMF.
Title: Re: [SMF Converter] phpBB3
Post by: Ggot on June 04, 2008, 07:01:10 AM
Big thanks for the help, this solved the problem. (I just migrated my site from a small host company to GoDaddy, and I thought to lastly change my too-complicated phpBB3 to SMF - and there was a database data change.) After I rewrote data in config.php conversion was succesfull.

Thanks again, ggot
Title: Re: [SMF Converter] phpBB3
Post by: slamulous on June 09, 2008, 02:07:50 AM
Hey there Jay, thanks for the great work on this converter!!! Despite having no initial errors with the converter, I have encountered a few problems after the fact.  Namely, the user passwords seemed to have gotten real screwy (I used the password package instead of modifying the loginout file) and as a result of some permissions base thing, my tiny portal has gotten it's setting totally messed up.  The result is that page elements will no long display (blocks) and I am at an absolute loss as towards how to fix it.  Although Tinyportal is certainly not along the lines of this discussions, I will humbly ask if you know of any potential solutions to my issues, or have heard of similar issues in the past.  You can see what I am trying to do at www.test2.raidguru.net.  Thanks again, and let me know if there is any small amount of assistance you can provide oh wise one!
Title: Re: [SMF Converter] phpBB3
Post by: SleePy on June 09, 2008, 02:26:37 AM
Are you logged in or viewing as a guest?
As a guest I don't see blocks either. It could be the TinyPortal permissions.

But if you are able to login and everything, then this isn't a converter issue but a permission issue with tinyportal and you would get better answers from asking at the TinyPortal website.
Title: Re: [SMF Converter] phpBB3
Post by: slamulous on June 09, 2008, 02:31:50 AM
Are you logged in or viewing as a guest?
As a guest I don't see blocks either. It could be the TinyPortal permissions.

But if you are able to login and everything, then this isn't a converter issue but a permission issue with tinyportal and you would get better answers from asking at the TinyPortal website.
I've enabled everyone to see all the elements viewable. . .  More or less, we are seeing the same thing (minue an admin link).  I was just curious to see if you guys may have heard anything along these lines from other TP users in the past.  It's highly unlikely I will find an answer on the TP site, so what will more than likely happen is that I will just wipe it all clean and do a fresh install as things were working to that point.  It sorta sucks that I need to forego the posts on my old forums, but there are bigger problems in the world :P  Either, thanks for the response man, I truly appreciate your concern for the community based on this software.  Being a WoW guy, I am used to dealing with a community of people who would look for the worst rather than bolster the best out of things.  Again thank you. 
Title: Re: [SMF Converter] phpBB3
Post by: Bonesy on June 12, 2008, 11:10:43 PM
I did the conversion and it worked well. I can't seem to login though. I am kind of new to this can someone explain? Thanks!
Title: Re: [SMF Converter] phpBB3
Post by: Bonesy on June 12, 2008, 11:18:44 PM
ok i did the password support thing and edited: LogInOut.php

But I still cannot login.

Do I have to run the convert.php again?

Thanks!
Title: Re: [SMF Converter] phpBB3
Post by: Bonesy on June 12, 2008, 11:25:18 PM
OK I can log in now. I cannot find any user control panel or even the admin panel! What's up?
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on June 13, 2008, 01:12:03 AM
OK I can log in now. I cannot find any user control panel or even the admin panel! What's up?
did you login with an administrative Account from PHPBB? Then you should have Admin-Rights?

You can do a small fix with PHPMyAdmin
Code: [Select]
update smf_members SET ID_GROUP=1 where ID_MEMBER=youridchange smf_ to your prefix and yourid to your username's ID. After that the fixed User is in Admin-Group.
Title: Re: [SMF Converter] phpBB3
Post by: aarron on June 13, 2008, 08:29:01 PM
Hi Guys,

I am getting an error with the converting process at the private messages stage.

Code: [Select]
Converting posts... Successful.
Converting polls... Successful.
Converting poll options... Successful.
Converting poll votes... Successful.
Converting personal messages (step 1)... Successful.
Converting personal messages (step 2)... Unsuccessful!
This query:
INSERT INTO `st2222_phpb1`.smf_pm_recipients
(ID_PM, ID_MEMBER, labels, is_read, deleted)
VALUES ('558', '37', '-1', '1', '0'),
('570', '35', '-1', '1', '0'),
('574', '23', '-1', '1', '1'),
('575', '23', '-1', '1', '1'),
('581', '2', '-1', '1', '1'),
('587', '4', '-1', '1', '1'),


Caused the error:

Duplicate entry '1110-4' for key 1

Does anyone have any ideas on what I should Do???

Thank You  :)
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on June 14, 2008, 02:28:24 AM
have you retried the conversion?  "Duplicate entry" sometimes is a reason for to much queries and cause the server to overload.
you can change these lines in the phpbb3_to_smf.sql, maybe then you get better results:

change
Code: [Select]
---* {$to_prefix}personal_messagesto
Code: [Select]
---* {$to_prefix}personal_messages 200
and
Code: [Select]
---* {$to_prefix}pm_recipientsto
Code: [Select]
---* {$to_prefix}pm_recipients 200
Title: Re: [SMF Converter] phpBB3
Post by: aarron on June 14, 2008, 02:41:27 AM
Just gave that a go and no luck

Any more ideas??
Title: Re: [SMF Converter] phpBB3
Post by: aarron on June 14, 2008, 03:05:20 AM
Just had a play around with the values and changed it from 22 to 2000 and it worked!!  :)

Now I get an error when logging on-

Quote
Parse error: syntax error, unexpected $end in /home/str0000/public_html/forum/Sources/LogInOut.php on line 483

I have edited the loginout.php with what is said on the first page of the topic. Any Ideas?

Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on June 14, 2008, 03:14:09 AM
it must be a typo in Line 483, forgotten ' or ; i think.. please recheck all your changes.

Edit: if you can't get it work attach your LoginOut.php here.
Title: Re: [SMF Converter] phpBB3
Post by: aarron on June 14, 2008, 03:21:08 AM
Yeah, was an error. I have rechecked it over and over again and now it just keeps asking for a username and password after I try to login.



Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on June 14, 2008, 03:34:21 AM
try this one

Edit: updated Version (for smf 1.1.4)
Title: Re: [SMF Converter] phpBB3
Post by: aarron on June 14, 2008, 03:39:01 AM
Still getting the same
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on June 14, 2008, 04:10:36 AM
Still getting the same
try again with the above attached new version (for smf 1.1.4) and be sure, that you upload it in FTP ASCII-Mode (not Binary)..
Title: Re: [SMF Converter] phpBB3
Post by: aarron on June 14, 2008, 04:28:33 AM
Gave that a go and its still happening  :(

Coult it be beacuse it was originaly a smf board that I converted to phpbb3?
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on June 14, 2008, 07:25:04 AM
did you still get
Quote
Parse error: syntax error, unexpected $end in /home/str0000/public_html/forum/Sources/LogInOut.php on line 483
?
i think the best way would be to install a blank new SMF in a seperate directory. after succesful installation  install the login_fix.tar.gz attached in this topic via Package-Manager. Then you should check, that the  login is already working.

After that you can convert your PHPBB again in your new installed SMF.
Title: Re: [SMF Converter] phpBB3
Post by: aarron on June 14, 2008, 11:22:03 AM
Its all working now!

Thank You :) :)
Title: Re: [SMF Converter] phpBB3
Post by: saosangmo on June 17, 2008, 08:24:30 PM
hi JayBachatero,
After I convert my database and hack the LogInOut.php, I can login but I can't view the My profile. It seem all of my member is not activate.

Could you help me, I use the latest phpbb3.

http://viethan-online.com/forum/index.php
many thanks
Title: Re: [SMF Converter] phpBB3
Post by: SleePy on June 17, 2008, 08:59:33 PM
Is the permissions correct saosangmo?

Check in Admin -> Permissions to make sure all groups have permission to view other peoples profiles as well as their own.
Title: Re: [SMF Converter] phpBB3
Post by: lakeccrunner on June 18, 2008, 12:34:40 AM
I just converted, but before I did, I forgot to change the password settings within the phpbb3 files. Now, none of my users can login.

Do I have to re-install and convert them again?

Edit- Ok, I know what I have to do now, but what file do I have to edit? I can't find anything in the phpbb3 directory that is LogInOut.php

I don't know what file to edit...
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on June 18, 2008, 01:19:01 AM
you need edit the Sources/LoginOut.php in your SMF-Directory (not phpBB). but it should also work, if you click on the "Forgotten Password"-Link in SMF with an administrative Account and after you changed your password you should be able to login.. Then go to Admin - Package Manager and install the Package attached in this Topic.
Title: Re: [SMF Converter] phpBB3
Post by: cbaris on June 18, 2008, 07:55:37 AM
Hi! That's great job and we really happy to see this converter because we wanna get rid of phpbb3 as soon as possible :D :D We tried this and it works excellent!! Thanks again to JayBachatero but this's not enough for us and we're waiting JayBachatero to convert all these features :

Does Not Convert

    * Permissions (This might not be supported at all so please check permissions before making the board live.  Everything will be admin only for board access.)
    * Redirection Boards (I want to add support for the redirection boards mod.)
    * Avatars
    * Profile Fields (I want to look into this and see if I can make them SMF compatible.  You would just need to make the template changes.)
    * Basic Settings (Convert some of the basic forum settings. (site name, max post length, etc)
    * Smileys

 :P :P

and i wanna learn , after a few months or days can we get an error about this converter? there are about 40000 posts in my forum and i don't wanna lose them :P :P

Title: Re: [SMF Converter] phpBB3
Post by: samy.3660 on June 18, 2008, 09:42:03 AM
hi,
i have succesfully converted my site to smf, but now i have both (phpbb3 and smf) installed. phpbb3 is installed on the main page www.aboutfone.com and smf is on www.aboutfone.com/forum.

Now how to i delete phpbb3 and bring smf on homepage that is www.aboutfone.com

Need your help!!!!!
Title: Re: [SMF Converter] phpBB3
Post by: samy.3660 on June 18, 2008, 11:06:13 AM
OK Now i have totally deleted my ftp root folder after taking a backup of smf. Now people can you suggest how would i be able to restore that backup???
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on June 18, 2008, 01:55:16 PM
Saving/Restoring, and Moving SMF (From a Host to Another) (http://docs.simplemachines.org/index.php?board=83.0;sort=subject)
Title: Re: [SMF Converter] phpBB3
Post by: SleePy on June 18, 2008, 03:32:03 PM
cbaris,

I don't think that would be able to be accomplished yet. Lots of that requires work to match up permissions for instance to the equivalent phpbb ones. The permission system in phpbb3 is very over complicated. Using 3 tables if I remember right to just get one job done.

The others such as redirection boards and profile fields would be easier if it was done for the SMF 2.0 converters, as SMF 2.0 has both of those in it so it would require just matching up the right fields in the database to convert them.
Title: Re: [SMF Converter] phpBB3
Post by: ayman rock on June 19, 2008, 07:54:53 AM
plz help me in this Problems

Notice: Undefined index: convert_script in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 791

Warning: Invalid argument supplied for foreach() in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 794

Notice: Undefined index: convert_script in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 806

Notice: Undefined index: convert_script in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 702
Successful.
Recalculating forum statistics...
Notice: Undefined variable: result in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 2217

Notice: Undefined variable: result in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 2218

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 1189

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 1199

Notice: Undefined variable: result in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 2217

Notice: Undefined variable: result in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 2218

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 1207

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 1217

Notice: Undefined variable: result in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 2217

Notice: Undefined variable: result in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 2218

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 1230

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 1243

Notice: Undefined variable: result in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 2217

Notice: Undefined variable: result in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 2218

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 1289

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 1291

Notice: Undefined variable: result in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 2217

Notice: Undefined variable: result in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 2218

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 1297

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 1303

Notice: Undefined variable: result in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 2217

Notice: Undefined variable: result in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 2218

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 1314

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 1315

Notice: Undefined variable: result in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 2217

Notice: Undefined variable: result in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 2218

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 1323

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 1325

Notice: Undefined variable: result in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 2217

Notice: Undefined variable: result in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 2218

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 1331

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 1332

Notice: Undefined variable: result in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 2217

Notice: Undefined variable: result in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 2218

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 1338

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 1339

Notice: Undefined variable: result in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 2217

Notice: Undefined variable: result in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 2218

Notice: Undefined variable: result in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 2217

Notice: Undefined variable: result in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 2218

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 1363

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 1365

Notice: Undefined variable: result in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 2217

Notice: Undefined variable: result in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 2218

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 1371

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 1383

Notice: Undefined variable: result in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 2217

Notice: Undefined variable: result in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 2218

Fatal error: set_time_limit() [<a href='function.set-time-limit'>function.set-time-limit</a>]: Cannot set time limit in safe mode in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 1939

Fatal error: Unknown(): open(/mnt/167/sdb/d/c/n0r/sessions/sess_b32da8b2e550a8514c038e6f8a0be9b9, O_RDWR) failed: No such file or directory (2) in Unknown on line 0
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on June 19, 2008, 09:39:04 AM
it seems like a PHP safe_mode issue. open convert.php with text-editor an go to line 29
Code: [Select]
set_time_limit(0);change it to
Code: [Select]
@set_time_limit(0);hope that works..
Title: Re: [SMF Converter] phpBB3
Post by: samozin on June 19, 2008, 11:18:21 AM
 i did every thing and was ok with the local server
 but when i tried it on my site i got  this

Notice: Undefined index: convert_script in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 791

Warning: Invalid argument supplied for foreach() in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 794

Notice: Undefined index: convert_script in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 806

Notice: Undefined index: convert_script in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 702
Successful.
Recalculating forum statistics...
Notice: Undefined variable: result in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 2217

Notice: Undefined variable: result in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 2218

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 1189

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 1199

Notice: Undefined variable: result in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 2217

Notice: Undefined variable: result in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 2218

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 1207

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 1217

Notice: Undefined variable: result in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 2217

Notice: Undefined variable: result in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 2218

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 1230

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 1243

Notice: Undefined variable: result in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 2217

Notice: Undefined variable: result in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 2218

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 1289

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 1291

Notice: Undefined variable: result in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 2217

Notice: Undefined variable: result in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 2218

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 1297

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 1303

Notice: Undefined variable: result in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 2217

Notice: Undefined variable: result in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 2218

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 1314

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 1315

Notice: Undefined variable: result in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 2217

Notice: Undefined variable: result in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 2218

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 1323

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 1325

Notice: Undefined variable: result in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 2217

Notice: Undefined variable: result in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 2218

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 1331

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 1332

Notice: Undefined variable: result in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 2217

Notice: Undefined variable: result in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 2218

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 1338

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 1339

Notice: Undefined variable: result in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 2217

Notice: Undefined variable: result in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 2218

Notice: Undefined variable: result in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 2217

Notice: Undefined variable: result in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 2218

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 1363

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 1365

Notice: Undefined variable: result in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 2217

Notice: Undefined variable: result in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 2218

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 1371

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 1383

Notice: Undefined variable: result in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 2217

Notice: Undefined variable: result in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 2218

Fatal error: set_time_limit() [<a href='function.set-time-limit'>function.set-time-limit[/url]]: Cannot set time limit in safe mode in /mnt/167/sdb/d/c/n0r/forum/convert.php on line 1939

Fatal error: Unknown(): open(/mnt/167/sdb/d/c/n0r/sessions/sess_b32da8b2e550a8514c038e6f8a0be9b9, O_RDWR) failed: No such file or directory (2) in Unknown on line 0
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on June 19, 2008, 11:27:43 AM
The Server has safe_mode enabled and killed the script after max_execution_time in php.ini.

on servers with safe_mode disabled you can set  the max execution time by set_time_limit(0); (which means unlimited script time)

Only way to convert is the local server i think.
Title: Re: [SMF Converter] phpBB3
Post by: SleePy on June 19, 2008, 05:51:46 PM
The time limit might be possible to be removed. I don't know if the server timeout protection would be able to catch itself and prevent issues.
You would be best off trying locally or using a host that doesn't implant safe mode. Safe Mode is poor usage by web hosts to make them think they are secure, when its about as safe as putting paper between water.
Title: Re: [SMF Converter] phpBB3
Post by: The Crooner on June 21, 2008, 05:44:35 AM
It's finally here.  Spent the whole day working on it and managed to get a beta out.  The converter is still in beta and some things are missing.  If you have suggestions for other things to convert just post them :) .  Here is a list of what is converted.

Hello

Thanks for your work. i want to convert to SMF from phpBB3.

I have set up a test board on my SME server box.

Populated it with some data from an export from my live board via phpmyadmin.

Downloaded convert.php
Downloaded the sql

Downloaded and installed the login/out mod.

When I run convert I get this:

Converting ranks... Successful.
Converting groups... Successful.
Converting members... Successful.
Converting additional member groups... Successful.
Preparing for categories conversion... Successful.
Converting categories... Successful.
Converting boards... Successful.
Fixing categories... Successful.
Converting topics... Successful.
Converting posts... Successful.
Converting polls... Successful.
Converting poll options... Successful.
Converting poll votes... Successful.
Converting personal messages (step 1)... Successful.
Converting personal messages (step 2)... Successful.
Converting attachments...
Warning: getimagesize(/home/e-smith/files/ibays/modx/html/convert/files/wynns_160.jpg): failed to open stream: No such file or directory in /home/e-smith/files/ibays/modx/html/smf/convert.php(1075) : eval()'d code on line 34

Warning: copy(/home/e-smith/files/ibays/modx/html/convert/files/wynns_160.jpg): failed to open stream: No such file or directory in /home/e-smith/files/ibays/modx/html/smf/convert.php(1075) : eval()'d code on line 36

Warning: copy(/home/e-smith/files/ibays/modx/html/convert/files/6_8w_man_pages_150.pdf): failed to open stream: No such file or directory in /home/e-smith/files/ibays/modx/html/smf/convert.php(1075) : eval()'d code on line 36

Warning: copy(/home/e-smith/files/ibays/modx/html/convert/files/denis_bennett_480.ppt): failed to open stream: No such file or directory in /home/e-smith/files/ibays/modx/html/smf/convert.php(1075) : eval()'d code on line 36

Warning: copy(/home/e-smith/files/ibays/modx/html/convert/files/test_107.doc): failed to open stream: No such file or directory in /home/e-smith/files/ibays/modx/html/smf/convert.php(1075) : eval()'d code on line 36

Warning: copy(/home/e-smith/files/ibays/modx/html/convert/files/3_96f592b65cb8dfb4bc6a94e273821cf6): failed to open stream: No such file or directory in /home/e-smith/files/ibays/modx/html/smf/convert.php(1075) : eval()'d code on line 36

Warning: copy(/home/e-smith/files/ibays/modx/html/convert/files/3_ac2980e147c8163e0cd331d6aa205f41): failed to open stream: No such file or directory in /home/e-smith/files/ibays/modx/html/smf/convert.php(1075) : eval()'d code on line 36

Warning: copy(/home/e-smith/files/ibays/modx/html/convert/files/3_8d0ffa5a2c476b10db2971e892ad97f1): failed to open stream: No such file or directory in /home/e-smith/files/ibays/modx/html/smf/convert.php(1075) : eval()'d code on line 36

Warning: copy(/home/e-smith/files/ibays/modx/html/convert/files/3_b0535688ec8327a5dc4873e186a6ab65): failed to open stream: No such file or directory in /home/e-smith/files/ibays/modx/html/smf/convert.php(1075) : eval()'d code on line 36

Warning: copy(/home/e-smith/files/ibays/modx/html/convert/files/3_71fd733dd43d448c67243c2e78a6a836): failed to open stream: No such file or directory in /home/e-smith/files/ibays/modx/html/smf/convert.php(1075) : eval()'d code on line 36

Warning: copy(/home/e-smith/files/ibays/modx/html/convert/files/6_483a2a1f9f30de386424584d0523890c): failed to open stream: No such file or directory in /home/e-smith/files/ibays/modx/html/smf/convert.php(1075) : eval()'d code on line 36

Warning: copy(/home/e-smith/files/ibays/modx/html/convert/files/3_3ef222e07f2fa022a7808dbe6e816428): failed to open stream: No such file or directory in /home/e-smith/files/ibays/modx/html/smf/convert.php(1075) : eval()'d code on line 36

Warning: copy(/home/e-smith/files/ibays/modx/html/convert/files/6_f3f6e4be07d831a1affc1d731400a07e): failed to open stream: No such file or directory in /home/e-smith/files/ibays/modx/html/smf/convert.php(1075) : eval()'d code on line 36

Warning: copy(/home/e-smith/files/ibays/modx/html/convert/files/6_2ed437423e161717e423eb3c4c301ac1): failed to open stream: No such file or directory in /home/e-smith/files/ibays/modx/html/smf/convert.php(1075) : eval()'d code on line 36

Any help would be appreciated.

Thank you

Tony
Title: Re: [SMF Converter] phpBB3
Post by: The Crooner on June 21, 2008, 06:18:59 AM
Sorry

ID ten T error - mine!

Tony
Title: Re: [SMF Converter] phpBB3
Post by: SleePy on June 21, 2008, 02:01:06 PM
The Crooner,

That is just saying the phpbb3 attachments path is incorrect. Thus it isn't able to copy them over to SMF.
Please make sure the path is correct in both phpbb3 and SMF for its attachment directories.
Title: Re: [SMF Converter] phpBB3
Post by: femme on June 26, 2008, 03:29:10 AM
do you have an instruction kit for this converter? i have zero knowledge of programming so i'm already kinda dizzy just looking at the comments here...

i'd like to convert my existing phpbb3 forum to smf. where do i start?

sorry for sounding stupid, but i really have no idea :(
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on June 26, 2008, 03:50:55 AM
Converting to SMF (http://docs.simplemachines.org/index.php?board=4.0;sort=subject)

you need the phpbb3_to_smf.sql (attached in the first message of this topic) and the convert.php (attached here (http://www.simplemachines.org/community/index.php?topic=140741.0))
Title: Re: [SMF Converter] phpBB3
Post by: femme on June 26, 2008, 04:47:25 AM
is this the convert.php?

! Fixed the undefined index for charsets error.
! Moved copy_dir and copy_smileys to convert.php
! Fixed the LENGTH error.
+ Added simple UTF-8 support.  More to come later.
! Was possible to get errors when doing recount stats on with the converter.

Also is the phpbb3_to_smf.sql just text?

Pls. be patient...
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on June 26, 2008, 05:45:41 AM
http://www.simplemachines.org/community/index.php?topic=140741.0 convert.php is attached at the end (scroll down)
http://www.simplemachines.org/community/index.php?topic=218449.0 phpbb3_to_mysql.sql is an sql-script (readable as text and attached in the first post from JayBachatero)

you should first install the smf_login_fix.tar.gz via package manager (also attached in the first post from JayBachatero)

Title: Re: [SMF Converter] phpBB3
Post by: femme on June 26, 2008, 05:57:40 AM
http://www.simplemachines.org/community/index.php?topic=140741.0 convert.php is attached at the end (scroll down)
http://www.simplemachines.org/community/index.php?topic=218449.0 phpbb3_to_mysql.sql is an sql-script (readable as text and attached in the first post from JayBachatero)

you should first install the smf_login_fix.tar.gz via package manager (also attached in the first post from JayBachatero)

i've downloaded all the files you mentioned. how do i install the phpBB3_Login_Fix.tgz ?
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on June 26, 2008, 06:01:40 AM
Admin - Packages - Download Packages the "Upload a Package" and follow the instructions..
Title: Re: [SMF Converter] phpBB3
Post by: femme on June 27, 2008, 04:19:29 AM
i know now what kpt on going wrong.

whenever i try to download the convert, sql, and login_fix files they keep on getting renamed. i don't know why. but anyway, all i needed to do was rename files as written on the forum and they worked!!!

thanks ThorstenE for your patience and help! much obliged to you :)
Title: Re: [SMF Converter] phpBB3
Post by: speedy931 on July 01, 2008, 09:43:28 AM
Thanks I really needed this. I'm so happy now that you found this.

And still I'm going to make run tonght so I hope it works like I want it to work.
Thanks :)
Title: Re: [SMF Converter] phpBB3
Post by: vypergt on July 02, 2008, 05:51:22 PM
Hello i'm new to all of this. I have phpbb 3 and I'm going to convert to smf. Now I need a fresh installation of smf and after I install it, I run those files attached to the first post?
Title: Re: [SMF Converter] phpBB3
Post by: SleePy on July 02, 2008, 06:31:13 PM
yes

http://docs.simplemachines.org/index.php?board=4.0
Title: Re: [SMF Converter] phpBB3
Post by: vypergt on July 02, 2008, 10:53:51 PM
o.k I edited the * phpBB3_Login_Fix.tgz file. Now when I did that it said I needed to make a new password, is that suppose to happen? Sorry I'm just making sure :/ to see I'm doing this right..
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on July 03, 2008, 01:23:09 AM
if you migrate your forum from phpbb this is a normal behaviour.. SMF and phpBB are using different mechanisms for cryting their passwords. SMF is (with the phpbb3_login_fix.tgz) able to read your old phpbb-password but needs to change this to it's own solution while first login. so you get a "re-enter your password" mask.
Title: Re: [SMF Converter] phpBB3
Post by: ellion on July 06, 2008, 01:33:31 PM
so how does this work? where are the instructions!

do i install SMF first before converting or do i just run the .sql converter.php in the directory of phpBB?
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on July 06, 2008, 01:40:37 PM
first you have to install SMF, after that you can convert your forum to SMF. All Information about that can be found here:
Converting to SMF (http://docs.simplemachines.org/index.php?board=4.0;sort=subject)
Title: Re: [SMF Converter] phpBB3
Post by: ellion on July 06, 2008, 01:57:02 PM
thanks i have now got the SMF installed but i have a problem with conversion.

i got this error message

The converter detected that your host has open_basedir enabled on this server. Please ask your host to disable this setting or try moving the contents of your phpBB3 to the public html folder of your site

i dont know what that means and my phpbb3 is already in public_html
Title: Re: [SMF Converter] phpBB3
Post by: SleePy on July 06, 2008, 01:58:52 PM
Have you tried what the error message suggests?

You might be able to continue still and have it work.
Title: Re: [SMF Converter] phpBB3
Post by: ellion on July 06, 2008, 02:04:40 PM
Have you tried what the error message suggests?

You might be able to continue still and have it work.

i dont know what it means, i might not want it disabled. it might be enabled for a reason.

i tried to continue but it brings the error.
Title: Re: [SMF Converter] phpBB3
Post by: SleePy on July 06, 2008, 02:12:51 PM
Have you asked your host about disabling it for a short time?

It isn't really needed and used to prevent access to directories that users should not have access to. But it does cause issues when you are wanting to access files if it is incorrectly setup.

Quote from: From Convert.php
      Check if open_basedir is enabled.  If it's enabled and the converter file was not found then that means
      that the user hasn't moved the files to the public html dir.  With this enabled and the file not found, we can't go anywhere from here.
Title: Re: [SMF Converter] phpBB3
Post by: ellion on July 06, 2008, 02:15:52 PM
would i be able to disable it my self somehow?
Title: Re: [SMF Converter] phpBB3
Post by: SleePy on July 06, 2008, 02:21:54 PM
If your host allows you to use custom php.ini files then you should be able to:
http://us3.php.net/manual/en/features.safe-mode.php#ini.open-basedir

You could also try the conversion locally if you want.
Title: Re: [SMF Converter] phpBB3
Post by: ellion on July 06, 2008, 03:07:14 PM

You could also try the conversion locally if you want.

how do you mean locally, smf installed into the same directory as phpbb?
Title: Re: [SMF Converter] phpBB3
Post by: ellion on July 06, 2008, 03:09:15 PM
i just thought would my problem be caused if the two forums where on different domains although using the same database.
Title: Re: [SMF Converter] phpBB3
Post by: ellion on July 06, 2008, 03:14:07 PM
the more i think about this, i think this is my problem.

i have one domain pointing to my public_html directory, [this has my orginal phpBB]
and i have a directory within this which has its own seperate domain [with smf installed] . both domains and forums use the one database.

will this be an issue?
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on July 06, 2008, 03:33:58 PM
For example:
Path to smf: /home/www/user1/public_html/smf
path to PHPBB3:  /home/www/user1/public_html

this should work if host has set open_basedir to /home/www/user1/public_html
Title: Re: [SMF Converter] phpBB3
Post by: ellion on July 06, 2008, 03:44:53 PM
thanks i will give it a try.
Title: Re: [SMF Converter] phpBB3
Post by: ellion on July 07, 2008, 02:56:47 AM
ok i managed to make the conversion.

putting the new forum in a local directory to the old forum.

now, do i need to edit the login.php with the code from the opening post of this topic?

btw thanks for the help, this has just rescued a messed up phpbb database.
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on July 07, 2008, 04:08:37 AM
you can edit LogInOut.php by hand (as described in the first post of this topic) or install the attached ( first post of this topic) phpBB3_Login_Fix.tgz  via Package-Manager.
Title: Re: [SMF Converter] phpBB3
Post by: ellion on July 07, 2008, 04:16:07 AM
you can edit LogInOut.php by hand (as described in the first post of this topic) or install the attached ( first post of this topic) phpBB3_Login_Fix.tgz  via Package-Manager.

in order to install a via package manager would i need to be logged in? as i cannot log in with admin priviliges at present.
Title: Re: [SMF Converter] phpBB3
Post by: ellion on July 07, 2008, 04:24:08 AM
may be you could advise with this issue too.

i would like the baord to be installed in the public_html directory, at present it is installed in public_html/smf/

my plan was to make a clean installation on a clean database and then transfer the tables by making a back up and restoring from the present installation to the clean installation.

is this as easy as it sounds or is there a simpler way to get the forum from /smf/ to /?
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on July 07, 2008, 06:14:21 AM
in order to install a via package manager would i need to be logged in? as i cannot log in with admin priviliges at present.
you may use the forgotten-passwort link to reset your password. else you can reset the passwort with PHPMyadmin: in SQL-Code-Window execute
Code: [Select]
update smf_members set passwd = "test",  passwordSalt='' where ID_MEMBER=xyz
replace smf_ with your prefix and xyz with your Admin's user_id, after that you should be able to login with your account and password: test

moving SMF to a different is described in the docs: Saving/Restoring, and Moving SMF (From a Host to Another) (http://docs.simplemachines.org/index.php?board=83.0;sort=subject)
Title: Re: [SMF Converter] phpBB3
Post by: ellion on July 07, 2008, 01:19:46 PM
still unable to reset my password.

when i have tried to resend my password forgotten password, nothing happens no emails are sent out for anyusers. infact i registered as a new user and no email confirmation was sent out. thats another issue altogether.

i ran the .sql query as above but i returned this message

Error

SQL query:

UPDATE smf_members SET passwd = "password",
passwordSalt = '' WHERE ID_MEMBER = admin

MySQL said: Documentation
#1054 - Unknown column 'admin' in 'where clause'


i presume that the loginout.php needs to be edited before conversion of the board. what else can i do?
Title: Re: [SMF Converter] phpBB3
Post by: SleePy on July 07, 2008, 01:21:21 PM
the ID is not a word. It would be the ID of your admin
 
I assume you are using phpMyAdmin? You can simply find your admin user in the smf_members table and edit it. Then change the password.
You can leave it in a plain text format. When you login, SMF will detect this and encrypt it using its own password format and update it to the database.
Title: Re: [SMF Converter] phpBB3
Post by: ellion on July 07, 2008, 01:37:38 PM
i am using phpmyadmin

i have the database open,  i go to table smf_members

then do i go to ID_MEMBER or passwd?

then do edit one of those tables?
Title: Re: [SMF Converter] phpBB3
Post by: ellion on July 07, 2008, 01:42:51 PM
its okay you dont need to answer that.

i have done it.

i just went to password and copied the password hash and used that, it worked.

right... now... how do i change all the other users passwords...

i can install something from package manager right?

at last!! thank you. :D
Title: Re: [SMF Converter] phpBB3
Post by: SleePy on July 07, 2008, 01:43:20 PM
You search for your username or id.
 
Then you click the edit icon in that row.
 
Go down to the passwd field and change that to a password you can use to login (you can use a temp one if you want to change it in your profile later).
Title: Re: [SMF Converter] phpBB3
Post by: ellion on July 07, 2008, 01:44:46 PM
thanks SleePy we got there eventually
Title: Re: [SMF Converter] phpBB3
Post by: SleePy on July 07, 2008, 01:48:03 PM
Not a problem :)
 
We try our best to hopefully make the conversion smooth.
 
Some people do say the password fix doesn't always work. I need to investigate that. Wonder if some reason the password hash is coming out different or maybe they upgraded php..
Title: Re: [SMF Converter] phpBB3
Post by: ellion on July 07, 2008, 03:27:50 PM
now that i have been converted should i continue with asking for support in this thread or should take myself into the newly intiated n00b sections?

kick me if i am misplaced i will continue here.

none of my other users can login? do i need to do the package manager password fix thing?

another problemo is when a user requests a password reset user is not recognised.

and final little thing that i have notcied i get a strang extra forward slash / in some of my urls.

like this http://domain//index.php

instead of

like this http://domain/index.php

spot the difference?

i am not sure this is really a problem but i dont like things happening that should not be.

any suggestions?
Title: Re: [SMF Converter] phpBB3
Post by: SleePy on July 07, 2008, 06:38:14 PM
Yes that password fix would be needed.
What it does is tell SMF how to recognize the hashed phpbb password, so it can be changed to its style.

The lost password is not working? Is any email being sent out at all by the forum? It might be that the server is disallowing the email to be sent out from the forum..
Title: Re: [SMF Converter] phpBB3
Post by: ellion on July 08, 2008, 01:19:27 AM
it seems like no emails are being sent.

new registrations are not receiving emails either.
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on July 08, 2008, 01:23:21 AM
try to switch between php and SMTP in Admin- Server-Settings - Feature Configuration
Title: Re: [SMF Converter] phpBB3
Post by: SleePy on July 08, 2008, 01:35:11 AM
What is the forums webmaster email set to?
Some hosts will require this be one from your domain and not a personal or external one.

Title: Re: [SMF Converter] phpBB3
Post by: ellion on July 08, 2008, 01:43:43 AM
also package manager wont install any mods. telling me  the package directory or one of the files is not writable. the directory and all files have 777 permissions.
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on July 08, 2008, 01:59:30 AM
also package manager wont install any mods. telling me  the package directory or one of the files is not writable. the directory and all files have 777 permissions.
the cause may be a wrong path in package-manager-settings.. the path is the same you can see from an FTP-CLient .. something like /public_html/forum
it is not the full path from the server-settings (Example /home/www/user1/public_html/forum)
Title: Re: [SMF Converter] phpBB3
Post by: ellion on July 08, 2008, 02:17:35 AM
i have emails working changed it to smtp, that worked!

how do i find package manager settings?
Title: Re: [SMF Converter] phpBB3
Post by: ellion on July 08, 2008, 02:24:41 AM
packages are at public_html/packages/

and the path i provide for package manger when requested is public_html
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on July 08, 2008, 02:43:09 AM
maybe it's only the missing slash  .. try /public_html
Title: Re: [SMF Converter] phpBB3
Post by: ellion on July 08, 2008, 03:10:00 AM
i dont know how to make the settings show. there does not seem to be any logical way to show the settings, they appear randomly when i request to change package options.
Title: Re: [SMF Converter] phpBB3
Post by: ellion on July 08, 2008, 03:22:38 AM
i can download packages via package manager to the Package directory.

when i browse packages i can connect to the package server and view packages that are available. when i click on install now i get the error message. [cannot download or install packages due to files/ directories not writable ]

when i go back to the browse pcakage panel the package has been downloaded to local package folder.

i am sure this means that the path and permissions are okay for writing to that directory.

Title: Re: [SMF Converter] phpBB3
Post by: ellion on July 08, 2008, 05:20:10 AM
i am not sure what is wrong but i have managed to install the login mod. although it is installed it has not worked. i managed to install an avatar pack just to check things where working and the avatars are displaying.  then package manager stopped working and giving the usual message [unwritable directories/files]
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on July 08, 2008, 05:26:35 AM
goto Admin - Packages - Options
- try "cleanup permissions" - select All files are writable..
on the next page you have to enter your ftp-information. verify the correct user, password and path. hope it helps..

Title: Re: [SMF Converter] phpBB3
Post by: SleePy on July 08, 2008, 12:43:22 PM
Does adding a "temp" folder to the "Packages" folder in SMF help any? You would need to grant it full permissions
Sometimes permissions on the host are not setup in the best way and php and your FTP user can't work on the same files without the permissions allowing it.
Title: Re: [SMF Converter] phpBB3
Post by: ellion on July 08, 2008, 04:23:09 PM
goto Admin - Packages - Options
- try "cleanup permissions" - select All files are writable..
on the next page you have to enter your ftp-information. verify the correct user, password and path. hope it helps..

this doesnt work. i was playing with this yesterday.

so far i have figured out that if i log in as admin then go to packages and select a package to install, i can then add ftp information and the package will say it has installed. however there are a number of minor issues that equal a major problem.

1 when the packages are installed they dont work.
2 after installing a package the manager stops working. i have figured that if i log out and log back in as admin then package manager will let me install one package again. [the package just wont work]

now another problem not related to the above but very important for me.
sef url's dont work. there is a red note by the option saing apache only. but the server is apache.
Title: Re: [SMF Converter] phpBB3
Post by: ellion on July 08, 2008, 04:26:13 PM
Does adding a "temp" folder to the "Packages" folder in SMF help any? You would need to grant it full permissions
Sometimes permissions on the host are not setup in the best way and php and your FTP user can't work on the same files without the permissions allowing it.

i will create a directory named temp in packages directory and give it full permissions.

do i need to do anything else with it?
Title: Re: [SMF Converter] phpBB3
Post by: ellion on July 08, 2008, 04:40:57 PM
i have been thinking, (not always a good thing to be honest) i might try to reinstall the forum fresh and restore the database.

i am thinking that my problem might have been because of the way i set up the forum.

what i did was converted the forum in a subdomain of my original phpbb installation.

then when i had a succesful conversion in the subdomain, i installed another smf in the toplevel domain. then i restored the database into that domain. which gave me two forums on different domains using two different databases with the same content.

however the top level domain was only accessing the tables it had been set up to access.

so i still had the forum i want to use in the subdomain although ihad a database and tables for it in the toplevel domain.

i decided [in my infinite wisdom] to copy the files from subdomain to /domain. then run repair_settings.php

this indeed gave me a working forum as i wanted it. only with a trillion niggley errors.
 

now i am certain that my problems have something to do with this set up process.

if i back up the database. [actually already have done]

and delete the current installation from public_html

and make a clean installation and restore the database.

am i going to end up with the exact same forum with the exact same problems or will i have a spanky new forum with glitch free function and my old content and userbase?
Title: Re: [SMF Converter] phpBB3
Post by: SleePy on July 08, 2008, 06:49:23 PM
You might end up with the same problems. It depends really if thats how permissions are setup.

Title: Re: [SMF Converter] phpBB3
Post by: ellion on July 09, 2008, 04:51:50 PM
everything is working now.

there was some problem with how i had tranfered my forum. as once i had re-installed everything was fine. also had to add the temp folder to packages. but the first mod i tried said that there was an error with my temp folder. so i created a temp dir and give it full permissions.

the only problem now is getting the search engine friendly url's working.

Title: Re: [SMF Converter] phpBB3
Post by: SleePy on July 09, 2008, 07:35:50 PM
That would be a question I would suggest posting in the support boards :)
Please do a search though before you search, somebody else most likely has had the same issue/question and an answer may be present.
Title: Re: [SMF Converter] phpBB3
Post by: ellion on July 10, 2008, 02:33:52 AM
thanks SleePy, i will look look around the support areas.
Title: Re: [SMF Converter] phpBB3
Post by: mobilewo on July 10, 2008, 08:09:18 AM
Sorry, the database connection information used in the specified installation of SMF cannot access the installation of phpBB3. This may either mean that the installation doesn't exist, or that the MySQL account used does not have permissions to access it.

The error MySQL gave was: SELECT command denied to user 'mobilewo'@'WEB10' for table 'phpbb_users'
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on July 10, 2008, 09:13:29 AM
Here is my reply to your first post:
http://www.simplemachines.org/community/index.php?topic=140917.msg1610258#msg1610258

Quote
Problem: SELECT command denied to user
Info: The cause of this error is that SMF and Software X are in separate databases and the SMF database user does not have access to Software X's database.
Fix: If your host has cPanel you can add the SMF database user to Software X's database.  If your host does not have cPanel you can contact them with regards on how to accomplish this. As well as a last resort, what you can do is reinstall SMF in the same database as Software X.
Title: Re: [SMF Converter] phpBB3
Post by: Vlada87 on July 13, 2008, 06:57:06 AM
Can something be done via phpmyadmin?
I dont have cPanel i hawe hosting on godaddy.com and they dont have cPanel.
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on July 13, 2008, 12:05:43 PM
if you have problems with database-access install SMF and PHPBB in the same database, they use both different prefixes (SMF uses smf_ by default, phpbb uses phpbb_ by default) so    
they do not interfere with each other..
Title: Re: [SMF Converter] phpBB3
Post by: Saesee on July 16, 2008, 07:07:29 PM
Hello, fisrt of all i'm french and my english is not perfect; sorry by advance  O:)

I try to convert a phpBB3 forum to a SMF and i have a problem.

This message :
Code: [Select]
Converting...
Converting ranks... Successful.
Converting groups... Unsuccessful!
This query:

    SELECT
    SUBSTRING(CONCAT('phpBB ', group_name), 1, 255) AS groupName,
    -1 AS minPosts, '' AS stars, '' AS onlineColor
    FROM `phpbb`.phpbb_groups
    WHERE group_single_user = 0
    LIMIT 0, 500;

Caused the error:

    Unknown column 'group_single_user' in 'where clause'

I had follow the instructions on the first page and edit the file "LogInOut.php" but nothing...
I have the "phpbb2 converter". That a problem ? If yes where can i download the good converter ? Give me a direct link please, not a post because find the good file is hard for me in english.

Thanks for your help by advance.
Title: Re: [SMF Converter] phpBB3
Post by: Sarge on July 16, 2008, 07:46:59 PM
I have the "phpbb2 converter". That a problem ? If yes where can i download the good converter ? Give me a direct link please, not a post because find the good file is hard for me in english.

Use convert.php:
http://www.simplemachines.org/community/index.php?action=dlattach;topic=140741.0;attach=61415
and phpbb3_to_smf.sql:
http://www.simplemachines.org/community/index.php?action=dlattach;topic=218449.0;attach=47702

The links are from the first post of this topic. Read the first post for information about what can be converted and what can not.
Title: Re: [SMF Converter] phpBB3
Post by: Saesee on July 16, 2008, 08:24:00 PM
OMG ! It's work perfectly !!!

A Special Big Very Thanks to you !!!

I think i'll love SMF and kick off phpBB. Actually i try all functions with WampServer in local; if SMF is easier than phpBB to configure and use... i'm happy and convert my actual phpBB3 forum (forum.freresdekor.org)

Well i go to configure and explore SMF now.

very thanks.
Title: Re: [SMF Converter] phpBB3
Post by: Saesee on July 18, 2008, 08:52:53 PM
Hi

I have try to convert my real forum (online) and its ok... just for that  >:(

For installing SMF, admin name is SaeseeSMF (for not erase my phpbb name) and on phpbb i a full admin and creator.

After convert, impossible to connect on SMF with my phpbb login AND the Admin SMF login i have created in installation.

Now i have a forum but impossible to connect ! no admin...

A solution please ?

Edit : I have download the "phpBB3_Login_Fix" in the first post but what i do with the two XML files ?

Sorry for language i'm french
Title: Re: [SMF Converter] phpBB3
Post by: SleePy on July 18, 2008, 09:29:01 PM
Saesee,

The login fix was a mod that is supposed to be applied prior to converting to SMF.
You can do it manually by following the instructions in the first post on how to add it in there manually.
This will make it so SMF can understand the phpbb3 login method and update the password to use its method.
Title: Re: [SMF Converter] phpBB3
Post by: Saesee on July 19, 2008, 07:21:22 AM
I have edit the file and do a new convert.

Now i can login-in but i haven't admin rights. A Solution ?
Title: Re: [SMF Converter] phpBB3
Post by: Saesee on July 19, 2008, 07:27:49 PM
UP. Anyonne can help me please, i have edit my last message for more "compréhension"
Title: Re: [SMF Converter] phpBB3
Post by: SleePy on July 19, 2008, 08:36:50 PM
This document should help you here :)

http://docs.simplemachines.org/index.php?topic=466.0 (even though you didn't delete your admin account, it has the same basis for regaining your admin access).
Title: Re: [SMF Converter] phpBB3
Post by: Saesee on July 20, 2008, 04:55:35 AM
Yes !!!!!!! Very thanks for your support ! Now i can config my convert forum and use SMF ! I will promote SMF on my website and forum !

A very thanks to all SMF members for the rapidity of response  ;)
Title: Re: [SMF Converter] phpBB3
Post by: Shepx83 on July 23, 2008, 04:15:04 PM
This script worked flawlessly for me. Just wanted to say Thanks and greatly appericate your effort in making this.
Title: Re: [SMF Converter] phpBB3
Post by: hamid2day on July 25, 2008, 08:13:04 AM
very Good..
http://forum.shahriariha.com
Title: Re: [SMF Converter] phpBB3
Post by: chinaren on August 12, 2008, 10:34:03 PM
I would like to give this a go. However:

Quote
convert.php
Use this convert.php with the .sql file attached in this topic.

When I click on the link (convert.php) in the first post, it sends me to a list of converters. If I click on the phpbb3 one, it sends me back to this topic!! 

I'm doing something stupid arent' I?

Title: Re: [SMF Converter] phpBB3
Post by: SleePy on August 13, 2008, 12:58:39 AM
The convert.php is at the bottom of that first post which lists the softwares. :D
Title: Re: [SMF Converter] phpBB3
Post by: Bob La Londe on August 17, 2008, 10:57:31 PM
The convert.php is at the bottom of that first post which lists the softwares. :D

Is the convert for PHPBB3 out of beta yet?  I'm running PHPBB3 on one of my sites (recently upgraded from PHPBB2) and SMF on another.  I think I need the options available with SSI.php for the site running PHPBB.

P.S.  I used to be a YaBB user a long time ago, but never used SE or SMF until recently. 
Title: Re: [SMF Converter] phpBB3
Post by: SleePy on August 18, 2008, 12:38:50 AM
I would say its more stable.
It won't alter your phpbb database, so if you want to give it a whirl then be my guest  :D
Title: Re: [SMF Converter] phpBB3
Post by: buhdlik on August 18, 2008, 07:05:25 AM
hey guys!

I am trying to convert from phpbb -> smf and I have run the basic convert.php script - but I am having trouble figuring out how to fix it so that the passwords will also copy over...

I am not a big tech-guru so if its possible could someone give me some basic guidelines so that I can fix this problem with the passwords.

Thanks guys!
Chris
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on August 18, 2008, 10:16:38 AM
you should install the phpbb3_login_fix.tar.gz via Package-Manager (attachment,first post of this topic)


If you cannot login as Admin to your SMF you can reset your password with the "forgotten Password" Link or fixing this directly with PHPMyAdmin:
http://www.simplemachines.org/community/index.php?topic=255922.msg1663073#msg1663073
Title: Re: [SMF Converter] phpBB3
Post by: Bob La Londe on August 18, 2008, 12:22:03 PM
Alrighty.... 

I am getting confused.  In order to convert a PHPBB3 board to SMF we have three files to deal with. 

convert.php
phpbb3_to_smf.sql
phpBB3_Login_Fix.tgz (zip would probably be better for me)

Now the steps are ???

1.  Install SMF
2.  upload convert.php
3.  apply phpbb3_to_smf.sql (somehow method unknown)
4.  Apply phpBB3_Login_Fix.tgz (somehow method unknown after figuring out how to decompress)
5.  Execute convert.php
6.  Re-read this thread and figure out how to fix the admin logon. 
7.  Reset permissions. 

Am I close? 

Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on August 18, 2008, 01:00:28 PM
the steps:
0) Read the docs: Converting to SMF (http://docs.simplemachines.org/index.php?board=4.0;sort=subject) ;)
1) Install SMF
2) Install phpbb3_login_fix.tgz with Package-Manager (Admin - Packages in SMF)
3) Upload convert.php and phpbb3_to_smf.sql (both in SMF directory)
4) execute convert.php from the browser

Title: Re: [SMF Converter] phpBB3
Post by: chinaren on August 22, 2008, 09:43:17 PM
ARG!  I really want to use this, but I keep having problems.  The latest one is this error when I run the converter:

Quote
Sorry, the database connection information used in the specified installation of SMF cannot access the installation of phpBB3. This may either mean that the installation doesn't exist, or that the MySQL account used does not have permissions to access it.

The error MySQL gave was: SELECT command denied to user '(mysite)_smf1'@'localhost' for table 'phpbb_users'

Is the password you have to enter on the first page something to do with this error?   Can you run the SQL code directly from MySQL? 

My main problem seems to be the SQL password.  I use iWeb hosting, and have set up the SMF/phpbb boards using their installer. 

Any help here greatly appreciated! I'll even give you a medal on the board! ;)
Title: Re: [SMF Converter] phpBB3
Post by: SleePy on August 22, 2008, 11:11:54 PM
This post should help with this :) Common conversion errors. (http://www.simplemachines.org/community/index.php?topic=146192.0)
 
Title: Re: [SMF Converter] phpBB3
Post by: chinaren on August 23, 2008, 03:44:05 AM
This post should help with this :) Common conversion errors. (http://www.simplemachines.org/community/index.php?topic=146192.0)

Woooot!!!   :D  :-* :)  :D

It worked! Darn tooting!  Thanks Sleeps!! 
Title: Re: [SMF Converter] phpBB3
Post by: fadich on August 25, 2008, 04:35:00 PM
Some question, for what version this convert 1.1.5 or 2.0?
Title: Re: [SMF Converter] phpBB3
Post by: rimmon on August 25, 2008, 06:02:44 PM
Hi,
i'm quite new to this board and SMF in general. Actually I tested it for the first time today.  :D
I converted from phpBB3 to SMF and everything works fine. Except the smileys, since phpBB3 includes smilies as images with the path "{SMILIES_PATH}/whatever.gif". So no smilies in the converted posts are shown correctly. I don't know if anybody stated a solution for this prob (havn't read everything in here^^) but I applied a quick fix that works fine. At least as an interim solution. So if anybody is interrested, here is what you do:


- Go to the Source dir in your SMF folder
- open Display.php
- look for the following code:
Code: [Select]
// Run BBC interpreter on the message.
$message['body'] = parse_bbc($message['body'], $message['smileysEnabled'], $message['ID_MSG']);
- Afterwards just add:
Code: [Select]
$message['body'] = str_replace('{SMILIES_PATH}', 'Smileys/phpBB3', $message['body']);- Now just copy your old phpBB3 smilies into Smileys/phpBB3 (of course you have to create the phpBB3 folder first ;)) and you are finished. :)

My apologies if this post is redundant to some other solution. :)

gtx
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on August 26, 2008, 01:34:07 AM
Some question, for what version this convert 1.1.5 or 2.0?

2.0 is still beta .. all converters are for SMF 1.1.5 at this time..
Title: Re: [SMF Converter] phpBB3
Post by: kifow on September 01, 2008, 01:33:53 PM
Where can I download this convertor?
I didn't understand how to download...
Thanks


Edit:
Only the php file..
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on September 01, 2008, 01:58:56 PM
read carefully the first post from this topic..

you need to download
- phpbb3_to_smf.sql (attachment from the first post of this topic)
 - phpbb3_login_fix.tgz from this topic  (install via package manager BEFORE converting your forum)
- convert.php (http://www.simplemachines.org/community/index.php?topic=140741.0) (attachment - scroll down)

This will guide you through the conversion process:
Converting to SMF (http://docs.simplemachines.org/index.php?board=4.0;sort=subject)
Title: Re: [SMF Converter] phpBB3
Post by: kifow on September 01, 2008, 02:08:05 PM
Thanks a lot.
I'm beggining to think I'm blind..
;) Apologize me please
Thanks,
kif
Title: Re: [SMF Converter] phpBB3
Post by: The Cadet on September 03, 2008, 06:24:14 PM
I'm sorry to bother, but I'm new to SMF and I'm a tech noob. How do I use this at all? Remember, you're talking to someone with no clue whatsoever. I have the sql file and a phpBB backup. What noew?
Title: Re: [SMF Converter] phpBB3
Post by: SleePy on September 03, 2008, 07:30:56 PM
Perhaps reading our documentation on converting to SMF may help.
http://docs.simplemachines.org/index.php?board=4.0
Title: Re: [SMF Converter] phpBB3
Post by: The Cadet on September 03, 2008, 07:59:50 PM
:facepalm:

Whoops. Sorry. I'm getting this:


Sorry, the database connection information used in the specified installation of SMF cannot access the installation of phpBB3. This may either mean that the installation doesn't exist, or that the MySQL account used does not have permissions to access it.

The error MySQL gave was: SELECT command denied to user 'mtgda0_simplemac'@'localhost' for table 'phpbb_users'
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on September 04, 2008, 01:19:34 AM
I have the sql file and a phpBB backup. What noew?
Have you imported your sql file into a database and changed phpBB3 config.php to your new database? you need a running phpBB3 before converting it to SMF..
Title: Re: [SMF Converter] phpBB3
Post by: The Cadet on September 04, 2008, 07:49:08 AM
Uh... I imported them both. I read the stuff I should've read before, you know, asking noob questions (:P) and now I'm getting the error my last post showed.
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on September 04, 2008, 02:08:32 PM
mtgda0_simplemac is the mysql-user from your SMF-Database... this user account must have read access to your phpbb database..

Common conversion errors. (http://www.simplemachines.org/community/index.php?topic=146192.0)
Title: Re: [SMF Converter] phpBB3
Post by: onyxprop on September 05, 2008, 10:20:32 AM
Ok, I've got a problem here.

The links LOOP (meaning it brings me right back to the first post of this thread) and I only see the phpbb2 converter!
Can someone please email all the files that I'll need to convert my board over to SMF?

thanks! :)
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on September 05, 2008, 01:15:59 PM
read the first post of this topic carefully ;)

the phpbb3_to_smf.sql ist attached (first post), also the phpbb3_login_fix.tgz.
the convert.php can be downloaded here: http://www.simplemachines.org/community/index.php?topic=140741.0
Title: Re: [SMF Converter] phpBB3
Post by: bobbank on September 06, 2008, 01:10:39 AM
Hello,

I believe I have followed the instructions correctly, but I am having major issues with the conversion from phpBB3.

During the conversion itself, I get an extremely long error message that looks like it includes pieces of numerous posts that could not convert.  At the bottom, the error message is: "Caused the error: Duplicate entry '11217' for key 1"

Interestingly, the posts that seem to be contained in this error message actually do get converted just fine.  The only readily apparent problems I saw with the posts themselves were [color] tags not working properly at all, and most forums (but not all) had the "last post" information blank.

/edit: I should mention that I do get a screen during post conversion that says it has paused to avoid overloading my server, and asks me to click continue.

So I thought I could live with this and decided to login.

On login attempt I get this:
"Fatal error: Cannot redeclare phpbb3_password_check() (previously declared in /home/sohguild/public_html/forumsnew/Sources/LogInOut.php:490) in /home/sohguild/public_html/forumsnew/Sources/LogInOut.php on line 551"

I had installed the password fix using package manager.

I'm hoping to use SMF instead of phpbb for my gaming guild, but I cannot make the switch if it means losing all our history.  Thanks in advance for your help.
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on September 06, 2008, 02:52:21 AM
seems like you have installed the login_fix.tgz more than one times.. can you attach your LoginOut.php here?
Title: Re: [SMF Converter] phpBB3
Post by: bobbank on September 06, 2008, 10:15:32 AM
Hello and thanks for your reply.  I tried to do a clean install of SMF and re-install the login fix mod.  I notice I'm hitting the same speedbump that I hit last time.  When I tell SMF to install the mob, here's the path in my browser: "MYPATH/index.php?action=packages;sa=install2;package=phpBB3_Login_Fix.tgz" and that page cannot load.  "Internet Explorer cannot load page."

Last time I hit refresh and perhaps you are right that it resulted in duplicate code being inserted.

This time I refrained.  And it works fine!  So thanks for the lead.  (I wonder why I get that browser issue both times tho.. any thoughts?)



Also, I was able to use the convert utility successfully this time.  I found out what I did wrong, and I have a suggestion for the author (and other users - maybe you could clarify this in the instructions).  When you get the screen in which you're told that nothing is wrong but the convertor is pausing to avoid a server overload, you get a continue button that has a 3 second count down.

If you press continue AFTER it has reached zero, it seems you essentially make the convertor start that section over, resulting in a duplicate attempt to import posts.  That was what generated my error.

My suggestion to the author: after the countdown hits zero, and the utility resumes its work, you should disable the Continue button to prevent this error.

Thanks!



/edit: but I spoke too soon.  Now for my new problem.  It did not correctly set me as an Administrator.  (And I can't see private messages but I am assuming perhaps that is disabled and once I'm an admin I can turn it on.)

/edit2: I resolved my Admin problem.. it was quirky but I don't think it was the fault of the utility actually (we had multiple admins and it did correctly assign one of them.. just not me!)  However, my new new problem is smileys - most of them did not convert correctly.. so I've got a lot of broken links.  Any easy way to fix?

/edit3: more feedback for the author - when converting PM's, it seems the phpbb Inbox and Sent folders got merged.  I've just got a big mess of both in my new SMF inbox.
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on September 06, 2008, 02:20:20 PM
what's going wrong with the smileys? you can enable custom smileys in SMF and add the smileys and code from your former used phpBB..
Title: Re: [SMF Converter] phpBB3
Post by: bobbank on September 06, 2008, 07:49:35 PM
what's going wrong with the smileys? you can enable custom smileys in SMF and add the smileys and code from your former used phpBB..

It looks like the convertor had a meltdown on certain smilies.  For example here is the syntax it used for one of them:

Code: [Select]
<!-- s:cry: --><img src="{SMILIES_PATH}/icon_cry.gif" alt=":cry:" title="Crying or Very sad" /><!-- s:cry: -->
This translates into the following path for the graphic:
Code: [Select]
http://mydomain.org/forums/%7BSMILIES_PATH%7D/icon_cry.gif
So I don't think this is anything I can fix by simply uploading the appropriate gif to the corresponding path.  It doesn't create a legitimate path at all.  Would you agree, or does anyone have suggestions for a resolution?
Title: Re: [SMF Converter] phpBB3
Post by: onyxprop on September 07, 2008, 04:10:40 PM
[color=#FF0000:2r4lh04x]New accounts that have been neglected, and which have 0 posts after 60 days of registration, will be deactivated.[/color:2r4lh04x]
This is supposed to be red text, and something else, I can't remember, maybe bold too. Don't know what the heck 2r4lh04x is supposed to be.

[u:2r4lh04x]Registration is free[/u:2r4lh04x]
This one is supposed to be underlined, and possibly coloured or enhanced.

After converting from phpbb3, all bbcodes and colors and possibly HTML are just showing up as above.
Other examples also shows as
[i:2r4lh04x]Hello.[/i:2r4lh04x] or it just has [b:][/b] [size=200:2n531i3k]RULES:[/size:2n531i3k]
or italic, color or underline

Looks like it all fused/melted together! :o

Any quick fix for this? can't edit all 9000 posts of those who've been color-coding their sentences in bold!  :-\
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on September 08, 2008, 01:25:11 AM
bobbank,
a fix for the smileys issue can be found here:
http://www.simplemachines.org/community/index.php?topic=218449.msg1676430#msg1676430
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on September 08, 2008, 01:36:43 AM
onyxprop,
you can fix this by using phpMyAdmin and replace all wrong (user based) bbcodes:

Code: [Select]
UPDATE smf_messages SET BODY = replace( BODY, ':2r4lh04x', '' )change smf_ to your database prefix.

repeat this for every custom bbcode.

if you are able to reconvert the forum (only possible, if it is not used by your users until yet or all data after the conversion will be lost) you can try the phpbb3_to_smf.sql from this post:
http://www.simplemachines.org/community/index.php?topic=250748.msg1623166#msg1623166
Title: Re: [SMF Converter] phpBB3
Post by: onyxprop on September 08, 2008, 01:51:45 PM
I don't think I want to go through that nasty process of converting everything again.  :(

So, go into phpmyadmin and look where exactly to replace the codes? I see Body in smf_messages but don't know where to put that code you gave me.
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on September 08, 2008, 02:10:30 PM
go to the SQL-Window and execute the code (see screenshot)
Title: Re: [SMF Converter] phpBB3
Post by: bobbank on September 09, 2008, 02:51:12 PM
TE - thank you for your help through this process.

(I also had the same issue as onyx so that's two fixes for me to work on when I have time later this week!)
Title: Re: [SMF Converter] phpBB3
Post by: onyxprop on September 09, 2008, 07:37:03 PM
WOW  :o

It worked!

Thank you!  :)
Title: Re: [SMF Converter] phpBB3
Post by: onyxprop on September 09, 2008, 08:16:39 PM
ok,
so how do I set the size=SOME NUMBER HERE now?
Code: [Select]
[size=200]kool[/size]is it just some mod i can upload with package manager, or no?  :)
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on September 10, 2008, 01:54:55 AM
I am not sure what you mean.. would you like to replace your old size tags in the database or only don't know, how to use size tag in SMF?

the size in SMF is used with pt or px as an attribute, the max. size is 99
Code: [Select]
[size=99pt]test[/size]
if you want to replace old BBCODEs in the messages table you can do it with the same solution posted above
example:
Code: [Select]
UPDATE smf_messages SET BODY = replace( BODY, 'size=200', 'size=99pt' )
Title: Re: [SMF Converter] phpBB3
Post by: Mollesman on September 10, 2008, 07:58:38 AM
Hi all, First of all, Good work from all of you ... Second.. I have a slide of a prob.. I tryed to convert from PHPbb3 and got this error :
Quote
Parse error: syntax error, unexpected ';', expecting ')' in /home/virtual/vardnads-umgangeslagar.se/public_html/smf/convert.php on line 2656

On that line it says: "
Quote
The database encountered an error on line (from query), " . $line . "."; // . ", from file, " . $file . ".";

Anybody have a clue? I installed the smf, Set it to UTF8 deleted the Installfiles, And typed www.vardnads-umgangeslagar.se/smf/convert.php

I aint soo good at php so.. you might have to explain it like you do to a child..he he  ::)

I have also looked for that : phpBB3_Login_Fix.tgz but couldnt find it anywere.
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on September 10, 2008, 11:47:56 AM
the convert.php from the packages on our download page is icorrect (and should be fixed soon).. use the version attached to this post: http://www.simplemachines.org/community/index.php?topic=140741.0
Title: Re: [SMF Converter] phpBB3
Post by: onyxprop on September 10, 2008, 12:44:43 PM
Well, I managed to fix the broken links concerning the old smilies, but all i have for option in the reply are only a few of the default smilies. I tried to somehow get my phpbb smilies on the set smiley order. In fact, my smileys aren't showing up at all in the admin section, it's weird, but all the broken links have them on the threads?
just baffled that's all. I don't know what to do, and I followede that link above to get my smilies into smf in the first place.

I get this error:

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(code) DESC' at line 2
File: /home/onyxprop/public_html/smf/Sources/ManageSmileys.php
Line: 990

Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 1.1.6, while your database is at version 1.1.5. The above error might possibly go away if you execute the latest version of upgrade.php.


Now, i looked at DB and apparently the installation is still at 1.14 but on my forum it's up to date at .6. I tred to update but I just got another mysql error.

I dunno. :(
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on September 10, 2008, 01:20:12 PM
Common conversion errors. (http://www.simplemachines.org/community/index.php?topic=146192.0)
Title: Re: [SMF Converter] phpBB3
Post by: Mollesman on September 11, 2008, 04:44:06 AM
Thnax and ty for ansering my questian, I have sme more questian thoe...

Were am i suppose to put this file:
Quote
phpBB3_Login_Fix.tgz
?

does that make the passwords convert also to the new forum? Cuase i have no access at all to it right now, I had before but then i disepeared.. "the admin rights doesnt work either... :(
Title: Re: [SMF Converter] phpBB3
Post by: SleePy on September 11, 2008, 11:09:43 AM
You will have to apply that patch manually if you can not log on or gain access to the admin panel, but it will convert your phpbb3 passwords after the user logs on into the smf one.

Title: Re: [SMF Converter] phpBB3
Post by: Mollesman on September 11, 2008, 11:40:40 AM
Ok, in witch folder am i suposed to pit this file
Quote
phpBB3_Login_Fix.tgz
??
Title: Re: [SMF Converter] phpBB3
Post by: SleePy on September 11, 2008, 11:13:49 PM
That is a mod, please read Package Manager (http://docs.simplemachines.org/index.php?board=49.0;sort=subject) on how to install it.
You can manually install it if needed as well, Manual Installation of Mods (http://docs.simplemachines.org/index.php?topic=402)
Title: Re: [SMF Converter] phpBB3
Post by: talon2k9 on September 16, 2008, 04:14:27 PM
I'm having a weird issue that has got me stumped. I've made the loginout.php changes, downloaded the correct convert.php and phpbb3_to_smf.sql files, and dumped them into the clean smf root directory. When I try to execute convert.php, I get an internal server error (500). Any clues as to what would cause this?

The blank SMF install runs great from the same directory
Title: Re: [SMF Converter] phpBB3
Post by: SleePy on September 16, 2008, 05:10:30 PM
Have you tried using convert.php from this topic ? Updated Converters List & Support Topics (http://www.simplemachines.org/community/index.php?topic=140741.0)
 
If you have, you will need to check your server error logs, which your host can help you in locating in order to find out what error is occurring.
Title: Re: [SMF Converter] phpBB3
Post by: talon2k9 on September 17, 2008, 09:20:15 AM
I finally got the script to run and it seemed to go cleanly, with no errors. Only problem is that only 17200 of 29799 posts got converted, starting with the oldest ones. Any clues? Everything else seems to be working just fine.


*edit* I also noticed that messages did not get converted. Not a big deal, but is this something that the converter should handle or is it not supposed to convert PM's?
Title: Re: [SMF Converter] phpBB3
Post by: SleePy on September 17, 2008, 06:41:52 PM
it converts pms

is there any data in the personal_messages and pm_recipients tables?

Where you clicking the continue button or letting it do the work? This oddly can cause weird conversion errors.
Title: Re: [SMF Converter] phpBB3
Post by: talon2k9 on September 18, 2008, 03:37:34 PM
both message tables are empty.

I don't believe I hit the continue button at all - I just let it do it's thing. Will I harm anything if I run the conversion again?
Title: Re: [SMF Converter] phpBB3
Post by: The Cadet on September 19, 2008, 06:20:00 PM
Parse error: syntax error, unexpected ';', expecting ')' in /home/mtgda0/public_html/forums/convert.php on line 2656

???

Got that as soon as I tried to open the converter.

EDIT: Downloaded and installed it again. Same problem.
Title: Re: [SMF Converter] phpBB3
Post by: RickDeckard on September 19, 2008, 08:14:37 PM
Parse error: syntax error, unexpected ';', expecting ')' in /home/mtgda0/public_html/forums/convert.php on line 2656

Hi,

today i had the same problem.

Well, it is free software and therefore i'll have to thank god that someone has spend the time developing a converter... but... sometimes i ask my self if it is too hard to perform some basic tests before publishing a new version of a software...

This is clearly something i call sloppiness. But fortunately it is not too hard to fix it - even for a non-technican...

Just open the file in an adequate editor of your choice and change line 2656 from:

Code: [Select]
"The database encountered an error on line (from query), " . $line . "."; // . ", from file, " . $file . ".";
To:
Code: [Select]
"The database encountered an error on line (from query), " . $line . ".",  // . ", from file, " . $file . ".";
Should work now.

I am currently dealing with a problem during the conversion of very large forums. It seems that there is some issue with the posts-part. If the patch is not too complicated for this forum, i will post it within this thread.

Probably someone should kindly ask the developer(s) for a bit more diligence before publishing a new version.

Regards,

Rick


Title: Re: [SMF Converter] phpBB3
Post by: The Cadet on September 19, 2008, 08:34:33 PM
Thanks, rick. That fixed it. :)
Title: Re: [SMF Converter] phpBB3
Post by: RickDeckard on September 19, 2008, 08:51:28 PM
I am currently dealing with a problem during the conversion of very large forums. It seems that there is some issue with the posts-part. If the patch is not too complicated for this forum, i will post it within this thread.

Seems that it has something to do with this nice checkboxes at the start screen of the converter. After deselecting all of them, the conversion seems to be successful (anyway i will perform additional tests).

Could be nice if someone can verify this. It seems that the problem occurs if a forum has more 10.000 posts. Has something to do with the step splitting - seems that it does not work as it could be expected. As it seems that it worked now for me, i will currently not spend more time to dig deeper.

Regards

Rick

Title: Re: [SMF Converter] phpBB3
Post by: SleePy on September 21, 2008, 12:00:30 AM
The fixed converter is also on the updated converter topics page page.
Title: Re: [SMF Converter] phpBB3
Post by: Majes on September 26, 2008, 07:58:04 AM
what's the problem here?

Converting ranks... Unsuccessful!
This query:

    DELETE FROM `mhdphpbb`.smf_membergroups
    WHERE groupName LIKE 'phpBB %';

Caused the error:

    Unknown column 'groupName' in 'where clause'
Title: Re: [SMF Converter] phpBB3
Post by: SleePy on September 26, 2008, 11:56:19 AM
Are you using SMF 1.1?

The converter scripts are not posted for SMF 2.0.
Title: Re: [SMF Converter] phpBB3
Post by: Majes on September 27, 2008, 06:53:48 AM
Ok, I'm trying to mod it so it can work with smf 2.0

Title: Re: [SMF Converter] phpBB3
Post by: videoed on September 28, 2008, 12:14:37 PM
Hi,

I am completely, totally and utterly desperated, frustrated and tired. I know this forum offers help for free but I am so interested in moving from phpBB3 to SMF that I would pay anyone helping me with my problems.

My goal: Moving my current phpBB3 board (259,122 messages and 41,876 users) to SMF 1.1.6, then to SMF 2.0.
My server info: http://www.videoedicion.org/status.php?php
Steps taken:

Now is when my nightmare begins:

I could loose almost anything but boards, messages, users and attachments. I desperately need your help, either for free or paying someone to review everything for me. I have spent the last 48 horas just trying to solve this out (I have hardly slept) I have read every single post in this thread and I've done a deep search in simplemachines.org and Google. But it's no good.

Thanks a lot in advance

Best regard.
Title: Re: [SMF Converter] phpBB3
Post by: SleePy on September 28, 2008, 05:37:35 PM
Does this .sql file work with better results?
Title: Re: [SMF Converter] phpBB3
Post by: videoed on September 28, 2008, 06:19:18 PM
Does this .sql file work with better results?

I'll give it a try. Before I forget, I've had to change this before I proceed:

1. Find (line 218)

Code: [Select]
// This just does the stuff that it isn't work parsing in a regex.
Change it to:

Code: [Select]
/* This just does the stuff that it isn't work parsing in a regex.*/
2. Find (line 533)

Code: [Select]
// This just does the stuff that it isn't work parsing in a regex.
Change it to:

Code: [Select]
/* This just does the stuff that it isn't work parsing in a regex.*/
It's going to take a while (it's a big database) I'll tell you later. THANKS in advance for the help (wether it works or doesn't)
Title: Re: [SMF Converter] phpBB3
Post by: videoed on September 28, 2008, 08:06:48 PM
This is the result:

- It keeps looping when converting aditional_member_groups (I simply skip this process once it comes back to zero)
- Poll votes and personal messages (step 2) convertion have no problems now ( :D THANKS!)
- I still have the following error when doing the attachments' convertion:

Code: [Select]
Warning: getimagesize(/home/videoed/domains/videoedicion.org/public_html/foro/files/43439_6e7e6bf63a3ad05aa395bbc938280558) [function.getimagesize]: failed to open stream: No such file or directory in /home/videoed/domains/videoedicion.org/public_html/smf/convert.php(1094) : eval()'d code on line 34

Warning: copy(/home/videoed/domains/videoedicion.org/public_html/foro/files/43439_6e7e6bf63a3ad05aa395bbc938280558) [function.copy]: failed to open stream: No such file or directory in /home/videoed/domains/videoedicion.org/public_html/smf/convert.php(1094) : eval()'d code on line 36

Nonetheless... it seems to work!!!

It's 2:00 am here in Spain and tomorrow I work, so I will not be doing deep testing tonight. But I've tried several attachments and the seem to be OK despite the error message.

I really cannot tell you how much this means. Tonight I was going to bed sad and hopeless. I had even forgoten that tomorrow is my birthday until my girl called me at 00:00 am to wish me a happy birthday. Now I go to bed with illusion in my mind, wishing from this very moment to come home tomorrow after work to go on with the testing. I have not a mirrow in front to have a look at my face... but you should have a look. My smile is larger than my face is. I mean it...

Wel... I will give you more details tomorrow.

THANKS, big, big THANKS
Title: Re: [SMF Converter] phpBB3
Post by: SleePy on September 28, 2008, 09:22:56 PM
If you are still getting the attachments error, that means the file path is incorrect or file is missing
Title: Re: [SMF Converter] phpBB3
Post by: iain sherriff on October 04, 2008, 01:33:57 PM
fallen at the first hurdle  :(

Smf installled   ok
Login fix installed   ok
convert.php says it cant find smf....................

my server has multiple domains on it.

uklows.com is my main account and SMF is in a folder /smf [uklows.com/smf]
I have convert.php and the sql file in the same folder [/smf] as i loaded the smf files to.

my phpbb3 board is at lowriderforums.com/forum. This domain is on the uklows server................. have to admit i'm not 100% sure on the terminology here so i've done a screen dump to show the relation

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.uklows.com%2Fsmf%2FImage3.jpg&hash=f8ae212c27bf602083f224b69bd33583)

In the converter I had the path to SMF as /smf
and
the path to phpbb3 as
/lowriderforums.com/forum


is that right please ?
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on October 04, 2008, 01:59:19 PM
the pathes must be absolute pathes
 
/home/uklows/public_html/smf (for SMF)
/home/uklows/public_html/lowriderforums.com/forum (for phpbb3)

Title: Re: [SMF Converter] phpBB3
Post by: iain sherriff on October 04, 2008, 04:48:23 PM
thank you ................................

[from reading the rest of this topic I may be back with more ?'s !]
Title: Re: [SMF Converter] phpBB3
Post by: iain sherriff on October 05, 2008, 05:28:06 AM
next prob was that the host had openbase_dir enabled. they have altered that and now I get this message frolm the converter

Code: [Select]
Unable to find the settings for phpBB3. Please double check the path and try again.

I dont know what it means by "settings" ?
Title: Re: [SMF Converter] phpBB3
Post by: iain sherriff on October 05, 2008, 06:29:50 AM
changes some chmod settings [just to see what happened!] an the converte started  :)

got to stage 2 of personal messages then gave this message
Code: [Select]
Converting...
Converting personal messages (step 2)... Unsuccessful!
This query:
INSERT INTO `uklows_smf1`.smf_pm_recipients
(ID_PM, ID_MEMBER, labels, is_read, deleted)
VALUES ('15', '128', '-1', '1', '0'),
('25', '21', '-1', '1', '0'),
('48', '21', '-1', '1', '0'),
('54', '21', '-1', '1', '0'),
('92', '51', '-1', '1', '0'),
('93', '51', '-1', '1', '0'),
('100', '21', '-1', '1', '0'),
('103', '51', '-1', '1', '0'),
('162', '13', '-1', '1', '0'),
('165', '51', '-1', '1', '0'),
('177', '529', '-1', '1', '0'),
('203', '529', '-1', '1', '0'),
('220', '128', '-1', '1', '0'),
('225', '21', '-1', '1', '0'),
('226', '40', '-1', '1', '0'),
('238', '559', '-1', '1', '0'),
('249', '41', '-1', '1', '0'),
('253', '559', '-1', '1', '0'),
('287', '21', '-1', '1', '0'),
('337', '51', '-1', '1', '0'),
('349', '21', '-1', '1', '0'),
('356', '51', '-1', '1', '0'),
('364', '37', '-1', '1', '0'),
('365', '559', '-1', '1', '0'),
('376', '13', '-1', '1', '0'),
('390', '51', '-1', '1', '0'),
('411', '21', '-1', '1', '0'),
('6479', '37', '-1', '1', '0'),
('435', '41', '-1', '1', '0'),
('469', '37', '-1', '1', '0'),
('483', '41', '-1', '1', '0'),
('497', '9', '-1', '1', '0'),
('498', '690', '-1', '1', '0'),
('499', '690', '-1', '1', '0'),
('500', '690', '-1', '1', '0'),
('509', '690', '-1', '1', '0'),
('511', '690', '-1', '1', '0'),
('518', '690', '-1', '1', '0'),
('521', '690', '-1', '1', '0'),
('525', '690', '-1', '1', '0'),
('542', '690', '-1', '1', '0'),
('584', '690', '-1', '1', '0'),
('622', '21', '-1', '1', '0'),
('843', '918', '-1', '1', '0'),
('868', '51', '-1', '1', '0'),
('877', '51', '-1', '1', '0'),
('879', '26', '-1', '1', '0'),
('911', '26', '-1', '1', '0'),
('930', '51', '-1', '1', '0'),
('945', '26', '-1', '1', '0'),
('948', '13', '-1', '1', '0'),
('955', '15', '-1', '1', '0'),
('957', '13', '-1', '1', '0'),
('985', '26', '-1', '1', '0'),
('997', '30', '-1', '1', '0'),
('1004', '559', '-1', '1', '0'),
('1018', '30', '-1', '1', '0'),
('1020', '559', '-1', '1', '0'),
('1023', '26', '-1', '1', '0'),
('1027', '26', '-1', '1', '0'),
('1041', '58', '-1', '1', '0'),
('1042', '15', '-1', '1', '0'),
('1051', '58', '-1', '1', '0'),
('1061', '13', '-1', '1', '0'),
('1065', '559', '-1', '1', '0'),
('1073', '13', '-1', '1', '0'),
('1081', '13', '-1', '1', '0'),
('1084', '15', '-1', '1', '0'),
('1087', '13', '-1', '1', '0'),
('1093', '15', '-1', '1', '0'),
('1097', '15', '-1', '1', '0'),
('1101', '13', '-1', '1', '0'),
('1114', '991', '-1', '1', '0'),
('1116', '13', '-1', '1', '0'),
('1129', '991', '-1', '1', '0'),
('1136', '991', '-1', '1', '0'),
('1137', '991', '-1', '1', '0'),
('6477', '8', '-1', '1', '0'),
('1187', '15', '-1', '1', '0'),
('1190', '991', '-1', '1', '0'),
('1223', '15', '-1', '1', '0'),
('1232', '477', '-1', '1', '0'),
('1249', '15', '-1', '1', '0'),
('1253', '477', '-1', '1', '0'),
('1261', '13', '-1', '1', '0'),
('1262', '13', '-1', '1', '0'),
('1273', '15', '-1', '1', '0'),
('1288', '15', '-1', '1', '0'),
('1292', '664', '-1', '1', '0'),
('1296', '664', '-1', '1', '0'),
('1300', '51', '-1', '1', '0'),
('1319', '15', '-1', '1', '0'),
('1325', '51', '-1', '1', '0'),
('1350', '51', '-1', '1', '0'),
('1352', '664', '-1', '1', '0'),
('1367', '32', '-1', '1', '0'),
('1370', '20', '-1', '1', '0'),
('1374', '15', '-1', '1', '0'),
('1379', '15', '-1', '1', '0'),
('1389', '918', '-1', '1', '0'),
('1391', '20', '-1', '1', '0'),
('1395', '20', '-1', '1', '0'),
('1399', '991', '-1', '1', '0'),
('1426', '664', '-1', '1', '0'),
('1434', '690', '-1', '1', '0'),
('1441', '15', '-1', '1', '0'),
('1449', '15', '-1', '1', '0'),
('1453', '37', '-1', '1', '0'),
('6372', '529', '-1', '1', '0'),
('1529', '15', '-1', '1', '0'),
('1534', '20', '-1', '1', '0'),
('1538', '20', '-1', '1', '0'),
('6090', '1861', '-1', '1', '0'),
('6090', '3474', '-1', '1', '0'),
('1565', '477', '-1', '1', '0'),
('6527', '9', '-1', '1', '0'),
('1600', '79', '-1', '1', '0'),
('1603', '15', '-1', '1', '0'),
('1614', '15', '-1', '1', '0'),
('6089', '3475', '-1', '1', '0'),
('6088', '2224', '-1', '1', '0'),
('1666', '13', '-1', '1', '0'),
('6087', '34', '-1', '1', '0'),
('6780', '3531', '-1', '1', '0'),
('6289', '49', '-1', '1', '0'),
('6289', '3494', '-1', '1', '0'),
('1712', '389', '-1', '1', '0'),
('6288', '68', '-1', '1', '0'),
('1726', '30', '-1', '1', '0'),
('1734', '13', '-1', '1', '0'),
('1749', '389', '-1', '1', '0'),
('6840', '6', '-1', '1', '0'),
('6780', '757', '-1', '1', '0'),
('6372', '49', '-1', '1', '0'),
('6084', '2224', '-1', '1', '0'),
('1794', '477', '-1', '1', '0'),
('1798', '477', '-1', '1', '0'),
('6527', '757', '-1', '1', '0'),
('1824', '79', '-1', '1', '0'),
('6441', '6', '-1', '1', '0'),
('6084', '34', '-1', '1', '0'),
('1875', '991', '-1', '1', '0'),
('1881', '991', '-1', '1', '0'),
('1885', '991', '-1', '1', '0'),
('1894', '991', '-1', '1', '0'),
('6526', '757', '-1', '1', '0'),
('6526', '9', '-1', '1', '0'),
('6525', '3495', '-1', '1', '0'),
('6440', '68', '-1', '1', '0'),
('1923', '15', '-1', '1', '0'),
('6440', '3495', '-1', '1', '0'),
('1942', '79', '-1', '1', '0'),
('6524', '1770', '-1', '1', '0'),
('1972', '13', '-1', '1', '0'),
('6439', '3495', '-1', '1', '0'),
('6779', '757', '-1', '1', '0'),
('1983', '15', '-1', '1', '0'),
('1996', '46', '-1', '1', '0'),
('2000', '46', '-1', '1', '0'),
('2017', '46', '-1', '1', '0'),
('2020', '477', '-1', '1', '0'),
('2031', '46', '-1', '1', '0'),
('2036', '664', '-1', '1', '0'),
('2057', '46', '-1', '1', '0'),
('2067', '28', '-1', '1', '0'),
('2070', '1695', '-1', '1', '0'),
('6778', '3531', '-1', '1', '0'),
('6523', '68', '-1', '1', '0'),
('6541', '8', '-1', '1', '0'),
('2087', '46', '-1', '1', '0'),
('6438', '3495', '-1', '1', '0'),
('2103', '28', '-1', '1', '0'),
('6522', '1770', '-1', '1', '0'),
('6519', '191', '-1', '1', '0'),
('6540', '8', '-1', '1', '0'),
('6518', '2', '-1', '1', '0'),
('2128', '41', '-1', '1', '0'),
('2132', '41', '-1', '1', '0'),
('2135', '477', '-1', '1', '0'),
('2152', '477', '-1', '1', '0'),
('2163', '15', '-1', '1', '0'),
('2176', '28', '-1', '1', '0'),
('2183', '51', '-1', '1', '0'),
('2191', '559', '-1', '1', '0'),
('2195', '559', '-1', '1', '0'),
('6777', '68', '-1', '1', '0'),
('2208', '389', '-1', '1', '0'),
('2212', '477', '-1', '1', '0'),
('6784', '2712', '-1', '1', '0'),
('2218', '477', '-1', '1', '0'),
('6210', '3474', '-1', '1', '0'),
('2231', '477', '-1', '1', '0'),
('6784', '34', '-1', '1', '0'),
('6783', '174', '-1', '1', '0'),
('2244', '477', '-1', '1', '0'),
('2266', '51', '-1', '1', '0'),
('2271', '28', '-1', '1', '0'),
('6518', '49', '-1', '1', '0'),
('2288', '1861', '-1', '1', '0'),
('6018', '2795', '-1', '1', '0'),
('6776', '3531', '-1', '1', '0'),
('5897', '117', '-1', '1', '0'),
('6957', '21', '-1', '1', '0'),
('2319', '1649', '-1', '1', '0'),
('2325', '9', '-1', '1', '0'),
('6781', '3531', '-1', '1', '0'),
('5896', '3391', '-1', '1', '0'),
('6781', '68', '-1', '1', '0'),
('6324', '40', '-1', '1', '0'),
('6446', '68', '-1', '1', '0'),
('2362', '2309', '-1', '1', '0'),
('2363', '2309', '-1', '1', '0'),
('6891', '49', '-1', '1', '0'),
('6776', '68', '-1', '1', '0'),
('6082', '34', '-1', '1', '0'),
('2375', '477', '-1', '1', '0'),
('2384', '477', '-1', '1', '0'),
('2389', '2309', '-1', '1', '0'),
('6017', '70', '-1', '1', '0'),
('6313', '3494', '-1', '1', '0'),
('2424', '477', '-1', '1', '0'),
('2428', '477', '-1', '1', '0'),
('2432', '477', '-1', '1', '0'),
('6437', '3495', '-1', '1', '0'),
('6082', '2224', '-1', '1', '0'),
('6775', '68', '-1', '1', '0'),
('2476', '2224', '-1', '1', '0'),
('2485', '559', '-1', '1', '0'),
('2486', '13', '-1', '1', '0'),
('6315', '3494', '-1', '1', '0'),
('6774', '3531', '-1', '1', '0'),
('6324', '458', '-1', '1', '0'),
('2500', '2514', '-1', '1', '0'),
('6081', '1824', '-1', '1', '0'),
('2507', '477', '-1', '1', '0'),
('2517', '32', '-1', '1', '0'),
('2521', '32', '-1', '1', '0'),
('2527', '32', '-1', '1', '0'),
('2532', '32', '-1', '1', '0'),
('6770', '458', '-1', '1', '0'),
('2536', '2309', '-1', '1', '0'),
('2539', '16', '-1', '1', '0'),
('2541', '16', '-1', '1', '0'),
('2542', '16', '-1', '1', '0'),
('2545', '16', '-1', '1', '0'),
('2547', '2309', '-1', '1', '0'),
('6769', '458', '-1', '1', '0'),
('2558', '477', '-1', '1', '0'),
('2568', '16', '-1', '1', '0'),
('6315', '49', '-1', '1', '0'),
('6371', '6', '-1', '1', '0'),
('2585', '16', '-1', '1', '0'),
('6817', '174', '-1', '1', '0'),
('2603', '2309', '-1', '1', '0'),
('2607', '2309', '-1', '1', '0'),
('2609', '2309', '-1', '1', '0'),
('6080', '1824', '-1', '1', '0'),
('6064', '3373', '-1', '1', '0'),
('6500', '44', '-1', '1', '0'),
('2628', '690', '-1', '1', '0'),
('2630', '2309', '-1', '1', '0'),
('2632', '37', '-1', '1', '0'),
('6314', '49', '-1', '1', '0'),
('2645', '46', '-1', '1', '0'),
('2650', '16', '-1', '1', '0'),
('2669', '46', '-1', '1', '0'),
('6314', '3494', '-1', '1', '0'),
('2674', '21', '-1', '1', '0'),
('2677', '37', '-1', '1', '0'),
('2680', '2514', '-1', '1', '0'),
('2684', '2514', '-1', '1', '0'),
('2688', '2514', '-1', '1', '0'),
('2689', '2514', '-1', '1', '0'),
('2691', '37', '-1', '1', '0'),
('2709', '46', '-1', '1', '0'),
('2735', '46', '-1', '1', '0'),
('2763', '46', '-1', '1', '0'),
('6376', '1861', '-1', '1', '0'),
('6375', '12', '-1', '1', '0'),
('2842', '16', '-1', '1', '0'),
('2847', '21', '-1', '1', '0'),
('6374', '49', '-1', '1', '0'),
('6772', '2', '-1', '1', '0'),
('2862', '46', '-1', '1', '0'),
('6374', '529', '-1', '1', '0'),
('2877', '2309', '-1', '1', '0'),
('6772', '45', '-1', '1', '0'),
('2895', '2309', '-1', '1', '0'),
('2915', '46', '-1', '1', '0'),
('2917', '2224', '-1', '1', '0'),
('2918', '16', '-1', '1', '0'),
('2927', '458', '-1', '1', '0'),
('6521', '34', '-1', '1', '0'),
('2938', '46', '-1', '1', '0'),
('6521', '757', '-1', '1', '0'),
('2951', '13', '-1', '1', '0'),
('6016', '70', '-1', '1', '0'),
('6814', '2', '-1', '1', '0'),
('2993', '477', '-1', '1', '0'),
('6480', '3495', '-1', '1', '0'),
('3005', '458', '-1', '1', '0'),
('3019', '458', '-1', '1', '0'),
('3023', '458', '-1', '1', '0'),
('3028', '477', '-1', '1', '0'),
('3031', '16', '-1', '1', '0'),
('3039', '664', '-1', '1', '0'),
('3060', '16', '-1', '1', '0'),
('3081', '13', '-1', '1', '0'),
('3083', '16', '-1', '1', '0'),
('3086', '16', '-1', '1', '0'),
('6323', '68', '-1', '1', '0'),
('6520', '757', '-1', '1', '0'),
('6312', '3494', '-1', '1', '0'),
('6829', '757', '-1', '1', '0'),
('6495', '458', '-1', '1', '0'),
('3113', '16', '-1', '1', '0'),
('6857', '3', '-1', '1', '0'),
('6312', '49', '-1', '1', '0'),
('6520', '34', '-1', '1', '0'),
('3121', '16', '-1', '1', '0'),
('6805', '174', '-1', '1', '0'),
('6369', '68', '-1', '1', '0'),
('3156', '46', '-1', '1', '0'),
('6079', '3474', '-1', '1', '0'),
('6830', '3531', '-1', '1', '0'),
('6079', '1861', '-1', '1', '0'),
('3211', '51', '-1', '0', '0'),
('3213', '2710', '-1', '1', '0'),
('3226', '1861', '-1', '1', '0'),
('6078', '2224', '-1', '1', '0'),
('6771', '458', '-1', '1', '0'),
('6790', '2712', '-1', '1', '0'),
('6077', '3474', '-1', '1', '0'),
('6004', '9', '-1', '1', '0'),
('3248', '1861', '-1', '1', '0'),
('3254', '71', '-1', '1', '0'),
('3255', '37', '-1', '1', '0'),
('3257', '37', '-1', '1', '0'),
('3260', '477', '-1', '1', '0'),
('6003', '219', '-1', '1', '0'),
('3262', '46', '-1', '1', '0'),
('3263', '9', '-1', '1', '0'),
('3264', '664', '-1', '1', '0'),
('3265', '2514', '-1', '1', '0'),
('6437', '3495', '-1', '1', '0'),
('3267', '21', '-1', '1', '0'),
('3295', '2514', '-1', '1', '0'),
('3330', '2514', '-1', '1', '0'),
('3331', '458', '-1', '1', '0'),
('3356', '458', '-1', '1', '0'),
('6767', '757', '-1', '1', '0'),
('3396', '46', '-1', '1', '0'),
('6003', '3467', '-1', '1', '0'),
('6002', '191', '-1', '1', '0'),
('3415', '477', '-1', '1', '0'),
('6155', '1770', '-1', '1', '0'),
('6766', '3531', '-1', '1', '0'),
('6766', '757', '-1', '1', '0'),
('3460', '46', '-1', '1', '0'),
('3461', '1770', '-1', '1', '0'),
('3469', '477', '-1', '1', '0'),
('3470', '30', '-1', '1', '0'),
('3471', '37', '-1', '1', '0'),
('6857', '8', '-1', '1', '0'),
('3479', '2309', '-1', '1', '0'),
('3485', '2309', '-1', '1', '0'),
('3489', '16', '-1', '1', '0'),
('3498', '2309', '-1', '1', '0'),
('6765', '1861', '-1', '1', '0'),
('3519', '2309', '-1', '1', '0'),
('3521', '3122', '-1', '1', '0'),
('3540', '3108', '-1', '1', '0'),
('3553', '13', '-1', '1', '0'),
('3557', '13', '-1', '1', '0'),
('3559', '477', '-1', '1', '0'),
('3562', '3108', '-1', '1', '0'),
('3563', '13', '-1', '1', '0'),
('6310', '34', '-1', '1', '0'),
('6002', '70', '-1', '1', '0'),
('6001', '70', '-1', '1', '0'),
('3601', '2224', '-1', '1', '0'),
('3605', '2224', '-1', '1', '0'),
('3607', '3169', '-1', '1', '0'),
('3614', '2224', '-1', '1', '0'),
('3618', '3122', '-1', '1', '0'),
('3628', '3122', '-1', '1', '0'),
('3629', '1770', '-1', '1', '0'),
('6765', '2', '-1', '1', '0'),
('3634', '1861', '-1', '1', '0'),
('6764', '757', '-1', '1', '0'),
('6763', '3531', '-1', '1', '0'),
('6768', '757', '-1', '1', '0'),
('6763', '757', '-1', '1', '0'),
('3647', '1861', '-1', '1', '0'),
('3653', '3108', '-1', '1', '0'),
('6762', '2', '-1', '1', '0'),
('3679', '3122', '-1', '1', '0'),
('6762', '1861', '-1', '1', '0'),
('6761', '757', '-1', '1', '0'),
('3736', '3122', '-1', '1', '0'),
('6761', '3531', '-1', '1', '0'),
('3758', '1861', '-1', '1', '0'),
('6482', '2', '-1', '1', '0'),
('3780', '37', '-1', '1', '0'),
('6309', '5', '-1', '1', '0'),
('6760', '5', '-1', '1', '0'),
('6760', '16', '-1', '1', '0'),
('6759', '16', '-1', '1', '0'),
('6758', '757', '-1', '1', '0'),
('3828', '3108', '-1', '1', '0'),
('3829', '3108', '-1', '1', '0'),
('3833', '3108', '-1', '1', '0'),
('6757', '1861', '-1', '1', '0'),
('3842', '1861', '-1', '1', '0'),
('6757', '2', '-1', '1', '0'),
('3853', '458', '-1', '1', '0'),
('3856', '3108', '-1', '1', '0'),
('3858', '3108', '-1', '1', '0'),
('3875', '174', '-1', '1', '0'),
('3876', '37', '-1', '1', '0'),
('6756', '6', '-1', '1', '0'),
('3883', '458', '-1', '1', '0'),
('3889', '174', '-1', '1', '0'),
('3902', '3108', '-1', '1', '0'),
('3903', '3169', '-1', '1', '0'),
('3904', '1861', '-1', '1', '0'),
('6755', '3531', '-1', '1', '0'),
('3911', '9', '-1', '1', '0'),
('3914', '37', '-1', '1', '0'),
('3918', '9', '-1', '1', '0'),
('6755', '757', '-1', '1', '0'),
('3927', '1861', '-1', '1', '0'),
('3929', '1861', '-1', '1', '0'),
('6754', '5', '-1', '1', '0'),
('3935', '20', '-1', '1', '0'),
('3936', '3170', '-1', '1', '0'),
('3940', '1861', '-1', '1', '0'),
('3952', '3371', '-1', '1', '0'),
('3974', '37', '-1', '1', '0'),
('4003', '3108', '-1', '1', '0'),
('4010', '3108', '-1', '1', '0'),
('4015', '3108', '-1', '1', '0'),
('4042', '3122', '-1', '1', '0'),
('4055', '9', '-1', '1', '0'),
('6499', '8', '-1', '1', '0'),
('4058', '3170', '-1', '1', '0'),
('6001', '191', '-1', '1', '0'),
('4063', '2514', '-1', '1', '0'),
('4072', '2514', '-1', '1', '0'),
('6308', '3494', '-1', '1', '0'),
('4081', '9', '-1', '1', '0'),
('4087', '2514', '-1', '1', '0'),
('4093', '458', '-1', '1', '0'),
('4102', '3371', '-1', '1', '0'),
('4104', '3', '-1', '1', '0'),
('6698', '3531', '-1', '1', '0'),
('6246', '117', '-1', '1', '0'),
('4112', '3122', '-1', '1', '0'),
('4119', '458', '-1', '1', '0'),
('4120', '3', '-1', '1', '0'),
('6752', '757', '-1', '1', '0'),
('6382', '3122', '-1', '1', '0'),
('4128', '458', '-1', '1', '0'),
('4129', '3', '-1', '1', '0'),
('6177', '1861', '-1', '1', '0'),
('6752', '3531', '-1', '1', '0'),
('5901', '3', '-1', '1', '0'),
('4140', '3108', '-1', '1', '0'),
('6697', '3531', '-1', '1', '0'),
('6307', '1770', '-1', '1', '0'),
('4149', '3122', '-1', '1', '0'),
('6697', '3533', '-1', '1', '0'),
('6696', '3533', '-1', '1', '0'),
('6229', '1861', '-1', '1', '0'),
('4155', '3', '-1', '1', '0'),
('4157', '46', '-1', '1', '0'),
('6209', '1861', '-1', '1', '0'),
('4169', '46', '-1', '1', '0'),
('6493', '2', '-1', '1', '0'),
('4182', '3122', '-1', '1', '0'),
('5899', '3391', '-1', '1', '0'),
('4193', '3', '-1', '1', '0'),
('6497', '21', '-1', '1', '0'),
('4198', '46', '-1', '1', '0'),
('5895', '3391', '-1', '1', '0'),
('5895', '757', '-1', '1', '0'),
('6643', '6', '-1', '1', '0'),
('6696', '3531', '-1', '1', '0'),
('5969', '11', '-1', '1', '0'),
('4246', '46', '-1', '1', '0'),
('4255', '46', '-1', '1', '0'),
('6903', '40', '-1', '1', '0'),
('4271', '46', '-1', '1', '0'),
('6305', '49', '-1', '1', '0'),
('6000', '191', '-1', '1', '0'),
('4287', '3122', '-1', '1', '0'),
('4292', '458', '-1', '1', '0'),
('4296', '458', '-1', '1', '0'),
('4302', '46', '-1', '1', '0'),
('6695', '34', '-1', '1', '0');
Caused the error:

Duplicate entry '15-128' for key 1

It looks like my posts have converted but I cant log in to check anything else. says I dont exist.
Title: Re: [SMF Converter] phpBB3
Post by: iain sherriff on October 05, 2008, 06:52:45 AM
tried saying i had lost my password and it sent me an email as ,so i could log in but not as an admin.
realised why looking at the members list.
my admin username on the phpbb3 was part of a group, the converter had converted "registered users" but NOT the group. I was also registered as "admin" with the same e-mail address but that user did not have admin powers.

I have deleted the SMF now as i realised that some of the posts copied where in a closed forum [which was now public] but as i could not admin I couldnt change the permissions.

So when I try again I could change the members to all be in "registered users".

What do I do about the PM message above?

thanks
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on October 05, 2008, 08:01:28 AM
please try the attached version, the pm error should be fixed then.

you can use phpMyAdmin to restore  the missing admin access:

go to the SQL-Window in phpMyAdmin and execute the following query:

Code: [Select]
UPDATE smf_members SET ID_GROUP = 1 WHERE emailAddress = 'yourmail@example.com';
replace smf_ with your prefix and yourmail@example.com with your users mail address..
Title: Re: [SMF Converter] phpBB3
Post by: iain sherriff on October 05, 2008, 04:42:28 PM
thanks.
that all worked a treat in the end.

need to sort out theme and gallery now before  final transfer  :)

[still had to put all members in the main group................ is that normal? ]
Title: Re: [SMF Converter] phpBB3
Post by: tvon on October 07, 2008, 05:25:56 PM
Still - None of my users are being converted.  Everything seems to convert okay but no users are there.   Any help/ideas?
Title: Re: [SMF Converter] phpBB3
Post by: SleePy on October 09, 2008, 11:39:33 AM
sherriff,

There isn't a regular member group by default in SMF it is just assumed if you are not a guest you are a regular member at least.

tvon,
Did you get any errors during the conversion?

Title: Re: [SMF Converter] phpBB3
Post by: iain sherriff on October 14, 2008, 07:17:23 AM
sherriff,
There isn't a regular member group by default in SMF it is just assumed if you are not a guest you are a regular member at least.

Thats fine, thanks.
I just put everyone in the main group before converting and then created my new group and rearranged everyone after. No problem.
The conversion was flawless and very easy [once I had made a few practise attempts and had pointers from the most helpfull members here  :) ]

I have said this b4 but it's worth repeating.............. i cant beleive how easy SMF is to use after years of phpBB3  :D
Title: Re: [SMF Converter] phpBB3
Post by: Bulldog Stang on October 16, 2008, 06:57:28 AM
I am having this issue .... Any suggestions ???

Converting groups... Successful.
Converting members... Unsuccessful!
This query:

    SELECT ID_ATTACH, filename
    FROM `vtownracing`.phpbb2attachments;

Caused the error:

    Unknown column 'ID_ATTACH' in 'field list'
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on October 16, 2008, 07:18:40 AM
maybe you are using the wrong phpbbx_to_smf.sql.. is your phpbb an phpbb3 or phpbb2 ?
Title: Re: [SMF Converter] phpBB3
Post by: mobilewo on October 21, 2008, 03:10:23 AM
sir can you please help me I am convert phpbb3 to smf that success but some time page open show
Content Encoding Error (content_encoding_error)

Server response could not be decoded using encoding type returned by server.
This is typically caused by a Web Site presenting a content encoding header of one type, and then encoding the data differently.

For assistance, contact Customer Support. 
this message
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on October 21, 2008, 12:39:14 PM
Turn off compressed output in SMF, maybe this helps..
Title: Re: [SMF Converter] phpBB3
Post by: mobilewo on October 22, 2008, 01:55:03 AM
sir please tel me where can i find this because I am new in smf
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on October 22, 2008, 09:57:49 AM
Admin - Server-Settings - Feature-Configuratuin - Enable compressed output (disbable this checkbox)
Title: Re: [SMF Converter] phpBB3
Post by: 0413 on October 24, 2008, 02:18:23 PM
Ok, this may sound totally silly, but where do I install the login fix?

:)
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on October 24, 2008, 02:46:48 PM
Admin - Packages - Download .. at the bottom there is an upload field.. upload it and follow the instructions.
It's the same like installing modifications..
http://docs.simplemachines.org/index.php?topic=356.msg444#msg444
Title: Re: [SMF Converter] phpBB3
Post by: bmbr on October 26, 2008, 11:41:20 PM
Hi all, first off thanks for the mod!  I am very excited to be moving over to SMF.. it's been amazing so far.

However, I am having some problems migrating my users over... the accoutns come over fine, but the passwords are not working as expected.  I applied the login fix mod, but that also didn't seem to solve it for me, and I think I know why:

Code: [Select]
    // Range of characters allowed.
    $range = './0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz';

I allow (and encourage the use of) special characters (!@#$%^&*(/.,>?<, etc) in my passwords and I think that range line is killing my efforts.  Has anyone else run into this issue? 

Oh, and I couldn't seem to find where to set my SMF to UTF-8.. got a pointer for me?

Thanks!
Title: Re: [SMF Converter] phpBB3
Post by: Cory94bailly on October 27, 2008, 06:59:54 PM
Does it remove the phpbb3 forum?

Also, would it be possible to have them setup in different mysql databases? (ex. I convert it fine but I want to then move it to a different database)?
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on October 27, 2008, 07:03:41 PM
the converter doesn't modify or delete your phpbb3 .. it's only like a snapshot from your phpbb3 database which is imported into SMF.. SMF and phpbb3 can be in different databases but the MySQL-User for both must be the same (because the converter needs read-access to the phpbb3 database)
Title: Re: [SMF Converter] phpBB3
Post by: bmbr on October 28, 2008, 01:03:58 AM
Hi all, first off thanks for the mod!  I am very excited to be moving over to SMF.. it's been amazing so far.

However, I am having some problems migrating my users over... the accoutns come over fine, but the passwords are not working as expected.  I applied the login fix mod, but that also didn't seem to solve it for me, and I think I know why:

Code: [Select]
    // Range of characters allowed.
    $range = './0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz';

I allow (and encourage the use of) special characters (!@#$%^&*(/.,>?<, etc) in my passwords and I think that range line is killing my efforts.  Has anyone else run into this issue? 

Oh, and I couldn't seem to find where to set my SMF to UTF-8.. got a pointer for me?

Thanks!

I did find the answer to my UTF-8 question (Forums maintenance, convert to utf-8) but that has not solved my problem.. I've tried updating the $range variable to include the extra characters in my password, but that didn't seem to work either.  Am I missing something simple here?
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on October 28, 2008, 01:53:43 PM
Maybe it's a problem because phpbb3 tables/table-fields have utf-8 collation and your SMF was installed in a non UTF-8 database collation (latin1 or other).. the encrypted passwords then will be encoded to UTF-8 strings and are no longer readable .. (I'm not sure but I think the passwords are also UTF-8 encoded while converting them to SMF)..
Can you re-run the conversion or is your SMF productive now? If the source-forum (phpbb3) is installed in UTF-8 tables you should install SMF also in UTf-8 tables.. both forums should have the same collation
Title: Re: [SMF Converter] phpBB3
Post by: zakwan on November 19, 2008, 09:00:50 PM
hello..
i have problem converting my old phpbb to SMF
it give me error after pressing "continue" at convert.php..

Code: [Select]
Sorry, the database connection information used in the specified installation of SMF cannot access the installation of phpBB3. This may either mean that the installation doesn't exist, or that the MySQL account used does not have permissions to access it.

The error MySQL gave was: SELECT command denied to user 'l3enzacor_smf1'@'localhost' for table 'phpbb_users'

Edit : Nvm solved..
but the weird thing is why all the users cant login?
its say wrong password? ==
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on November 20, 2008, 01:43:08 AM
phpbb3 uses a different password encryption for their passwords. You must install the phpbb3_login_fix.tgz or modify the Sources/LogInOut.php
http://www.simplemachines.org/community/index.php?topic=218449.msg1394352#msg1394352
Title: Re: [SMF Converter] phpBB3
Post by: zakwan on November 20, 2008, 09:30:38 AM
ok thanks..
solved my problem now..
ok after that it show me this error..

The converter detected that your host has open_basedir enabled on this server. Please ask your host to disable this setting or try moving the contents of your phpBB3 to the public html folder of your site.
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on November 20, 2008, 11:13:21 AM
are you sure the pathes to both forums are right? both forums must be in the path inside your home-directory.. If you are not sure post a link to both forums (or PM me)..
Title: Re: [SMF Converter] phpBB3
Post by: zakwan on November 20, 2008, 07:57:06 PM
thanks..all works fine now..
i have done converting my phpbb to SMF!! Thank yo soo much..

but my admin account gone?
hows that?
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on November 21, 2008, 01:28:23 AM
Is the user not converted (maybe it's a difference between memberName and realName) or is the admin permission missing?

I accidentally deleted my admin account, what do I do? (http://docs.simplemachines.org/index.php?topic=466)
Title: Re: [SMF Converter] phpBB3
Post by: zakwan on November 22, 2008, 10:17:32 AM
that solved..
thanks man..
ur the best..
Title: Re: [SMF Converter] phpBB3
Post by: andr84 on November 26, 2008, 11:15:22 AM
Good job, JayBachatero!
It's really very important to me. I'll use this in my work
Title: Re: [SMF Converter] phpBB3
Post by: depablo on November 28, 2008, 04:58:19 AM
Just converted a phpbb3 forum (version 3.0.3.)
 
Couple of hickups was smiley links (don't show):
<!-- s:mrgreen: --><img src="{SMILIES_PATH}/icon_mrgreen.gif" alt=":mrgreen:" title="Mr. Green" /><!-- s:mrgreen: -->
 
The smiles are different from SMF version anyway so may just need uploaded?
 
If you click on the thumbnails links to photobucket dont work as there are numbers added to the end of the url after conversion.
 
also a couple of utube url's which did not convert as this was a modded phpbb board (deleted these)
 
Installed the password mod and it worked perfectly.
Apart from the above it was smooth, installed SMF 1.1.7 and now updated to latest beta of smf and looking good.
 
Easiest converter I used
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on November 28, 2008, 08:17:53 AM
for the smileys this could help:
http://www.simplemachines.org/community/index.php?topic=218449.msg1676430#msg1676430
don't know whats going wrong withe the thumbnails to photobucket and youtube urls..
can you post examples? i would like to try it myself (maybe I found that bug and can solve this for future use)
Title: Re: [SMF Converter] phpBB3
Post by: depablo on November 28, 2008, 10:28:08 AM
Here is a link, also the text color failed to convert. The board is hardly used and I am in the process of changing the posts to suit SMF.
 
http://transportandlogistics.co.uk/community/index.php?topic=38.0 (http://transportandlogistics.co.uk/community/index.php?topic=38.0)
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on November 28, 2008, 12:27:11 PM
this could help, but it's hard work:
http://www.simplemachines.org/community/index.php?topic=218449.msg1695594#msg1695594
Title: Re: [SMF Converter] phpBB3
Post by: depablo on November 28, 2008, 03:19:38 PM
TE
 
Thanks for the help, I think I will tidy it up manually as there is not much content to change, plus take the time to read through this thread.
 
Title: Re: [SMF Converter] phpBB3
Post by: legoracer on December 07, 2008, 09:17:55 PM
You guys rock!! I have now taken both my forums from PHPBB3 to SMF now!! I'm a complete moron when it comes to this programing stuff and this was a lot easier than what I thought it was going to be!!!
Title: Re: [SMF Converter] phpBB3
Post by: Hawkster on January 18, 2009, 09:52:16 AM
Hi folks!
New guy in these forums (I guess that's obvious  ;D).

After installing SMF for a client I found I like it a lot better than phpBB3, so I'm considering converting 2 of my forums to SMF 1.1.7.

I have set up a test forum for the purpose of finding any glitches that may arise so it's no problem uninstalling that board and starting from scratch. I've also installed a test phpBB3 board under the same domain name.
I installed some BBCode mods I've used on one live phpBB board to see how the conversion handles them. I also installed some custom smilies.

Before I begin I wanted to post here to make sure I understand the conversion process. I've read the pages on converting to SMF and I've read every post in this thread.
Here's my understanding of the process, with some notes pertinent to my SMF installation.


I'm assuming the most recent files are the ones available in the first post in this thread.

I understand I may have to do some edits after the conversion for the smilies and it's possible the BBCode mods may not work.

Have I missed anything?

Hawk
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on January 18, 2009, 10:04:31 AM
looks good at all, but don't forget: the MySQL user from SMF must also have read access to the phpBB database or our converter won't work..
Title: Re: [SMF Converter] phpBB3
Post by: Hawkster on January 18, 2009, 10:24:31 AM
Thanks for your reply TC.

I'm not sure if it's going to work in different databases, but according to the server tech it should as long as I have the right info for the converter.
If worse comes to worse I can install into the same database and if all is successful I can then clean up the database of all the unneeded phpBB stuff.

I'm sure I'll run into an issue or two that will bring me back here with questions, but if not I'll post back with my successful conversion report, and a big applause for the SMF and converter team.
Title: Re: [SMF Converter] phpBB3
Post by: Hawkster on January 18, 2009, 11:02:50 AM
Well, right off the bat I ran into a situation.

In package Manager, when trying to run the phpBB3_Login_Fix I get this:

Quote
Some of the files the package manager needs to modify are not writable. This needs to be changed by logging into FTP and using it to chmod or create the files and folders. Your FTP information may be temporarily cached for proper operation of the package manager.

I guess I missed that in these posts. What do I have to CHMOD to fix this?
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on January 18, 2009, 11:18:51 AM
the easy way: change your entire SMF directory (incl. all files and subfolders) to CHMOD 777.

At least you must change the Sources/LogInOut.php (this file will be modified from the LoginFix)
Title: Re: [SMF Converter] phpBB3
Post by: Hawkster on January 18, 2009, 11:25:53 AM
Thanks TE.

Should I change it back to 755 afterwards (I think that's what it's set at now)?
Wouldn't that be a security issue leaving it at 777?
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on January 18, 2009, 11:33:18 AM
no panic ;) check this topic:
http://www.simplemachines.org/community/index.php?topic=2987.0
Title: Re: [SMF Converter] phpBB3
Post by: Hawkster on January 18, 2009, 11:46:38 AM
Thanks TE. I'll give it a try, but I think I'll just make the LogInOut file 777 and see how that goes.

I did read the first post in the link, but I'm a bit anal about security.

Edit 1: I forgot, you can't post images in-line with SMF. I'm used to being able to do that with phpBB. That laughing guy should be at the end of the above sentence.
Shame you can't post images in-line. One advantage phpBB has over SMF.  :(

Edit 2: That did the trick. Thanks a bunch.  :)
Title: Re: [SMF Converter] phpBB3
Post by: Hawkster on January 18, 2009, 12:05:22 PM
Well, I guess the server tech was wrong. I tried separate databases and got this:

Quote
Sorry, the database connection information used in the specified installation of SMF cannot access the installation of phpBB3. This may either mean that the installation doesn't exist, or that the MySQL account used does not have permissions to access it.

I guess I'll go back and try installing in the same database.
Title: Re: [SMF Converter] phpBB3
Post by: Hawkster on January 19, 2009, 08:39:41 AM
Just an update!

After installing SMF into the same database as phpBB, the conversion was a success, other than the attached images posted in-line on the phpBB board and the custom smilies. This is going to be a real problem on my large live board. It has over 15,000 posts and a lot of them have image attachments. I may have to forget about converting it just because of the image issue.  :(
The images are there but I end up with the unnecessary code in the post for the old in-line setting as mentioned in previous posts in this thread.

I haven't tried to add the custom smilies to the SMF board yet. That will be my next task.

As I mentioned, this was a simple test set up. I'll try it next on my small live board.

Thanks for the great work on this conversion.  ;D

Edit 1: I did get the following in the error logs. There's over 1,000 of these, all pointing to the same thing, just different lines.
I'm assuming these are somewhat irrelevant and can be deleted?

Quote
http://xxxxxxxx.com/forum/index.php?action=packages;sa=install2;package=phpBB3_Login_Fix.tgz

2: gzclose(): supplied argument is not a valid stream resource
File: /home/xxxxx/domains/xxxxxxxxxx.com/public_html/forum/Sources/Subs-Package.php
Line: 2105
Title: Re: [SMF Converter] phpBB3
Post by: tailender1 on January 21, 2009, 03:11:49 AM
HI guys,
             I have installed phpbb3 first and now i have installed SMF on my site. They are in different databases. I am unable to convert phpbb to smf (copying posts etc..).

SMF --> http://www.umaianime.com/smf
PHPBB --> http://www.umaianime.com/forums
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on January 21, 2009, 06:40:38 AM
different database is possible, but the MySQL user for both databases must be the same (username & password)..
Title: Re: [SMF Converter] phpBB3
Post by: netbuddy on January 23, 2009, 07:28:48 AM
OK, nut shell...

PHPBB3.0.1 -> SMF1.1.7

Boards prefix with unique tag, phpbb3_ and smf_

Question: -
1) to convert to smf_ tables both sets of tables must be in same database?
2) when converted, can I set permissions or are they imported or can this be stripped out?
3) the PHPBB3 board I currently have has some permission issues... SO !!! Will converting to SMF tables, will the permissions be translated in to the new tables as well?

Thanks.

The problem with PHPBB3??? see attached image... AND I am the Admin, cant post in my own board after promoting members to admins!!! WTF!!!
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on January 23, 2009, 08:17:27 AM
1) no, but when using different databases the MySQL User from SMF must be allowed to read the phpBB Database.
2) + 3) the converter does not convert permissions :)

from the first post of this topic:
Quote
Does Not Convert
Permissions (This might not be supported at all so please check permissions before making the board live.  Everything will be admin only for board access.)
Redirection Boards (I want to add support for the redirection boards mod.)
Avatars
Profile Fields (I want to look into this and see if I can make them SMF compatible.  You would just need to make the template changes.)
Basic Settings (Convert some of the basic forum settings. (site name, max post length, etc)
Smileys
Title: Re: [SMF Converter] phpBB3
Post by: netbuddy on January 23, 2009, 08:21:50 AM
Thx.
Title: Re: [SMF Converter] phpBB3
Post by: Bruno36 on January 28, 2009, 03:25:55 AM
Bonjour!

La conversion n'est pas complète
Quote
Converting...
Converting ranks... Successful.
Converting groups... Successful.
Converting members... Successful.
Converting additional member groups... Successful.
Preparing for categories conversion... Successful.
Converting categories... Successful.
Converting boards... Successful.
Fixing categories... Successful.
Converting topics... Successful.
Converting posts... Incomplete.

PHPBB3
http://www.scooter-chinois-4t.com/impossible-depasser-70km-t9293.html

Apres conversion
http://site.scooter-chinois-4t.com/qingqi-v-clic-50cc-4t/impossible-de-depasser-70kmh/

Il me manque la moitié des messages  :-\
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on January 28, 2009, 04:34:31 AM
Brun36,
sorry but our Converters board is english only (I like frensh but I'm unable to read or speak it), if you need help in your native language:
http://www.simplemachines.org/community/index.php?board=14.0
Title: Re: [SMF Converter] phpBB3
Post by: eclipsenow on February 01, 2009, 02:12:23 AM
I'm going to install beta 4 and try and convert to that.  :o
Title: Re: [SMF Converter] phpBB3
Post by: FishPants on February 08, 2009, 09:38:17 AM
I've been testing this, and it works to a point then starts crapping out with a message:

Quote
Caused the error:

    Duplicate entry '532915' for key 1


Of course before this is a whole thread of text from the "offending" messages.  I've tried deleting the thread and continuing with the convert (Delete in PHPBB3's database), and it just halts again with the same error on the next thread.. I've reproduced this a number of times and it really seems to get stuck around the 500,000 mark.. Is there a limitation somewhere in the script, php or some other variable that I am missing?

Another question too.. Is there a way to execute this conversion script via the CLI in linux? I appreciate the "slow don't affect other things on the server", but on my test server I'm not worried about that and would like to launch it via a shell in the background to let it convert as fast as possible (especially when troubleshooting this).

I'm using your 1.1.8 converter, with PHPBB3 3.0.2 going to SMF 1.1.7.  Linux base, MySQL and so on; and like I said earlier it works fantastic until that point.. Then oh oh das poopies!
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on February 08, 2009, 12:19:36 PM
FishPants,

for the duplicates edit the phpbb3_to_smf.sql and find:

Code: [Select]
---* {$to_prefix}messages 200
---{
and replace it with

Code: [Select]
---* {$to_prefix}messages 200
---{
$ignore = true;

the build-in CLI interface:

Quote
SMF Command-line Converter
Usage: /path/to/php -f /path/to/smf/convert.php -- [OPTION]...

    --path_to               Path to SMF (/path/to/smf).
    --path_from             Path to the software that you are converting from.
    --convert_script        The name of the script. (old_forum_to_smf.sql)
    --db_pass               SMF database password. "The MySQL password (for verification only.)"
    --debug                 Output debugging information.
Title: Re: [SMF Converter] phpBB3
Post by: justme08 on February 08, 2009, 01:07:13 PM
different database is possible, but the MySQL user for both databases must be the same (username & password)..

I've been trying this converter but its been giving me headaches and I think my problem is that I have different databases for both, one being http://www.mysite.co.uk/forum and the other http://www.mysite.co.uk/smf
How do I make the MySQL user have the same username & password??   :o ???
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on February 08, 2009, 01:29:21 PM
Do you use cPanel? then check Common conversion errors. (http://www.simplemachines.org/community/index.php?topic=146192.0)
Title: Re: [SMF Converter] phpBB3
Post by: justme08 on February 08, 2009, 01:30:20 PM
Urmm no I don't use cpanel..
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on February 08, 2009, 01:36:09 PM
Urmm no I don't use cpanel..
no problem, other control panels often allow to change the permissions for the MySQL user. check the manuals.
last but not least you can install SMF in the same database as phpBB was installed. SMF uses a different table prefix (smf_ by default) and will not affect your phpBB in any way.
Title: Re: [SMF Converter] phpBB3
Post by: justme08 on February 08, 2009, 01:38:12 PM
Thanks I think ill try to re-install SMF in the same database as phpBB - if I get stuck I may be back lol :) thankyou anyway.
Title: Re: [SMF Converter] phpBB3
Post by: justme08 on February 09, 2009, 08:10:40 AM
Ok, I'm back... lol how do I Install SMF in the same database as my phpbb? I uploaded all my SMF files to a new folder on my website but when I goto www.mysite.co.uk/forums/install.php it comes up with the install page but when I try to add all my phpbb database username etc it comes up with a error saying it doesn't exsist or something :(
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on February 09, 2009, 08:12:41 AM
maybe a typo or the wrong database name? you can check this values in the phpBB file "config.php".
Title: Re: [SMF Converter] phpBB3
Post by: DakOon on February 09, 2009, 08:20:21 AM
Thank you!
Title: Re: [SMF Converter] phpBB3
Post by: justme08 on February 09, 2009, 08:26:06 AM
maybe a typo or the wrong database name? you can check this values in the phpBB file "config.php".

excellent, thankyou that worked :D I think it must've been a typo  ;D

have now converted with success, thankyou so much for your help!!  :D
Title: Re: [SMF Converter] phpBB3
Post by: eclipsenow on February 15, 2009, 03:08:44 AM
Is this the thread for phpbb3 to RC1 conversion threads?
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on February 15, 2009, 03:18:45 AM
no, our converters are for SMF 1.1.x only at this time. Converters for 2.0 are still in developement.
Title: Re: [SMF Converter] phpBB3
Post by: Antechinus on February 15, 2009, 03:28:31 AM
Any problems going phpBB3 to 1.1.8 and then to RC1?
Title: Re: [SMF Converter] phpBB3
Post by: eclipsenow on February 15, 2009, 03:36:06 AM
Yes, it means that I have to go from phpBB3 to 1.1.8 and then to RC1.  :-[
Title: Re: [SMF Converter] phpBB3
Post by: Antechinus on February 15, 2009, 03:39:26 AM
Which will add maybe ten minutes to the whole thing. :D
Title: Re: [SMF Converter] phpBB3
Post by: easyrider77 on February 23, 2009, 07:53:48 PM
Hi there to all,

I start to admin a phpBB forum, and i try convert it to SMF forum.


The forum run in Dedicated  Server/ windows Plesk panel 8.6, and i handle it through FTP, windows remote desktop, Plesk panel.


The current forum (phpBB3) run in this directory

C:\inetpub\vhosts\myforumgr.com\httpdocs\phpBB_forum_files

I delete the phpBB portal and i shall delete (the only) youtube mod.


I create new folder (www) and upload the smf_1-1-8_install files, to this directory through FTP manager.

C:\inetpub\vhosts\myforumgr.com\www\SMF_forum_files



So, if i instal the smf forum and convert the phpBB in this (above) directory, may by conlict or affect with the current (phpBB) forum..?


Is possible to see/test if the new (after convert) smf forum work as it should and if so,
change the path's(..?) to put it online..?

To start convert, default language must by english in the phpBB forum..?


Best Regards,
Demetris
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on February 24, 2009, 02:31:14 AM
yes, you can test the conversion without issues. both forums are in different directories and use a different table_prefix for their database tables. There is no conflict between SMF and phpBB. the conversion is like a snapshot from your phpBB, you can test SMF and, if you like it, convert your phpBB again after a few days. the converter doesn't change any data from your phpBB.

[Converting to SMF (http://docs.simplemachines.org/index.php?board=4.0;sort=subject)
Title: Re: [SMF Converter] phpBB3
Post by: easyrider77 on February 24, 2009, 05:45:02 AM
Ok TE, thank you.. and sorry for the double post. 


To test it, is possible how..?

For example, if i type to browser:
Code: [Select]
http://myforumgr.com\www\SMF_forum_files or index.php

You think is the right way, or i have to change some other settings..?

Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on February 24, 2009, 06:29:15 AM
is this the path to SMF? http://myforumgr.com/www/SMF_forum_files/
then place convert.php and phpbb3_to_smf.sql in that folder and run: http://myforumgr.com/www/SMF_forum_files/convert.php
Title: Re: [SMF Converter] phpBB3
Post by: easyrider77 on February 24, 2009, 07:37:25 AM
Yes,  i read about, and i was do it successful in offline demo sites ( WAMPserver, phpBB 3 , SMF 1.1.8 ).

I mean when i convert it, and go to test if the login's work, if the convert was successful..etc..

And i must to tern the SMF before the convert from html => utf=8, also add the phpBB3_Login_Fix.tgz mod , right?

I read about LogInOut.php i have use it also..? 



Title: Re: [SMF Converter] phpBB3
Post by: Neverhurry on February 24, 2009, 11:18:08 AM
Hello, after the convert i can't log in as a admin. Please help! THank you!
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on February 25, 2009, 01:54:01 AM
you can reset your passwort with the "forgotten password" link from SMF.
Another solution with phpMyAdmin:
I accidentally deleted my admin account, what do I do? (http://docs.simplemachines.org/index.php?topic=466)

For the passwords. Check the first post from this topic, you must edit the Sources/LogInOut.php or install the phpBB3_login_fix.tgz via Package Manager (http://docs.simplemachines.org/index.php?board=49.0;sort=subject)
Title: Re: [SMF Converter] phpBB3
Post by: Neverhurry on February 25, 2009, 03:48:42 PM
you can reset your passwort with the "forgotten password" link from SMF.
Another solution with phpMyAdmin:
I accidentally deleted my admin account, what do I do? (http://docs.simplemachines.org/index.php?topic=466)

For the passwords. Check the first post from this topic, you must edit the Sources/LogInOut.php or install the phpBB3_login_fix.tgz via Package Manager (http://docs.simplemachines.org/index.php?board=49.0;sort=subject)

Thank you. I fixed with myphpamin. Other ways didn't work. I apologize for the repeated posts.
Title: Re: [SMF Converter] phpBB3
Post by: easyrider77 on March 05, 2009, 10:50:09 AM
Hi there,

After successful convert from phpBB, i can't  access to  avatars or attachments folder when i try to upload image or avatar from my PC.


I convert offline the forum with XAMPP.


I do something wrong..?  :-\





Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on March 05, 2009, 01:16:19 PM
when transfering your forum from offline to online you must modify the pathes to avatars, smileys etc.. repair_settings.php should help you:
What is repair_settings.php? (http://docs.simplemachines.org/index.php?topic=663)
Title: Re: [SMF Converter] phpBB3
Post by: easyrider77 on March 05, 2009, 03:31:29 PM
Hi TE, thanks for your reply.

It works..!!  :)

Reset  all the critical paths to the right position, great tool..!!  thank you.

For avatars work ok, but when i try to upload picture from pc, i get this error..

Any idea  about..?

The file i try upload is 450x90 px 3,53 KB gif..!!
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on March 06, 2009, 02:57:30 AM
1) make sure the avatars /attachments folder is writeable ( CHMOD 777)
How do I chmod? / what is chmod? (http://docs.simplemachines.org/index.php?topic=477)
2) go to Admin - Attachments and Avatars - Max attachment folder space:     -->> increase the value to a higher size.
Title: Re: [SMF Converter] phpBB3
Post by: easyrider77 on March 06, 2009, 06:22:06 AM
Was the max attachment folder space.. i change it to bigger  value and work perfect..! thanks TE..!!  :)


There is some script  to correct the attachments paths or/and, the bbcode size posts..?

Because after conversion, both attachments not open as fotos or files, and all the words/posts where was in size bbcode, apear in 99px size.. i mean real huge..!!  >:(

Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on March 06, 2009, 01:00:29 PM
I'm not sure about your issue.. can you post a link to an affected post on your forum?
Title: Re: [SMF Converter] phpBB3
Post by: easyrider77 on March 06, 2009, 05:13:48 PM
Some  off them, from about 11 pages with "99px" key Search Results..

Code: [Select]
http://www.adultforumgr.com/index.php?topic=3069.msg64043#msg64043
http://www.adultforumgr.com/index.php?topic=3025.0
http://www.adultforumgr.com/index.php?topic=2992.0
http://www.adultforumgr.com/index.php?topic=3180.0
http://www.adultforumgr.com/index.php?topic=2951.0
http://www.adultforumgr.com/index.php?topic=3226.0
http://www.adultforumgr.com/index.php?topic=1219.0
http://www.adultforumgr.com/index.php?topic=2817.0
http://www.adultforumgr.com/index.php?topic=2749.0
Title: Re: [SMF Converter] phpBB3
Post by: easyrider77 on March 07, 2009, 06:18:14 PM
I am not sure what you mean.. would you like to replace your old size tags in the database or only don't know, how to use size tag in SMF?

the size in SMF is used with pt or px as an attribute, the max. size is 99
Code: [Select]
[size=99pt]test[/size]
if you want to replace old BBCODEs in the messages table you can do it with the same solution posted above
example:
Code: [Select]
UPDATE smf_messages SET BODY = replace( BODY, 'size=200', 'size=99pt' )



Hey TE, i just so this post.. ! is possible to use the "same" command in phpmyadmin..?

All the post's with size bbcode looks like those after convert:

Code: [Select]
[size=99px][url]http://www.20q.net/[/url][/size]
[size=99px][b]Τι είναι ο χάκερ (hacker), πως «δουλεύει» [/b][/size]
[size=99px][b]Once Upon A Time In The West [/b][/size]
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on March 08, 2009, 03:05:56 AM
yes, that's exactly the solution, you must replace the size=99px with a smaller value (in my example 20pt)

Code: [Select]
UPDATE smf_messages SET BODY = replace( BODY, 'size=99px', 'size=20pt' )
Execute the query with phpMyAdmin.
Title: Re: [SMF Converter] phpBB3
Post by: easyrider77 on March 08, 2009, 10:22:42 AM
A big thank you my fried TE..! :) :) :)  it works fine..!
Title: Re: [SMF Converter] phpBB3
Post by: cut|throat on March 12, 2009, 01:36:02 AM
Worked perfect. Thanks allot.

Only thing is, now I need to convert to SMF 2.0....Is the a password fix for the 2.0 rc1?

Thanks. :D
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on March 12, 2009, 02:25:35 AM
the password fix is build-in in 2.0 RC1 ;)
Title: Re: [SMF Converter] phpBB3
Post by: Indrit on March 14, 2009, 10:37:10 PM
I did convert my forum and everything seems fine BUT, I can not LOGIN to my forum. I have read all over SMF forum that there is a issue about password while converting from phpbb3 to smf 1.1.8 and also there is a fix password file. I am not sure where to upload this file and what to do with it.   If I am not mistaken it is a .xml file

Please help?

Regards,
Indrit
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on March 15, 2009, 02:31:06 AM
th phpBB3_login_fix.tgz is attached to the first post from this topic. You can install it via Package Manager (http://docs.simplemachines.org/index.php?board=49.0;sort=subject) or manually change the Sources/LogInOut.php
Title: Re: [SMF Converter] phpBB3
Post by: InternetMafia on March 21, 2009, 08:25:45 PM
I installed the board and the board converted correctly with the exception of one problem.
 
I no longer have admin rights.
 
Is there a quick fix for this?
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on March 23, 2009, 03:43:32 PM
I accidentally deleted my admin account, what do I do? (http://docs.simplemachines.org/index.php?topic=466)
Title: Re: [SMF Converter] phpBB3
Post by: Joe N on March 23, 2009, 03:44:32 PM
Could you convert back to smf?

Joe
Title: Re: [SMF Converter] phpBB3
Post by: SleePy on March 24, 2009, 11:51:59 AM
Yes,

Just follow the instructions on the conversion page or the ones found on our doc site :)
Title: Re: [SMF Converter] phpBB3
Post by: Pame on March 24, 2009, 10:17:22 PM
Hi

Could you explain to me what happens ?

My phpBB Version is 3.0 from early 2008 & SMF 1.1.8

I'd installed this latest version from SMF & phpBB3 converter.php (uploaded with phpbb3_to_smf.sql file) but...
My error is...
Code: [Select]
Converting...
Converting ranks... Successful.
Converting groups... Successful.
Converting members... Unsuccessful!
This query:

    SELECT
    u.user_id AS ID_MEMBER, SUBSTRING(u.username, 1, 80) AS memberName,
    SUBSTRING(u.username, 1, 255) AS realName,
    SUBSTRING(u.user_password, 1, 64) AS passwd, u.user_lastvisit AS lastLogin,
    u.user_regdate AS dateRegistered,
    SUBSTRING(u.user_from, 1, 255) AS location,
    u.user_posts AS posts, IF(u.user_rank = 1, 1, IFNULL(mg.ID_GROUP, 0)) AS ID_GROUP,
    u.user_new_privmsg AS instantMessages,
    SUBSTRING(u.user_email, 1, 255) AS emailAddress,
    u.user_unread_privmsg AS unreadMessages,
    SUBSTRING(u.user_msnm, 1, 255) AS MSN,
    SUBSTRING(u.user_aim, 1, 16) AS AIM,
    SUBSTRING(u.user_icq, 1, 255) AS ICQ,
    SUBSTRING(u.user_yim, 1, 32) AS YIM,
    SUBSTRING(u.user_website, 1, 255) AS websiteTitle,
    SUBSTRING(u.user_website, 1, 255) AS websiteUrl,
    u.user_allow_viewonline AS showOnline, u.user_timezone AS timeOffset,
    IF(u.user_allow_viewemail = 1, 0, 1) AS hideEmail, u.user_avatar AS avatar,
    REPLACE(u.user_sig, '\n', '<br />') AS signature,
    u.user_sig_bbcode_uid AS signature_uid, u.user_avatar_type,
    u.user_notify_pm AS pm_email_notify,
    CASE u.user_inactive_reason WHEN 0 THEN 1 ELSE 0 END AS is_activated,
    '' AS lngfile, '' AS buddy_list, '' AS pm_ignore_list, '' AS messageLabels,
    '' AS personalText, '' AS timeFormat, '' AS usertitle, u.user_ip AS memberIP,
    '' AS secretQuestion, '' AS secretAnswer, '' AS validation_code,
    '' AS additionalGroups, '' AS smileySet, '' AS passwordSalt,
    u.user_ip AS memberIP2
    FROM `***`.phpbb_users AS u
    LEFT JOIN `***`.phpbb_ranks AS r ON (r.rank_id = u.user_rank AND r.rank_special = 1)
    LEFT JOIN `***`.smf_membergroups AS mg ON (mg.groupName = CONCAT('phpBB ', r.rank_title))
    WHERE u.group_id NOT IN (1, 6)
    GROUP BY u.user_id
    LIMIT 0, 500;

Caused the error:

    Unknown column 'u.user_id' in 'field list'


Sorry for my poor english really !

NB: php 4.4 - MySQL 5.0
Title: Re: [SMF Converter] phpBB3
Post by: SleePy on March 25, 2009, 01:16:04 PM
Does a phpbb_users table exist in your phpBB database?
Is there a column in there called user_id?
Title: Re: [SMF Converter] phpBB3
Post by: Pame on March 25, 2009, 06:14:56 PM
Yes!! You're right, now the SMF Converter do its work correctly ;-) thank you
Title: Re: [SMF Converter] phpBB3
Post by: edjon2000 on March 27, 2009, 06:49:26 AM
Hi all, sorry to bother you,

I have a question,

I recently converted my SMF 2.04b forum to phpBB3, not the wisest move I know, and would now like to convert back from phpBB3.

I did originally take a full forum backup in .sql, .sql.zip and .sql.gz formats just to make sure, but have been unable to re-import the files successfully.

So, with this in mind I started looking around for methods of converting my existing phpBB3 forum back to SMF.

From reading these posts it seems that the most reliable method would be to create a fresh install of SMF 1.1.8 and then convert the phpBB3 forum to that, (I can always upgrade SMF 1.1.8 to 2.0rc1 at a later date if necessary).

As I understand it I need to upload the convert.php file and the .sql file to my SMF forum root www.mydomain.com/forum and run convert.php, is this correct?

Also I need to upload the modified loginout file, do I do this after the conversion process or before.

All the tables are in the same database

Any help would be greatly appreciated
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on March 27, 2009, 06:58:42 AM
As I understand it I need to upload the convert.php file and the .sql file to my SMF forum root www.mydomain.com/forum and run convert.php, is this correct?
Yes, exactly.
first you login with admin permissions to SMF and install the phpbb3_login_fix.tgz via package manager. Then upload phpbb3_to_smf.sql and convert.php to your "forum" folder and run convert.php from your browser (www.yourdomain.com/forum/convert.php).
Title: Re: [SMF Converter] phpBB3
Post by: edjon2000 on March 30, 2009, 05:33:57 AM
Sorry for the late reply, thanks for that TE

I will make a start later on today and try it out, so far I have a clean install of SMF 1.1.8 up and running
Title: Re: [SMF Converter] phpBB3
Post by: t3v4 on March 30, 2009, 06:18:23 AM
I have question...
Is convert.php work for smf 2 beta4?
And can u give me phpbb3 password fix for my version of smf, cause my smf doesnt accept current version

thnx in advance...
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on March 30, 2009, 07:17:36 AM
no, sorry.. the current convert.php is for SMF 1.1.x only. 2.0 converters are still in developement, but you can convert to SMF 1.1.8, then upgrade to 2.0RC1

Upgrade SMF (http://docs.simplemachines.org/index.php?board=3.0;sort=subject)
Title: Re: [SMF Converter] phpBB3
Post by: edjon2000 on March 30, 2009, 03:34:41 PM
Yes, exactly.
first you login with admin permissions to SMF and install the phpbb3_login_fix.tgz via package manager. Then upload phpbb3_to_smf.sql and convert.php to your "forum" folder and run convert.php from your browser (www.yourdomain.com/forum/convert.php).

Hi again yes it seems to have worked mostly, all of the membergroups are prefixed with phpBB but thats a small price to pay, I can always change those

Thanks again for your help TE
Title: Re: [SMF Converter] phpBB3
Post by: Boosted on March 30, 2009, 08:05:34 PM
hi ^^
so...today i tried to convert my phpBB3 forum.
it all seemed to work, no errors.
but when i try to login i get this:
Code: [Select]
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, service@webmailer.de and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.
i did install the login fix before i converted.
im clueless...any idea?

i can view topics and everything...just not login   :-[

i installed the german language packet...could that be a problem?
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on March 31, 2009, 03:01:00 AM
Boosted,
the german language package isn't the problem, the script was aborted by the server.. do you have access to the server's error log?
Title: Re: [SMF Converter] phpBB3
Post by: Boosted on March 31, 2009, 06:17:38 AM
i dont think its on the webspace or? ^^
couldnt find anything like that on the hosters page either.
so i guess thats a no.
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on March 31, 2009, 08:39:50 AM
maybe you can convert your forum on a local installation (XAMPP or WAMP)?
- export your phpBB, import it on a local system, then convert it to SMF and upload the local SMF to your server..
Title: Re: [SMF Converter] phpBB3
Post by: Boosted on March 31, 2009, 09:33:16 AM
hmm, no idea how that works.
never done something like that before.
is there a tutorial somewhere for that (installing a forum locally..)

im on windows btw.
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on March 31, 2009, 10:33:22 AM
"Internal Server Error" is often a misconfigured php environment. is it a root server (do you have "Administrator" permissions) or is the site on shared hosting? without access to the webservers error log it's very hard to find the reason. maybe a memory limit or the script execution time, a misssing session_save_path etc.

installing XAMP is easy, a tutorial (also in german) for XAMPP is available at www.apachefriends.org
http://www.apachefriends.org/de/xampp-windows.html
Title: Re: [SMF Converter] phpBB3
Post by: Boosted on March 31, 2009, 11:49:30 AM
no not a root server, its a rented domain from strato.de
SMF worked fine before the conversation tho.
i will have a look at XAMP.
Title: Re: [SMF Converter] phpBB3
Post by: edjon2000 on March 31, 2009, 02:31:53 PM
One of the problems I have noticed that can cause a similar error certainly with my webhosts is if I set any directories to 777 this creates the same error and is resolved by changing the folder permissions to 755.

Just a thought
Title: Re: [SMF Converter] phpBB3
Post by: Boosted on March 31, 2009, 04:04:29 PM
so...ive done it all locally.
and it worked here...and...i can login..wtf?
ive done the same exact thing.
can i just use this install now and it will work? im clueless...
Title: Re: [SMF Converter] phpBB3
Post by: Boosted on March 31, 2009, 05:43:27 PM
so a friend gave me a heldping hand...apparently it has something to do with the passwords.
after changing them login is no longer a problem.
thanks anyway ^^
Title: Re: [SMF Converter] phpBB3
Post by: t3v4 on March 31, 2009, 06:00:47 PM
no, sorry.. the current convert.php is for SMF 1.1.x only. 2.0 converters are still in developement, but you can convert to SMF 1.1.8, then upgrade to 2.0RC1

Upgrade SMF (http://docs.simplemachines.org/index.php?board=3.0;sort=subject)

And plugins installed on 1.1.8, will remain or will be deleted?
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on April 01, 2009, 02:12:43 AM
t3v4, during an upgrade to a new major release (e.g. from 1.1.x to 2.0.x) all modifications will be erased. It's the same like installing a new SMF with your old content.
Title: Re: [SMF Converter] phpBB3
Post by: FishHeadThe3rd on April 15, 2009, 05:54:01 PM
Hey, great converter! ;D  I can't get passwords to work, though.  I don't really understand, I can't find LopgInLogOut.php or whatever and I also tried the mod thing in the attachment and neither way worked.  please help?
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on April 16, 2009, 01:22:29 AM
the file LogInOut.php is located in SMF "Sources" directory.
Title: Re: [SMF Converter] phpBB3
Post by: FishHeadThe3rd on April 16, 2009, 10:11:38 PM
Thanks!  It works now!
Title: Re: [SMF Converter] phpBB3
Post by: pingpongrob on April 19, 2009, 09:13:51 AM
Hi All,
I'm new to this forum, have had an installation of phpBB 3.0.RC1 for quite some time but have had problems with spam - So I though about giving this forum a go, it look good and seem to work well.

I've been asked by my forum members if it is possible to convert the old data over, so I tried the new converter, but got this error message.

Converting ranks... Unsuccessful!
This query:

    DELETE FROM `affordab_smf`.smf_membergroups
    WHERE groupName LIKE 'phpBB %';

Caused the error:

    Unknown column 'groupName' in 'where clause'

Can anybody please help me.
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on April 19, 2009, 01:08:57 PM
mhh, I'll bet you used SMF 2.0 RC1? Our converters are SMF 1.1.x only at this time. Install SMF 1.1.8, convert your phpBB and then upgrade your SMF 1.1.8 to 2.0 RC1
Upgrade SMF (http://docs.simplemachines.org/index.php?board=3.0;sort=subject)
Title: Re: [SMF Converter] phpBB3
Post by: pingpongrob on April 21, 2009, 08:32:48 AM
mhh, I'll bet you used SMF 2.0 RC1? Our converters are SMF 1.1.x only at this time. Install SMF 1.1.8, convert your phpBB and then upgrade your SMF 1.1.8 to 2.0 RC1
Upgrade SMF (http://docs.simplemachines.org/index.php?board=3.0;sort=subject)
Thanks, Tried to install version SMF 1.1.8, but to no avail.  here it is http://affordablett.com.au/forum2/install.php (http://affordablett.com.au/forum2/install.php)

also tried the webinstall, but that failed (I used the webinstall.php on the new version, and it worked a treat the first time, but this time it screwed everything up).

Not sure what to do next.  :-[
Title: Re: [SMF Converter] phpBB3
Post by: Jason kiDD on April 23, 2009, 12:50:29 PM
I am getting the following error after doing a phpbb3 convert to Smf 1.1.8... Any help would be appreciated..

Converting poll votes... Unsuccessful!
This query:

INSERT INTO `phatjamz_smf19`.smf_log_polls
(ID_POLL, ID_MEMBER, ID_CHOICE)
VALUES ('8723', '294', '2'),

BLAH BLAH BLAH, YADDA YADDA YADDA * ENTRIES

Caused the error:

    Duplicate entry '8723-294-2' for key 1
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on April 23, 2009, 12:54:44 PM
you must edit the phpbb3_to_smf.sql, find:
Code: [Select]
---* {$to_prefix}log_pollsreplace it with:
Code: [Select]
---* {$to_prefix}log_polls
---{
$ignore = true;
---}
then restart the conversion.
Title: Re: [SMF Converter] phpBB3
Post by: Jason kiDD on April 23, 2009, 02:28:53 PM
That seems to have done the trick. Thanks..
Title: Re: [SMF Converter] phpBB3
Post by: pingpongrob on April 24, 2009, 09:48:54 AM
Where can I find the Update from 1.1.8 to the New 2.0 RC1.
And if I upgrade, will I be stuck on that version, or will their eventually be an update to the final release.

Thanks in advance
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on April 24, 2009, 01:20:53 PM
http://download.simplemachines.org/ <<--- the large upgrade package from SMF 2.0 RC1.
upgrading to the final release will also be possible.
Title: Re: [SMF Converter] phpBB3
Post by: blindarkman on April 25, 2009, 03:14:55 PM
Would like to say thanks for your hard work on this. All went extremely well for me, only problem was had to modify my session.save_path while converting.
Title: Re: [SMF Converter] phpBB3
Post by: t3v4 on April 25, 2009, 04:28:13 PM
I again :( have problem...

When i convert, phpbb3 to smf... I cant administrate forum :(

What should i do?
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on April 26, 2009, 02:07:37 AM
I accidentally deleted my admin account, what do I do? (http://docs.simplemachines.org/index.php?topic=466)
Title: Re: [SMF Converter] phpBB3
Post by: neonProto on May 03, 2009, 08:24:58 AM
I have converted phpbb3 to smf118 successfuly today.
Only the smileys are not converted.
Is it possible to convert them to smiley icons too?

Thank you
Title: Re: [SMF Converter] phpBB3
Post by: essexgunner2003 on May 03, 2009, 11:05:26 AM
hmm looks like something i want to use, will give it a go later
Title: Re: [SMF Converter] phpBB3
Post by: edjon2000 on May 08, 2009, 04:12:31 PM
Hi again,

I am back, I have now decided to definitely replace PHPBB3 with SMF, I did it before and then upgraded SMF to 2.x rc but since then posts have been added to my old PHPBB3 forum so I need to do the conversion again I already have the convert.php and the phpbb3_to_smf.sql files but have lost the login fix file that needs to be installed via the SMF package manager please could you provide me with the link again, as an aside I am now running/testing Windows 7 RC so when I figure out how to set up a local install I will let you know how it works :)

Any advice and help will be always welcome :)

Jon
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on May 09, 2009, 04:24:40 AM
The Login_Fix is atached to the first post from this Topic.

I am back, I have now decided to definitely replace PHPBB3 with SMF..
You're Welcome :)
Title: Re: [SMF Converter] phpBB3
Post by: edjon2000 on May 09, 2009, 09:41:53 AM
Brilliant! thank you TE :) I knew it was in here somewhere
Title: Re: [SMF Converter] phpBB3
Post by: axishift on May 13, 2009, 02:50:17 AM
I got this error..

Quote
Recalculating forum statistics... Unsuccessful!
This query:

    UPDATE `mtp_community2`.smf_topics
    SET ID_FIRST_MSG = '',
    ID_MEMBER_STARTED = '0', ID_LAST_MSG = '',
    ID_MEMBER_UPDATED = '0', numReplies = '-1'
    WHERE ID_TOPIC = 23661
    LIMIT 1;

Caused the error:

    Duplicate entry '0-9' for key 2

The first error was related to polls, but I was able to fix that from the the query/post above.

Help.
Title: Re: [SMF Converter] phpBB3
Post by: baDibere on May 18, 2009, 02:33:50 PM
I got this error..

Quote
Recalculating forum statistics... Unsuccessful!
This query:

    UPDATE `mtp_community2`.smf_topics
    SET ID_FIRST_MSG = '',
    ID_MEMBER_STARTED = '0', ID_LAST_MSG = '',
    ID_MEMBER_UPDATED = '0', numReplies = '-1'
    WHERE ID_TOPIC = 23661
    LIMIT 1;

Caused the error:

    Duplicate entry '0-9' for key 2

The first error was related to polls, but I was able to fix that from the the query/post above.

Help.

I've same error too
Title: Re: [SMF Converter] phpBB3
Post by: master_of_jellyfish on May 23, 2009, 10:29:19 AM
[list] wich has typed [list:<randomtext>][/list:<randomtext][/list]
Title: Re: [SMF Converter] phpBB3
Post by: edjon2000 on May 23, 2009, 01:51:31 PM
Hi master_of_jellyfish,

I am not sure if this will prove helpful but here goes anyway

For the actual conversion I had to install a new version of SMF 1.1.8 and then run the conversion script on my new SMF 1.1.8 install as the conversion script only worked for SMF 1.1.8, I then upgraded to SMF 2.0rc1 and thankfully all of the posts were intact although there will be some additional work resetting all of the permissions, but it worked without problems

With regard to the problems with BBcode I have tried this on a test topic on my forum and have found that SMF handles lists slightly differently from phpBB3, so to reproduce your lists I have found that this works

Code: [Select]

[list]
[li]test 1[/li]
[li]test 2[/li]
[li]test 3[/li]
[li]test 4[/li]
[li]test 5[/li]
[/list]

I hope it works ok for you

Jon
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on May 23, 2009, 05:01:36 PM
master_of_jellyfish, please use the converter from our downloads page:
http://download.simplemachines.org/index.php?thanks;filename=smf_1-1-9_phpbb3_converter.zip
there was a layout change to the database between SMF 1.1.8 and 1.1.9. If your destination forum is SMF 1.1.9 the converter from this topic won't work.
Title: Re: [SMF Converter] phpBB3
Post by: GravuTrad on June 02, 2009, 09:43:36 AM
do we stil have to use the phpbb3 login fix file too? or not?
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on June 02, 2009, 01:20:29 PM
do we stil have to use the phpbb3 login fix file too? or not?
yes for 1.1.9 (SMF 2.0 RC1 is already "patched" by default)
Title: Re: [SMF Converter] phpBB3
Post by: .Vapor on June 02, 2009, 01:41:22 PM
Ok, here is my issue:

I installed smf 2.0 RC1 and wanted to go back to 1.1.9, and the only way to do that was to then convert to phpbb and then convert back to smf 1.1.9. But after my final convert....this is what i got:


Code: [Select]
Converting...
Converting ranks... Successful.
Converting groups... Successful.
Converting members... Successful.
Converting additional member groups... Successful.
Preparing for categories conversion... Successful.
Converting categories... Successful.
Converting boards... Successful.
Fixing categories... Successful.
Converting topics... Successful.
Converting posts... Successful.
Converting polls... Successful.
Converting poll options... Successful.
Converting poll votes... Successful.
Converting personal messages (step 1)... Successful.
Converting personal messages (step 2)... Successful.
Converting attachments...
Notice: getimagesize() [function.getimagesize]: Read error! in /home/xxxxx/public_html/convertsmf/convert.php(1097) : eval()'d code on line 34

Warning: copy() [function.copy]: The first argument to copy() function cannot be a directory in /home/xxxxx/public_html/convertsmf/convert.php(1097) : eval()'d code on line 36

Notice: getimagesize() [function.getimagesize]: Read error! in /home/xxxxx/public_html/convertsmf/convert.php(1097) : eval()'d code on line 34

Warning: copy() [function.copy]: The first argument to copy() function cannot be a directory in /home/xxxxx/public_html/convertsmf/convert.php(1097) : eval()'d code on line 36

Notice: getimagesize() [function.getimagesize]: Read error! in /home/xxxxx/public_html/convertsmf/convert.php(1097) : eval()'d code on line 34

Warning: copy() [function.copy]: The first argument to copy() function cannot be a directory in /home/xxxxx/public_html/convertsmf/convert.php(1097) : eval()'d code on line 36

Notice: getimagesize() [function.getimagesize]: Read error! in /home/xxxxx/public_html/convertsmf/convert.php(1097) : eval()'d code on line 34

Warning: copy() [function.copy]: The first argument to copy() function cannot be a directory in /home/xxxxx/public_html/convertsmf/convert.php(1097) : eval()'d code on line 36

Notice: getimagesize() [function.getimagesize]: Read error! in /home/xxxxx/public_html/convertsmf/convert.php(1097) : eval()'d code on line 34

Warning: copy() [function.copy]: The first argument to copy() function cannot be a directory in /home/xxxxx/public_html/convertsmf/convert.php(1097) : eval()'d code on line 36

Notice: getimagesize() [function.getimagesize]: Read error! in /home/xxxxx/public_html/convertsmf/convert.php(1097) : eval()'d code on line 34

Warning: copy() [function.copy]: The first argument to copy() function cannot be a directory in /home/xxxxx/public_html/convertsmf/convert.php(1097) : eval()'d code on line 36

Notice: getimagesize() [function.getimagesize]: Read error! in /home/xxxxx/public_html/convertsmf/convert.php(1097) : eval()'d code on line 34

Warning: copy() [function.copy]: The first argument to copy() function cannot be a directory in /home/xxxxx/public_html/convertsmf/convert.php(1097) : eval()'d code on line 36

Notice: getimagesize() [function.getimagesize]: Read error! in /home/xxxxx/public_html/convertsmf/convert.php(1097) : eval()'d code on line 34

Warning: copy() [function.copy]: The first argument to copy() function cannot be a directory in /home/xxxxx/public_html/convertsmf/convert.php(1097) : eval()'d code on line 36

Notice: getimagesize() [function.getimagesize]: Read error! in /home/xxxxx/public_html/convertsmf/convert.php(1097) : eval()'d code on line 34

Warning: copy() [function.copy]: The first argument to copy() function cannot be a directory in /home/xxxxx/public_html/convertsmf/convert.php(1097) : eval()'d code on line 36

Warning: copy() [function.copy]: The first argument to copy() function cannot be a directory in /home/xxxxx/public_html/convertsmf/convert.php(1097) : eval()'d code on line 36

Notice: getimagesize() [function.getimagesize]: Read error! in /home/xxxxx/public_html/convertsmf/convert.php(1097) : eval()'d code on line 34

Warning: copy() [function.copy]: The first argument to copy() function cannot be a directory in /home/xxxxx/public_html/convertsmf/convert.php(1097) : eval()'d code on line 36

Notice: getimagesize() [function.getimagesize]: Read error! in /home/xxxxx/public_html/convertsmf/convert.php(1097) : eval()'d code on line 34

Warning: copy() [function.copy]: The first argument to copy() function cannot be a directory in /home/xxxxx/public_html/convertsmf/convert.php(1097) : eval()'d code on line 36
Successful.
Recalculating forum statistics... Successful.
Conversion Complete

Things i have tried to fix it:

1. Ran the mysql query to add my admin name with admin permissions (successful)
But when i go to login on my smf board, it says my password is incorrect, which means i cannot add the phpbb password fix via the package manager.

Any help would be appreciated.
Title: Re: [SMF Converter] phpBB3
Post by: GravuTrad on June 02, 2009, 02:12:55 PM
do we stil have to use the phpbb3 login fix file too? or not?
yes for 1.1.9 (SMF 2.0 RC1 is already "patched" by default)

Thanks for the info
Title: Re: [SMF Converter] phpBB3
Post by: .Vapor on June 02, 2009, 02:38:21 PM
Ok, here is my issue:

I installed smf 2.0 RC1 and wanted to go back to 1.1.9, and the only way to do that was to then convert to phpbb and then convert back to smf 1.1.9. But after my final convert....this is what i got:


Code: [Select]
Converting...
Converting ranks... Successful.
Converting groups... Successful.
Converting members... Successful.
Converting additional member groups... Successful.
Preparing for categories conversion... Successful.
Converting categories... Successful.
Converting boards... Successful.
Fixing categories... Successful.
Converting topics... Successful.
Converting posts... Successful.
Converting polls... Successful.
Converting poll options... Successful.
Converting poll votes... Successful.
Converting personal messages (step 1)... Successful.
Converting personal messages (step 2)... Successful.
Converting attachments...
Notice: getimagesize() [function.getimagesize]: Read error! in /home/xxxxx/public_html/convertsmf/convert.php(1097) : eval()'d code on line 34

Warning: copy() [function.copy]: The first argument to copy() function cannot be a directory in /home/xxxxx/public_html/convertsmf/convert.php(1097) : eval()'d code on line 36

Notice: getimagesize() [function.getimagesize]: Read error! in /home/xxxxx/public_html/convertsmf/convert.php(1097) : eval()'d code on line 34

Warning: copy() [function.copy]: The first argument to copy() function cannot be a directory in /home/xxxxx/public_html/convertsmf/convert.php(1097) : eval()'d code on line 36

Notice: getimagesize() [function.getimagesize]: Read error! in /home/xxxxx/public_html/convertsmf/convert.php(1097) : eval()'d code on line 34

Warning: copy() [function.copy]: The first argument to copy() function cannot be a directory in /home/xxxxx/public_html/convertsmf/convert.php(1097) : eval()'d code on line 36

Notice: getimagesize() [function.getimagesize]: Read error! in /home/xxxxx/public_html/convertsmf/convert.php(1097) : eval()'d code on line 34

Warning: copy() [function.copy]: The first argument to copy() function cannot be a directory in /home/xxxxx/public_html/convertsmf/convert.php(1097) : eval()'d code on line 36

Notice: getimagesize() [function.getimagesize]: Read error! in /home/xxxxx/public_html/convertsmf/convert.php(1097) : eval()'d code on line 34

Warning: copy() [function.copy]: The first argument to copy() function cannot be a directory in /home/xxxxx/public_html/convertsmf/convert.php(1097) : eval()'d code on line 36

Notice: getimagesize() [function.getimagesize]: Read error! in /home/xxxxx/public_html/convertsmf/convert.php(1097) : eval()'d code on line 34

Warning: copy() [function.copy]: The first argument to copy() function cannot be a directory in /home/xxxxx/public_html/convertsmf/convert.php(1097) : eval()'d code on line 36

Notice: getimagesize() [function.getimagesize]: Read error! in /home/xxxxx/public_html/convertsmf/convert.php(1097) : eval()'d code on line 34

Warning: copy() [function.copy]: The first argument to copy() function cannot be a directory in /home/xxxxx/public_html/convertsmf/convert.php(1097) : eval()'d code on line 36

Notice: getimagesize() [function.getimagesize]: Read error! in /home/xxxxx/public_html/convertsmf/convert.php(1097) : eval()'d code on line 34

Warning: copy() [function.copy]: The first argument to copy() function cannot be a directory in /home/xxxxx/public_html/convertsmf/convert.php(1097) : eval()'d code on line 36

Notice: getimagesize() [function.getimagesize]: Read error! in /home/xxxxx/public_html/convertsmf/convert.php(1097) : eval()'d code on line 34

Warning: copy() [function.copy]: The first argument to copy() function cannot be a directory in /home/xxxxx/public_html/convertsmf/convert.php(1097) : eval()'d code on line 36

Warning: copy() [function.copy]: The first argument to copy() function cannot be a directory in /home/xxxxx/public_html/convertsmf/convert.php(1097) : eval()'d code on line 36

Notice: getimagesize() [function.getimagesize]: Read error! in /home/xxxxx/public_html/convertsmf/convert.php(1097) : eval()'d code on line 34

Warning: copy() [function.copy]: The first argument to copy() function cannot be a directory in /home/xxxxx/public_html/convertsmf/convert.php(1097) : eval()'d code on line 36

Notice: getimagesize() [function.getimagesize]: Read error! in /home/xxxxx/public_html/convertsmf/convert.php(1097) : eval()'d code on line 34

Warning: copy() [function.copy]: The first argument to copy() function cannot be a directory in /home/xxxxx/public_html/convertsmf/convert.php(1097) : eval()'d code on line 36
Successful.
Recalculating forum statistics... Successful.
Conversion Complete

Things i have tried to fix it:

1. Ran the mysql query to add my admin name with admin permissions (successful)
But when i go to login on my smf board, it says my password is incorrect, which means i cannot add the phpbb password fix via the package manager.

Any help would be appreciated.

FIXED....by altering the settings.php file and manually removing maintenance mode.
Title: Re: [SMF Converter] phpBB3
Post by: GravuTrad on June 04, 2009, 08:00:11 AM
do we stil have to use the phpbb3 login fix file too? or not?
yes for 1.1.9 (SMF 2.0 RC1 is already "patched" by default)

Thanks for the info

Conversion ok and done. fix applied. But no admins access possible....does the converter manage well this?
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on June 04, 2009, 11:55:07 AM
does the converter manage well this?

Usually the admin access is converted correctly, don't know whats going wrong..
I accidentally deleted my admin account, what do I do? (http://docs.simplemachines.org/index.php?topic=466)
Title: Re: [SMF Converter] phpBB3
Post by: GravuTrad on June 04, 2009, 09:10:46 PM
The accesses are marked in the PHPBB admins groups created by the converter, but the normal group of smf not include those....(for surely special accesses of phpbb)
Title: Re: [SMF Converter] phpBB3
Post by: GravuTrad on June 06, 2009, 06:52:34 AM
The accesses are marked in the PHPBB admins groups created by the converter, but the normal group of smf not include those....(for surely special accesses of phpbb)
No idea to what to do? I have to finish this conversion today, and i'm blocked here...
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on June 06, 2009, 07:25:54 AM
sorry, but I've lost all my converter test-systems (more than 60 databases from different forum systems) due to a harddrive crash recently. I need to setup at least a phpBB before I can help you in detail..

The only thing I remember: the boards are converted with "Local" permissions. If you prefer the global group-based permissions you need to switch the local board permissions back to global.
Title: Re: [SMF Converter] phpBB3
Post by: GravuTrad on June 06, 2009, 08:04:48 AM
sorry, but I've lost all my converter test-systems (more than 60 databases from different forum systems) due to a harddrive crash recently. I need to setup at least a phpBB before I can help you in detail..
Wow! very hard thing for you! (i do a online backup of each important thing for me cause this)

I saw this, but the problem is that in these local permissions, it seems that i'm no more in admin, while in phpbb i was technical admin. No more admin access in the new forum.
Do the permissions were no good in phpbb for the converter (like they were set)? Do i have to change something in our phpbb permissions to have the correct access? or do i have to change some things in the database after the conversion?
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on June 06, 2009, 08:25:55 AM
you can change ID_GROUP to 1 for a specific user (table smf_members -> use phpMyAdmin).. this user should have full admin privilegues, regardless of the local board permissions. Then you should be able to switch from local to global.
Title: Re: [SMF Converter] phpBB3
Post by: GravuTrad on June 06, 2009, 08:36:56 AM
Do i have to do it too for admins in the same situation like me?

Are the local board accesses kept too? (some users have them)
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on June 06, 2009, 01:59:19 PM
one should be enough (with phpMyAdmin).. Then you can fix the other issues via Admin Center. the phpBB2 Converter will  convert local board access (If I remember correctly) but I strongly recommend to check all permissions before disabling the maintenance mode..
Title: Re: [SMF Converter] phpBB3
Post by: GravuTrad on June 06, 2009, 08:20:14 PM
Noted. I hope to solve all this permissions problems. ;)
Title: Re: [SMF Converter] phpBB3
Post by: S.Nieves on June 08, 2009, 01:13:22 AM
Guys Im on phpbb3. I first started off on SMF, but tried out PHPBB3. After being on it for 2 months I am not happy with it.. I am bombarded with spam daily! And SMF was a whole lot easier to play with I believe. So how is this converter working for everyone? I skimmed through the 30 some pages, but thinking of making the jump sometime after finals.
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on June 08, 2009, 06:02:14 AM
Converting to SMF (http://docs.simplemachines.org/index.php?board=4.0;sort=subject)
Title: Re: [SMF Converter] phpBB3
Post by: Joe N on June 08, 2009, 01:35:13 PM
Hi. Has anyone done this?

Could I have a url of a site that has?
Title: Re: [SMF Converter] phpBB3
Post by: S.Nieves on June 09, 2009, 02:24:20 AM
Ok, Im halfway there.. I got the sql file in with the smf files, but where the heck is the convert.php file? every time i click on it it takes me to the same post. There is no download?
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on June 09, 2009, 02:35:10 AM
direct link: http://www.simplemachines.org/community/index.php?action=dlattach;topic=140741.0;attach=79452
Title: Re: [SMF Converter] phpBB3
Post by: S.Nieves on June 09, 2009, 02:41:16 AM
Converting ranks... Successful.
Converting groups... Unsuccessful!
This query:

    SELECT
    SUBSTRING(CONCAT('phpBB ', group_name), 1, 255) AS groupName,
    -1 AS minPosts, '' AS stars, '' AS onlineColor
    FROM `dogge2_phpBB`.phpbb_groups
    WHERE group_single_user = 0
    LIMIT 0, 500;

Caused the error:

    Unknown column 'group_single_user' in 'where clause'





What does it mean? Keep trying?? This is as far as I got...
Title: Re: [SMF Converter] phpBB3
Post by: S.Nieves on June 09, 2009, 02:59:04 AM
Converting ranks... Successful.
Converting groups... Successful.
Converting members... Successful.
Converting additional member groups... Successful.
Preparing for categories conversion... Successful.
Converting categories... Successful.
Converting boards... Successful.
Fixing categories... Successful.
Converting topics... Successful.
Converting posts... Successful.
Converting polls... Successful.
Converting poll options... Successful.
Converting poll votes... Successful.
Converting personal messages (step 1)... Successful.
Converting personal messages (step 2)... Successful.
Converting attachments... Successful.
Recalculating forum statistics... Successful.



CHACHINGG!!!

YEA!!
Title: Re: [SMF Converter] phpBB3
Post by: S.Nieves on June 09, 2009, 03:08:04 AM
Ok, I had to reset my password after trying to log in to many times. I installed the package login and activated it and i have some test members I use that I cannot log in with. Also tried editing manually the custom password hash.. I get a fatal error when I log out.

Can anyone direct me to the package im suppose to use.

ALSO!! It shows I have 160 members?!! I only had 58 prior to the switch.

Thanks a ton!
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on June 09, 2009, 04:53:26 AM
ALSO!! It shows I have 160 members?!! I only had 58 prior to the switch.
phpBB3 stores the Search engine bot inside the users table, you can easily remove the bots from the members table -> Admin -> members

the login fix is attached to the first post from this topic. you should be able to install the fix via Package Manager (http://docs.simplemachines.org/index.php?board=49.0;sort=subject)
Title: Re: [SMF Converter] phpBB3
Post by: S.Nieves on June 09, 2009, 01:18:51 PM
Ok! Done. Its all good.

Now on to play with some portals! :D
Title: Re: [SMF Converter] phpBB3
Post by: GravuTrad on June 16, 2009, 06:40:47 PM
Noted. I hope to solve all this permissions problems. ;)

It's clear that the converter not manage entirely the permissions of phpbb3 vs smf.

we'll have to check all permissions, but too recheck all forum accesses. (visibles or not, particularly for guests which can see all of base)
Title: Re: [SMF Converter] phpBB3
Post by: Phil Serna on July 09, 2009, 08:51:50 PM
i am so confused right now on all of this after reading previous posts.

on my desktop i have the covert.php file and i also have the phpbb3_to_smf.sql

do these go in my root? (the root is where I am going to have my forum)

thanks!
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on July 10, 2009, 02:13:21 AM
do these go in my root? (the root is where I am going to have my forum)
yes, copy both files via FTP to your root folder, then start convert.php with your browser:

Converting to SMF (http://docs.simplemachines.org/index.php?board=4.0;sort=subject)
Title: Re: [SMF Converter] phpBB3
Post by: Kyzer on July 13, 2009, 10:48:17 PM
How do i use this?
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on July 14, 2009, 02:05:37 AM
Kyper, have you checked our docs? conversion isn't very complicated.
Converting to SMF (http://docs.simplemachines.org/index.php?board=4.0;sort=subject)
first step: Install SMF, then upload the converter files and specify some information..
Title: Re: [SMF Converter] phpBB3
Post by: er1c on July 20, 2009, 09:48:02 AM
So I used to use SMF, got too frustrated with the lack of "good" themes compared to phpbb3. I converted and within 2 months, I want to come back home :(

1st question; from what I read, the converter only works with 1.1.8 but I can only download 1.1.10. Will the converter work with 1.1.10?
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on July 20, 2009, 10:32:54 AM
All converters from our downloads page should work with SMF 1.1.10 as well.

http://download.simplemachines.org/?converters

The converter topics are also up to date now :)

PS: Welcome Back :)
Title: Re: [SMF Converter] phpBB3
Post by: er1c on July 20, 2009, 11:48:18 AM
Thanks :)

Unfortunately, I stumbled on the conversion :(

Converting ranks... Successful.
Converting groups... Successful.
Converting members... Successful.
Converting additional member groups... Successful.
Preparing for categories conversion... Successful.
Converting categories... Successful.
Converting boards... Successful.
Fixing categories... Successful.
Converting topics... Successful.
Converting posts... Successful.
Converting polls... Successful.
Converting poll options... Successful.
Converting poll votes... Successful.
Converting personal messages (step 1)... Successful.
Converting personal messages (step 2)... Successful.
Converting attachments... Successful.
Recalculating forum statistics... Successful.
Unsuccessful!
This query:

    REPLACE INTO {$to_prefix}settings (variable, value)
    VALUES ("conversion_time", 1248108347),
    ("conversion_from", "phpbb3_to_smf.sql");

Caused the error:

    You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '{$to_prefix}settings (variable, value)
    VALUES ("conversion_time", 1248108347)' at line 1

what to do now???
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on July 20, 2009, 12:35:09 PM
This is a small bug in convert.php , everything should be fine ;) the last important step was successful:
Quote
Recalculating forum statistics... Successful.

Title: Re: [SMF Converter] phpBB3
Post by: er1c on July 20, 2009, 02:10:37 PM
In that case, everything was a success!  I just had to reset permissions and membergroups.

Thanks for the help!
Title: Re: [SMF Converter] phpBB3
Post by: noon3 on August 02, 2009, 11:44:43 PM
Hi guys  same as er1c, i'm getting the same error message. Would appreciate help here. Thank you.

Converting...
Converting ranks... Successful.
Converting groups... Successful.
Converting members... Successful.
Converting additional member groups... Successful.
Preparing for categories conversion... Successful.
Converting categories... Successful.
Converting boards... Successful.
Fixing categories... Successful.
Converting topics... Successful.
Converting posts... Successful.
Converting polls... Successful.
Converting poll options... Successful.
Converting poll votes... Successful.
Converting personal messages (step 1)... Successful.
Converting personal messages (step 2)... Successful.
Converting attachments... Successful.
Recalculating forum statistics... Successful.
Unsuccessful!
This query:
REPLACE INTO {$to_prefix}settings (variable, value)
VALUES ("conversion_time", 1249270645),
("conversion_from", "phpbb3_to_smf.sql");
Caused the error:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '{$to_prefix}settings (variable, value)
VALUES ("conversion_time", 1249270645)' at line 1
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on August 03, 2009, 01:45:35 AM
noon3, this is a minor bug in convert.php, don't care about this error. the last important step has finished without errors:
Code: [Select]
Recalculating forum statistics... Successful.
Title: Re: [SMF Converter] phpBB3
Post by: noon3 on August 03, 2009, 01:52:53 AM
Yes I finally got everything correct after working on the permissions.

Thanks for the help and SMF!
Title: Re: [SMF Converter] phpBB3
Post by: rockstar1 on August 07, 2009, 01:52:38 AM
I try to install phpbb3_login_fix.tgz, but when I try to upload using the packge menu, the system say that the file is corrupted, I try to uncompress phpbb3_login_fix.tgz with my computer, I can't.
How can I resolve this problem?
Title: Re: [SMF Converter] phpBB3
Post by: JBlaze on August 07, 2009, 01:57:12 AM
I try to install phpbb3_login_fix.tgz, but when I try to upload using the packge menu, the system say that the file is corrupted, I try to uncompress phpbb3_login_fix.tgz with my computer, I can't.
How can I resolve this problem?

You can try uncompressing it on your hard drive, then recompressing it with either .zip or .tar.gz as those are the only extensions SMF allows via the Package Manager.

Seems odd that it is in .tgz format :S
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on August 07, 2009, 02:02:18 AM
zip is attached..
Title: Re: [SMF Converter] phpBB3
Post by: JBlaze on August 07, 2009, 02:53:37 AM
zip is attached..

Thanks TE :)
Title: Re: [SMF Converter] phpBB3
Post by: rockstar1 on August 07, 2009, 10:17:31 AM
Thanks, I download the .zip file, and I can run the mod.
Title: Re: [SMF Converter] phpBB3
Post by: Hostile on August 26, 2009, 11:51:00 AM
I have a quick question, sorry if it's been covered but this is a pretty big thread.

I'm about to run a test conversion from phpBB 3.0.5 to SMF 1.1.10. 

Will this convert.php just copy the data from the phpBB tables, leaving the original data intact?  I don't want to disrupt my users while I'm playing around with a test site.

Thanks!
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on August 26, 2009, 12:28:36 PM
Will this convert.php just copy the data from the phpBB tables, leaving the original data intact? 
yes, the data from phpBB is only copied to a new SMF forum. Your phpBB will remain unaffected.
Title: Re: [SMF Converter] phpBB3
Post by: Hostile on August 26, 2009, 12:29:58 PM
EDIT: Thanks TE, you responded while I was typing this post. :)

Well I just went ahead and backed up the database and gave it a shot.  I'm getting the following error:

Code: [Select]
Converting...
Recalculating forum statistics... Successful.
Unsuccessful!
This query:

    REPLACE INTO settings (variable, value)
    VALUES ('conversion_time', 1251304070),
    ('conversion_from', 'phpbb3_to_smf.sql');

Caused the error:

    No database selected

I click on the Try again button and the page just refreshes with the same error but a different string of numbers.

I wasn't prompted for the database, and both the phpBB3 and SMF forums were working properly before I started the conversion.

I've tried logging into the SMF forum now and it looks like my forums and posts got copied over but my admin account from phpBB does not have admin access.  Changing my group_id to 1 in phpmyadmin did the trick.

(BTW - I have the password converter package installed and it seems to work.)
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on August 26, 2009, 01:41:11 PM
Quote
Recalculating forum statistics... Successful
This is the last important step from convert.php, don't care about the error (it's a bug in convert.php and already fixed in our SVN).
Title: Re: [SMF Converter] phpBB3
Post by: Hostile on August 26, 2009, 01:59:10 PM
Cool, thanks for the quick replies TE. :)
Title: Re: [SMF Converter] phpBB3
Post by: Elberet on September 14, 2009, 08:43:53 PM
Hi SMF crowd, thought you guys might be interested in this.

I'm in the process of converting a phpBB3 forum to SMF2 and worked on the conversion script a bit:

- phpBB3 [size] tag fixed. phpBB3 uses percentile sizes, SMF expects pixels. [size=80] looks rather intimidating after conversion. The fix tries to guess an appropriate pixel size as intval(11.0*($phpBBsize / 100.0))
- some other BBC regex patterns fixed.
- Smileys in messages and signatures should now work.
- Avatars fixed, Avatar filenames in phpBB3's users table are apparently not identical to filenames on disk (requests to avatar images are routed through ./downloads/file.php which finds the appropriate file and sends it, preventing hotlinking).

And here's the diff:

Code: [Select]
--- phpbb3_to_smf.sql.org 2008-09-02 23:26:02.000000000 +0200
+++ phpbb3_to_smf.sql 2009-09-15 02:17:08.000000000 +0200
@@ -121,6 +121,14 @@
  LIMIT 1");
  $phpbb_avatar_upload_path = $_POST['path_from'] . '/' . convert_result($request2, 0, 'config_value');
  convert_free_result($request2);
+
+ $request2 = convert_query("
+ SELECT config_value
+ FROM {$from_prefix}config
+ WHERE config_name = 'avatar_salt'
+ LIMIT 1");
+ $phpbb_avatar_salt = convert_result($request2, 0, 'config_value');
+ convert_free_result($request2);
 }
 
 // time_offset = phpBB user TZ - phpBB board TZ.
@@ -132,7 +140,11 @@
 elseif ($row['user_avatar_type'] == 1 && strlen($row['avatar']) > 0)
 {
  $smf_avatar_filename = 'avatar_' . $row['id_member'] . strrchr($row['avatar'], '.');
- @copy($phpbb_avatar_upload_path . '/' . $row['avatar'], $avatar_dir . '/' . $smf_avatar_filename);
+ $phpbb_avatar_ext = substr(strchr($row['avatar'], '.'), 1);
+ @copy(
+ $phpbb_avatar_upload_path . '/' . $phpbb_avatar_salt . '_' . $row['id_member'] . '.' . $phpbb_avatar_ext,
+ $avatar_dir . '/' . $smf_avatar_filename
+ );
 
  convert_query("
  INSERT INTO {$to_prefix}attachments
@@ -154,6 +166,9 @@
 if ($row['signature_uid'] != '')
  $row['signature'] = preg_replace('~(:u:|:1:|:)' . preg_quote($row['signature_uid'], '~') . '~i', '', $row['signature']);
 
+if(!function_exists("percent_to_px")) {function percent_to_px ($str) {
+ return intval(11*(intval($str)/100.0));
+}}
 $row['signature'] = preg_replace(
  array(
  '~\[quote=&quot;(.+?)&quot;(:.+?)?\]~is',
@@ -165,25 +180,26 @@
  '~\[/i(:.+?)?\]~is',
  '~\[u(:.+?)?\]~is',
  '~\[/u(:.+?)?\]~is',
- '~\[url:(.+?)\]~is',
- '~\[/url:(.+?)?\]~is',
- '~\[url=(.+?):(.+?)\]~is',
- '~\[/url:(.+?)?\]~is',
+ '~\[url(:.+?)\]~is',
+ '~\[/url(:.+?)?\]~is',
+ '~\[url=(.+?)(:.+?)?\]~is',
+ '~\[/url(:.+?)?\]~is',
  '~\<a(.+?) href="(.+?)">(.+?)</a>~is',
- '~\[img:(.+?)?\]~is',
- '~\[/img:(.+?)?\]~is',
- '~\[size=(.+?):(.+?)\]~is',
+ '~\[img(:.+?)?\]~is',
+ '~\[/img(:.+?)?\]~is',
+ '~\[size=(.+?)(:.+?)?\]~ise',
  '~\[/size(:.+?)?\]~is',
- '~\[color=(.+?):(.+?)\]~is',
+ '~\[color=(.+?)(:.+?)?\]~is',
  '~\[/color(:.+?)?\]~is',
- '~\[code=(.+?):(.+?)?\]~is',
+ '~\[code=(.+?)(:.+?)?\]~is',
  '~\[code(:.+?)?\]~is',
  '~\[/code(:.+?)?\]~is',
- '~\[list=(.+?):(.+?)?\]~is',
+ '~\[list=(.+?)(:.+?)?\]~is',
  '~\[list(:.+?)?\]~is',
  '~\[/list(:.+?)?\]~is',
  '~\[\*(:.+?)?\]~is',
  '~\[/\*(:.+?)?\]~is',
+ '~<!-- s(.+?) --><img .+? /><!-- s(.+?) -->~is',
  '~<!-- (.+?) -->~is',
  ),
  array(
@@ -203,7 +219,7 @@
  '[url=$2]$3[/url]',
  '[img]',
  '[/img]',
- '[size=$1px]',
+ '"[size=".percent_to_px("\1")."px]"',
  '[/size]',
  '[color=$1]',
  '[/color]',
@@ -215,12 +231,13 @@
  '[/list]',
  '[li]',
  '[/li]',
+ '$1',
  '',
  ), $row['signature']);
 
-$row['signature'] = preg_replace('~\[size=(.+?)px\]~is', "[size=" . ('\1' > '99' ? 99 : '"\1"') . "px]", $row['signature']);
+/*$row['signature'] = preg_replace('~\[size=(.+?)px\]~is', "[size=" . ('\1' > '99' ? 99 : '"\1"') . "px]", $row['signature']);*/
 
-// This just does the stuff that it isn't work parsing in a regex.
+// This just does the stuff that it isn't work parsing in a regex. #'
 $row['signature'] = strtr($row['signature'], array(
  '[list type=1]' => '[list type=decimal]',
  '[list type=a]' => '[list type=lower-alpha]',
@@ -458,6 +475,9 @@
 
 ---* {$to_prefix}messages 200
 ---{
+if(!function_exists("percent_to_px")) {function percent_to_px ($str) {
+ return intval(11*(intval($str)/100.0));
+}}
 // This does the major work first
 $row['body'] = preg_replace(
  array(
@@ -470,25 +490,26 @@
  '~\[/i(:.+?)?\]~is',
  '~\[u(:.+?)?\]~is',
  '~\[/u(:.+?)?\]~is',
- '~\[url:(.+?)\]~is',
- '~\[/url:(.+?)?\]~is',
- '~\[url=(.+?):(.+?)\]~is',
- '~\[/url:(.+?)?\]~is',
+ '~\[url(:.+?)?\]~is',
+ '~\[/url(:.+?)?\]~is',
+ '~\[url=(.+?)(:.+?)?\]~is',
+ '~\[/url(:.+?)?\]~is',
  '~\<a(.+?) href="(.+?)">(.+?)</a>~is',
- '~\[img:(.+?)?\]~is',
- '~\[/img:(.+?)?\]~is',
- '~\[size=(.+?):(.+?)\]~is',
+ '~\[img(:.+?)?\]~is',
+ '~\[/img(:.+?)?\]~is',
+ '~\[size=(.+?)(:.+?)?\]~ise',
  '~\[/size(:.+?)?\]~is',
- '~\[color=(.+?):(.+?)\]~is',
+ '~\[color=(.+?)(:.+?)?\]~is',
  '~\[/color(:.+?)?\]~is',
- '~\[code=(.+?):(.+?)?\]~is',
+ '~\[code=(.+?)(:.+?)?\]~is',
  '~\[code(:.+?)?\]~is',
  '~\[/code(:.+?)?\]~is',
- '~\[list=(.+?):(.+?)?\]~is',
+ '~\[list=(.+?)(:.+?)?\]~is',
  '~\[list(:.+?)?\]~is',
  '~\[/list(:.+?)?\]~is',
  '~\[\*(:.+?)?\]~is',
  '~\[/\*(:.+?)?\]~is',
+ '~<!-- s(.+?) --><img .+? /><!-- s(.+?) -->~is',
  '~<!-- (.+?) -->~is',
  ),
  array(
@@ -508,7 +529,7 @@
  '[url=$2]$3[/url]',
  '[img]',
  '[/img]',
- '[size=$1px]',
+ '"[size=".percent_to_px("\1")."px]"',
  '[/size]',
  '[color=$1]',
  '[/color]',
@@ -520,12 +541,13 @@
  '[/list]',
  '[li]',
  '[/li]',
+ '$1',
  '',
  ), $row['body']);
 
-$row['body'] = preg_replace('~\[size=(.+?)px\]~is', "[size=" . ('\1' > '99' ? 99 : '"\1"') . "px]", $row['body']);
+/*$row['body'] = preg_replace('~\[size=(.+?)px\]~is', "[size=" . ('\1' > '99' ? 99 : '"\1"') . "px]", $row['body']);*/
 
-// This just does the stuff that it isn't work parsing in a regex.
+// This just does the stuff that it isn't work parsing in a regex. #'
 $row['body'] = strtr($row['body'], array(
  '[list type=1]' => '[list type=decimal]',
  '[list type=a]' => '[list type=lower-alpha]',
@@ -674,4 +696,4 @@
  post_msg_id AS id_msg, download_count AS downloads,
  real_filename AS filename, physical_filename, filesize AS size
 FROM {$from_prefix}attachments;
----*
\ Kein Zeilenumbruch am Dateiende.
+---*
Title: Re: [SMF Converter] phpBB3
Post by: Norv on September 14, 2009, 08:46:07 PM
Thank you!
I'm sure it will be useful, and taking the time to share it is very appreciated!

Thanks again :)
Title: Re: [SMF Converter] phpBB3
Post by: Elberet on September 15, 2009, 04:29:02 PM
So...

I'm working on fixing attachmens as well, but the converter PHP file is giving me a hard time. As there's apparently no documentation as to what is expected of converter SQL scripts, I've been running on guesses, good-will, reverse engineering and lots of trial & error, but I think I've hit a dead end.

Here's an excerpt of what I'm trying to do:
Code: [Select]
---* {$to_prefix}attachments
---{
/* lots of php code here. among other things, it does: */
$row['some_id'] = fiddle_with_ids($row['other_data']);
unset($row['other_data']); /* clean non-SMF columns from $row */
---}
SELECT post_msg_id AS id_msg, junk AS trash, foo AS bar
FROM {$from_prefix}attachments
ORDER BY attach_id;
---*

I've verified that $row contains sensible data right after entering and just before leaving my code, e.g.:
Code: [Select]
Array
(
    [id_msg] => 2640
    [id_member] => 0
    [filename] => logo.png
    [downloads] => 16
    [fileext] => png
    [mime_type] => image/png
    [size] => 31632
    [id_thumb] => 0
    [attachment_type] => 0
    [id_folder] => 1
    [approved] => 1
    [file_hash] => 0d5ef322d1bd7ab7bf967e7ff492529b838e8867
    [width] => 450
    [height] => 90
)

Also, $to_prefix and $from_prefix are set properly, the tables exist and contain the columns one would expect. SHOW CREATE TABLE smf_attachments says:
Code: [Select]
CREATE TABLE `smf_attachments` (
  `id_attach` int(10) unsigned NOT NULL auto_increment,
  `id_thumb` int(10) unsigned NOT NULL default '0',
  `id_msg` int(10) unsigned NOT NULL default '0',
  `id_member` mediumint(8) unsigned NOT NULL default '0',
  `id_folder` tinyint(3) NOT NULL default '1',
  `attachment_type` tinyint(3) unsigned NOT NULL default '0',
  `filename` tinytext NOT NULL,
  `file_hash` varchar(40) NOT NULL default '',
  `fileext` varchar(8) NOT NULL default '',
  `size` int(10) unsigned NOT NULL default '0',
  `downloads` mediumint(8) unsigned NOT NULL default '0',
  `width` mediumint(8) unsigned NOT NULL default '0',
  `height` mediumint(8) unsigned NOT NULL default '0',
  `mime_type` varchar(20) NOT NULL default '',
  `approved` tinyint(3) NOT NULL default '1',
  PRIMARY KEY  (`id_attach`),
  UNIQUE KEY `id_member` (`id_member`,`id_attach`),
  KEY `id_msg` (`id_msg`)
) ENGINE=MyISAM AUTO_INCREMENT=12 DEFAULT CHARSET=utf8

The converter, however, seems to be blind, as it tells me that "The database value you're trying to insert does not exist: id_msg". I traced that error back to a regex callback function in Sources/Subs-Db-mysql.php; the regex is apparently being fed a string containing "{id_msg}", while the corresponding $values array doesn't contain that particular key.

So.

Am I just being stupid and missing the obvious? I mean, I could go on tracing through the database libraries, but not knowing the code all too well makes this feel like a particularily painful and unusual punishment...  ;)
Title: Re: [SMF Converter] phpBB3
Post by: SleePy on September 16, 2009, 06:55:53 PM
Elberet,
http://www.simplemachines.org/community/index.php?topic=333570.0

It doesn't include your fixes though.  The attachment section at the end is what you would want to look at for the .sql file :)
Title: Re: [SMF Converter] phpBB3
Post by: Elberet on September 17, 2009, 05:18:51 AM
I'm not entirely sure what's going on in the thread you linked; does convert.php contain magic that treats certain SMF tables, e.g. the attachments table, specially?

Anyway... I actually gave up and decided to just workaround whatever problem I had run into, by setting $no_add and inserting columns into the attachments table manually.

This leaves just one issue open: BBCode in private messages isn't being fixed. However, my converted forum has gone live yesterday, so I guess I won't fix that now. ^^

The attached file contains the fixes I posted as a diff earlier, as well as my shot at getting attachments to work...
Title: Re: [SMF Converter] phpBB3
Post by: SleePy on September 29, 2009, 05:07:06 AM
Convert.php does handle attachments specially, but due to an issue with the 2.0 converters it may not work right.
Title: Re: [SMF Converter] phpBB3
Post by: Benneh on September 29, 2009, 06:54:40 PM
Hi,

Im converting from phpbb3 to smf 1.1.10.

After running the conversion, obviously I cannot log on, so I reset the password on my admin account, this works fine, I then run the phpBB3_Login_Fix file (tired the tgz and the zip file) both say they have worked, but the test account I created before the transfer still cannot log on without performing a reset via email.

Is this correct or should they just ben able to then log in?  If they should be able to log in, any idea whats going wrong?
Title: Re: [SMF Converter] phpBB3
Post by: Norv on September 30, 2009, 04:25:17 AM
After applying the login fix on 1.1.10, the passwords for the phpbb account should be recognized correctly. However, in case there are still problems, perhaps it will help to clear the browser cache and saved passwords, then try again.
Title: Re: [SMF Converter] phpBB3
Post by: ingamer on October 04, 2009, 02:50:03 PM
Hello,

I have been attempting to convert my database from PHPBB3 to SMF 1.1.10

I have read through most of the articles on this support forums and still haven't found an answer

My previous forums PHPBB3 is running english_us, after using convert.php (using default UTF-8 setting) it converts with non-critcial errors (missing attachments / getsize errors & sql bug at the end) , the forums, users and apparently most everything is completed successfully

The previous forum - the user we're able to use custom bbcodes such as [youtube] and [collegehumor] for example (I was going to use the bbcode mod to patch this once it was converted)

For some reason the conversion has caused the bbcodes to have random characters inside the blocks [bbcode:#random chracters#] (/bbcode:#random chracters#)for example:

[youtube:1gofbzek]http://www.youtube.com/watch?v=t0QVH3-npD0[/youtube:1gofbzek]
[youtube:3cu70r59]http://www.youtube.com/watch?v=Mim5HjpQhjU[/youtube:3cu70r59]
or
[collegehumor:3n6t2v8f]http://www.collegehumor.com/video:1922189[/collegehumor:3n6t2v8f]
[collegehumor:277x384u]http://www.collegehumor.com/video:1917906[/collegehumor:277x384u]

[always random characters]

- I am stumped as to why this is happening only to bbcodes , I would think that the rest of the posts would be messed up also but it appears to have something to do with the [] brackets (this happens with all bbcodes from the looks of it)


any suggestions? I have tried different *character sets* while converting with the same result

Thank you for any suggestions!
Title: Re: [SMF Converter] phpBB3
Post by: Norv on October 04, 2009, 02:59:13 PM
I don't think this has anything to do with character sets. (Please consider installing SMF as latin1 english too, and choosing latin1 in the converter as well, for less surprises; you can always convert your SMF forum to UTF-8 later if you wish).

Instead, these custom bbcodes must have been specific to phpbb, and natively or with some mod, phpbb was using these codes along with custom bbc tags, while SMF of course doesn't know them.
Please note that there are mods for SMF as well, allowing embedding of youtube videos, using custom bbc tags ( http://custom.simplemachines.org/mods/index.php?mod=977 ), or you can define your own custom tags as well. However, they will not recognize phpbb specific syntax (like I think these codes are), or not to my knowledge. You might want to consider removing them manually.
Title: Re: [SMF Converter] phpBB3
Post by: k12onos on October 04, 2009, 09:14:54 PM
Hello guys,

I'm new to converting SMF so I want to ask something.

Can I do the convert like this ?

1. Install SMF on a database called SMF (assigned with mysql user 'USER')

2. Import 'only' the phpbb database I want to convert (from other server to same server as where smf were installed) to a database named PHPBB (assigned with mysql user 'USER')

3. convert the PHPBB database using convert.php

Can I do it like that?

and also, I have a few question, in this type of convert, the MAIN database would still be SMF right? the tables in database PHPBB would just be converted and copied to the SMF database, am I correct?

Thank You in Advance guys :)
Title: Re: [SMF Converter] phpBB3
Post by: Norv on October 05, 2009, 06:13:57 AM
Hello there, and welcome to SMF!

1. Install SMF on a database called SMF (assigned with mysql user 'USER')
2. Import 'only' the phpbb database I want to convert (from other server to same server as where smf were installed) to a database named PHPBB (assigned with mysql user 'USER')
3. convert the PHPBB database using convert.php

Can I do it like that?
Please also make sure you make a directory for phpbb, and in this directory, add a file config.php. The file needs to define a few variables, like the phpbb configuration file does in a standard installation, like $dbname and $table_prefix, so that the converter known where to find the phpbb database.
You might find useful to simply copy the config.php file from your phpbb installation, into a new folder on the server where SMF is installed, and edit it to match your phpbb database on the new server.

and also, I have a few question, in this type of convert, the MAIN database would still be SMF right? the tables in database PHPBB would just be converted and copied to the SMF database, am I correct?
Yes, the data from the PHPBB database will be converted and copied over, and once the conversion finishes successfully, the PHPBB database is not more needed at all.
Title: Re: [SMF Converter] phpBB3
Post by: k12onos on October 05, 2009, 07:46:44 AM
Hello Norv,

now I know what I should do :)

Thank you very much, I really appreciate it :)

Title: Re: [SMF Converter] phpBB3
Post by: k12onos on October 05, 2009, 09:42:52 AM
it seems I got stuck in the converting page,

I am supposed to click continue every time the continue button becomes Continue(0) right?

it works a few times, the continue button changes to Continue(3) and count down to 0, and I clicked it again.

After a few times it just stays as loading page, and clicking the continue button didn't change anything, is this normal?
Title: Re: [SMF Converter] phpBB3
Post by: Norv on October 05, 2009, 09:44:48 AM
It should also continue alone, I think, if you just let the countdown end (if I remember correctly).

EDIT: in case it's really stuck, perhaps you will find useful to restart the conversion, too... How big is your forum?
Title: Re: [SMF Converter] phpBB3
Post by: k12onos on October 05, 2009, 09:48:43 AM
now the count down is already at 0, but the page stays at loading state, it has been about 5-10 minutes.

Is it possible to restart the convert in this stage?
Title: Re: [SMF Converter] phpBB3
Post by: Norv on October 05, 2009, 09:55:41 AM
The conversion can be restarted as many times as you like. It won't break anything, it will just empty the SMF tables and start filling them up again. :)
Eventually, perhaps it will be useful to run the convert script as youraddress/convert.php?debug=1 to have try to make a little debug log in the SMF folder (though it's an early stage of the log, but sometimes it helps pinpointing a problem).
Title: Re: [SMF Converter] phpBB3
Post by: k12onos on October 05, 2009, 10:03:19 AM
The loading page stops and show some kind of error message, it says the post conversion is unsuccesful.

There is also a bunch of mysql lines which I suppose were some posts which causes the trouble, here is the first few lines:

Converting posts... Unsuccessful!
This query:

    INSERT INTO `rumahblo_smf`.smf_messages
    (ID_MSG, ID_TOPIC, ID_BOARD, posterTime, ID_MEMBER, subject, posterName, posterEmail, posterIP, smileysEnabled, modifiedTime, modifiedName, body)
    VALUES ('32932', '1840', '18', '1232768971', '602', 'Re: ini yang baru nampang .. bimouw ..', 'Donatian', 'oq_xxxxxxx@yahoo.com', '125.164.123.175', '1', '0', '', 'quote author=\"katim\"quote author=\"bimouw\"quote author=\"katimgue juga masih SMP hehehe

Also it says this in the end of the error page :

Caused the error:

    Duplicate entry '32932' for key 1


What does that mean?
Title: Re: [SMF Converter] phpBB3
Post by: Norv on October 05, 2009, 10:47:03 AM
I assume you are using the converter attached to this post or from the downloads page? (to convert to SMF 1.1.10)
If that is the case, please try using the attached file.
Title: Re: [SMF Converter] phpBB3
Post by: k12onos on October 05, 2009, 11:36:45 AM
I'm not really sure how to use that sql file included in the first post of this topic and on your post,

should I import it to the phpbb3 database?
Title: Re: [SMF Converter] phpBB3
Post by: Norv on October 05, 2009, 11:48:02 AM
No, please simply replace the file with the same name, from the converter files, with this one. (it should be in your SMF folder).
The converter has two files: convert.php and an .sql file.
Title: Re: [SMF Converter] phpBB3
Post by: k12onos on October 05, 2009, 10:48:38 PM
I passed the post conversion until attachment and statistic conversion, but it stops there and gives me this error:

Recalculating forum statistics... Successful.

Notice: Undefined variable: to_prefix in /home5/rumahblo/public_html/rumahgger/forum/convert.php on line 1821
Unsuccessful!
This query:

    REPLACE INTO settings (variable, value)
    VALUES ('conversion_time', 1254797013),
    ('conversion_from', 'phpbb3_to_smf.sql');

Caused the error:

    No database selected



How do I fix that?



Thank You in advance, I really appreciate your help, sorry to trouble you this much :)
Title: Re: [SMF Converter] phpBB3
Post by: k12onos on October 05, 2009, 11:24:13 PM
I've searched the board, and it seems that this error should just be ignored right?

Thank you so much for your help Norv, I'll get back if I have anymore questions.

I hope you won't be troubled :D

Thank You
Title: Re: [SMF Converter] phpBB3
Post by: Norv on October 06, 2009, 04:40:59 AM
Cheers, congratulations! ;)
Of course, please feel free to let us know in case anything is not as it should be now. :)
Title: Re: [SMF Converter] phpBB3
Post by: ingamer on October 09, 2009, 12:31:51 AM
!!!!I HAVE RESOLVED MY ISSUE !!!!
I have very little programming experience but I was able to resolve my issue of the custom [bbcodes] from PHPBB3 (3.0.4)  adding random numbers

I have provided the file that I used , it is the version Norv provided and this is the ONLY modification (hope this doesn't cause any issues with conversions)
I am very unfamiliar with php coding so I won't be much assistance if you encounter an issue with this file so please don't blame me if it screws something up for you!

Example: (PHPBB3) [youtube]http://www.youtube.com/watch?v=7OjcRBoCbSg[/youtube]  CONVERSION -> [youtube:1239745]http://www.youtube.com/watch?v=7OjcRBoCbSg[/youtube:1239745]


What I had to do was modify the phpbb3_to_smf.sql and I added in the bbcodes in four different places manually and matching the layout of the previous bbcodes in the array - I guess so that it isn't an else IF and adds the UID from PHPBB3(maybe one of you programmers can explain it better!)

I've attached my version which ONLY Removes the numbers from the following bbcode names:

Code: [Select]
[box][/box]]
[center][/center]]
[collegehumor][/collegehumor]
[gametrailers][/gametrailers]
[mp3][/mp3]
[spoiler][/spoiler]
[strike][/strike]
[youtube][/youtube]

** IF you so happen to use one or a few of these this will fix your problem must be exactly labeled like these (these are using the names exactly as I found them from the PHPBB3 coding site)


I hope this will help atleast one person


**********************PREVIOUSLY*************************************

Hello I still havn't been able to fix the random PHP BBCODE UID problem I am having


for instance on phpBB3 the link is : [collegehumor]http://www.collegehumor.com/video:1922587[/collegehumor]

after conversion it is : [collegehumor:27jbu882]http://www.collegehumor.com/video:1922587[/collegehumor:27jbu882]

is there any way to resolve this? it appears to happen only with the custom bbcodes I have made.


Thank you for any assistance you may be able to provide!
Title: Re: [SMF Converter] phpBB3
Post by: Norv on October 09, 2009, 07:13:47 AM
Thank you for taking the time to share this!
I will relay this to the development team to see about eventually including a solution in the phpbb3 converter.
Title: Re: [SMF Converter] phpBB3 - LogInOut.php
Post by: lausianne on October 21, 2009, 03:35:46 AM
Hi,
it took me a while to find the file LogInOut.php. I was looking for it in the phpBB folders, while it's actually in smf/sources.

Maybe you could modify this sentence in the initial post to make it clearer where to find the file:
Quote
phpBB has their own custom password hash so you need to edit LogInOut.php

Thanks!

Cheers, Ralf.
Title: Re: [SMF Converter] phpBB3
Post by: Norv on October 21, 2009, 04:14:59 PM
Hi,
it took me a while to find the file LogInOut.php. I was looking for it in the phpBB folders, while it's actually in smf/sources.

Maybe you could modify this sentence in the initial post to make it clearer where to find the file:
Quote
phpBB has their own custom password hash so you need to edit LogInOut.php

Thanks!

Cheers, Ralf.

Done, thank you for pointing it out.
Title: Re: [SMF Converter] phpBB3
Post by: Inquisitor on October 29, 2009, 05:49:13 PM
Hello,

I have site with phpBB3 forum installed. Now I decided to move to SMF because I like this software very much. Also I want to upgrade my site tp transform it into portal.

So, now I have SMF 1.1.10 with TinyPortal and SMG installed and configured with my own theme. Can I now convert from phpBB3 or I need to reinstall SMF and convert the database before modding SMF to TP? Will I lose my administrative account?

Thanks,

WBR Inquisitor
Title: Re: [SMF Converter] phpBB3
Post by: Norv on October 29, 2009, 06:35:45 PM
The converter will wipe some tables and replace their contents with the converted data. Just as well, it will re-calculate various statistics and update them into existing tables. That means that at least the accounts are replaced, yes. You will have the old account from phpBB.

I'm not sure of all details of TP and SMG will need, but I tend to think that the safest way to do is still to convert over an installation with no TP/SMG and install them after.
Otherwise there can be surprising behaviors. In case you set TP to show a certain board as articles, for example, the conversion will remove that board and eventually replace that board with the one from phpBB which happens to have the same ID, if any.
Title: Re: [SMF Converter] phpBB3
Post by: Inquisitor on October 30, 2009, 09:31:35 PM
Thanks. So, anyway, I'll try. I'll backup my data and try to convert. If I'll get unpredicted things, I'll investigate why that happened, rollback and try to control the process of conversion. I'll report later about a result.
Title: Re: [SMF Converter] phpBB3
Post by: Norv on October 31, 2009, 02:38:23 PM
I'm not sure there's any need to rollback, as the converter doesn't do any modification to the data from phpBB, while the SMF tables it needs should be emptied every time it's run.
Please feel free to post here any errors you may have, and we will try to assist you.
Title: Re: [SMF Converter] phpBB3
Post by: [-Trogan-] on November 06, 2009, 05:18:46 PM
Alright i have a question.


Will this converter work for phpbb3.0.6rc3?
Title: Re: [SMF Converter] phpBB3
Post by: Norv on November 07, 2009, 02:24:27 AM
Most probably, as both converters (to SMF 1.1.10 and to SMF 2.0 RC1.2) were tested on 3.0.5. In case there were no relevant database changes, it should work with any 3.x version, and normally there are no such changes on minor versions. (usually, in any software, that is).
In any case you can try it on your board. It won't do anything wrong anyway, it doesn't touch the phpbb installation, only tries taking the data from it. In case anything goes wrong please feel free to let us know.
You can find all information for the conversion here: Converting to SMF (http://docs.simplemachines.org/index.php?board=4.0;sort=subject)
Title: Re: [SMF Converter] phpBB3
Post by: [-Trogan-] on November 07, 2009, 01:56:24 PM
Ok how do i get started with this conversion (i got the files now where do i put them in my site?) (and then what do i do?)
Title: Re: [SMF Converter] phpBB3
Post by: Norv on November 07, 2009, 06:07:25 PM
Please check out the step-by-step manual : Converting to SMF (http://docs.simplemachines.org/index.php?board=4.0;sort=subject)

Mainly, the files should be in the SMF folder (SMF should be installed) and you run convert.php from the browser.
Title: Re: [SMF Converter] phpBB3
Post by: [-Trogan-] on November 07, 2009, 08:09:08 PM
uh-oh.

got an error.


Code: [Select]
Notice: Undefined variable: to_prefix in /home/beastmag/domains/torous1234.co.cc/public_html/forum/convert.php on line 1821
Unsuccessful!
This query:

    REPLACE INTO settings (variable, value)
    VALUES ('conversion_time', 1257642369),
    ('conversion_from', 'phpbb3_to_smf.sql');

Caused the error:

    No database selected

what can i do


(user edit)It wont let me insert a modification that i know works because i have used it on another of my smf forums (non converted) the one i'm trying to get installed is tinypicplugin_smf_mod_v1.0.0
Title: Re: [SMF Converter] phpBB3
Post by: narqelion on November 07, 2009, 10:09:14 PM
Based on your edit can I assume you worked through the conversion error and have your board converted and running?
Title: Re: [SMF Converter] phpBB3
Post by: [-Trogan-] on November 07, 2009, 10:35:50 PM
It seems that the error didnt affect anything at all.
odd.
Never heard of a false error message.

but yea it works.
Title: Re: [SMF Converter] phpBB3
Post by: sandoz on November 13, 2009, 03:39:51 AM
i get this:
Sorry, the database connection information used in the specified installation of SMF cannot access the installation of phpBB3. This may either mean that the installation doesn't exist, or that the MySQL account used does not have permissions to access it.

The error MySQL gave was: SELECT command denied to user 'xxx'@'72.167.xxx' for table 'phpbb_users'

apparently the mysql userinfo is wrong, but i cannot enter the pphbb3 mysql login
Title: Re: [SMF Converter] phpBB3
Post by: Norv on November 13, 2009, 03:57:23 AM
Please check out: Common conversion errors. (http://www.simplemachines.org/community/index.php?topic=146192.0)
Title: Re: [SMF Converter] phpBB3
Post by: sandoz on November 16, 2009, 02:53:43 AM
yes, ok, because the php db was on another account

now i imported the php db to the same db as smf forum, but still i get this error:
what am i doing wrong?
Sorry, the database connection information used in the specified installation of SMF cannot access the installation of phpBB3. This may either mean that the installation doesn't exist, or that the Database account used does not have permissions to access it.

The error that was received from the Database was: SELECT command denied to user 'xxx'@'72..185' for table 'phpbb_users'
Title: Re: [SMF Converter] phpBB3
Post by: Norv on November 16, 2009, 03:03:03 AM
Even though you imported the php db, the converter asks you for phpbb path and reads a configuration file from it, in which most probably it's the old phpbb database pointed to. So the converter will try connecting to that one still, for phpbb data.
You can:
Option 1: - install SMF in the same database where phpbb was installed (not the other way around)
Option 2: - let them in different databases, but check in your host's panel if you can add the user of the SMF database to the phpbb database.
Option 3: - change the phpbb configuration file to point to the SMF database (where you imported the phpbb tables) - I don't recommend this, because your phpbb will try to work then from this copied tables, and if any is missing or whatnot, phpbb installation won't work. Rather, make a copy of the config file, and place it in another folder (random folder) and point the converter to that folder as "phpbb installation".
Title: Re: [SMF Converter] phpBB3
Post by: GravuTrad on November 24, 2009, 07:12:00 PM
phpbb 3.0.6 is out.

http://www.phpbb.com/community/viewtopic.php?f=14&t=1859035

They try to upgrade it to the smf level lol...
Title: Re: [SMF Converter] phpBB3
Post by: GravuTrad on November 26, 2009, 06:23:53 AM
same type of problem than Trogan on one conversion:

Code: [Select]
This query:REPLACE INTO {$to_prefix}settings (variable, value)
         VALUES ("conversion_time", 1259234240),
            ("conversion_from", "phpbb3_to_smf.sql");         Caused the error:
         Youhave an error in your SQL syntax; check the manual that corresponds toyour MySQL server version for the right syntax to use near'{$to_prefix}settings (variable, value)
         VALUES ("conversion_time", 1259234240)' at line 1

it doesn't affect anything?
Title: Re: [SMF Converter] phpBB3
Post by: Norv on November 26, 2009, 07:10:31 AM
No, it doesn't. It's a bug in the converter, only happens after the conversion itself is finished, when it tries to save some data about the conversion in smf database (for eventual later use in debugging if case may be). The conversion itself was successful if there were no other errors.
Title: Re: [SMF Converter] phpBB3
Post by: roomeat on December 05, 2009, 03:56:11 AM
Are the conversions scripts in the first post the most current?? or should I search through 35 pages to find the newest?
Title: Re: [SMF Converter] phpBB3
Post by: roomeat on December 05, 2009, 03:57:03 AM
Also.. I noticed these were based on phpbb 3.0.5 and my site is 3.0.2.. should this still be OK?
Title: Re: [SMF Converter] phpBB3
Post by: Norv on December 05, 2009, 08:47:22 AM
Are the conversions scripts in the first post the most current?? or should I search through 35 pages to find the newest?
Please find the current converters on this site's Downloads > Converters page.

Also.. I noticed these were based on phpbb 3.0.5 and my site is 3.0.2.. should this still be OK?
Yes, it should work. Normally minor releases don't even bring database changes, let alone major database changes.
Title: Re: [SMF Converter] phpBB3
Post by: PlayfulGod on December 09, 2009, 10:34:01 AM
Hi,

I just used the converter to go from phpb 3.0.6 to SMF 1.1.11, installed the phpbb3_login_fix. My biggest issue is images that were posted arent showing up unless you opened em up in the editor n save em. Normal bbc code [img] too.
Title: Re: [SMF Converter] phpBB3
Post by: z3rongod on December 09, 2009, 01:42:10 PM
Thank you for this feature. I did get an error though

Notice: Undefined variable: to_prefix in /..............Taken Out ...................../classic/forum/convert.php on line 1821
Unsuccessful!
This query:

    REPLACE INTO settings (variable, value)
    VALUES ('conversion_time', 1260383377),
    ('conversion_from', 'phpbb3_to_smf.sql');

Caused the error:

    No database selected

I googled a bit and i saw someone saying that it works even if the error appeared. I hope there won't be any problems.

I must say the default template that comes with SMF has poor quality design. I'm off seeking a better one.

Thanks again for this conversion feature!
Title: Re: [SMF Converter] phpBB3
Post by: Norv on December 11, 2009, 10:11:39 AM
z3rongod:
I googled a bit and i saw someone saying that it works even if the error appeared. I hope there won't be any problems.
Indeed, there should be no problem, that error was due to a bug in the converter but only happened after the conversion itself finished. So your forum should be fully operational.
Cheers and welcome to SMF!

PlayfulGod:
can you please show/screenshot/link an example of the problem?
Title: Re: [SMF Converter] phpBB3
Post by: JerX on December 15, 2009, 07:37:15 AM
Ok well iam so confused right now, when i used the convert i gained some errors. Even thou the board and members got copied. (not the membergroups prob). Uhmm when it converted i can login on my account but i do not have any admin rights anymore.

I installed the phpBB3_Login_Fix.tgz threw the package manager before the convert. If i run the file it just says Hacking attempt...

Seems iam missing really something here, please help me out:(
p.s. converting phpbb 3.0.6 too SMF 1.1.11


Error convert:
Code: [Select]
Converting ranks... Successful.
Converting groups... Successful.
Converting members... Successful.
Converting additional member groups... Successful.
Preparing for categories conversion... Successful.
Converting categories... Successful.
Converting boards... Successful.
Fixing categories... Successful.
Converting topics... Successful.
Converting posts... Successful.
Converting polls... Successful.
Converting poll options... Successful.
Converting poll votes... Successful.
Converting personal messages (step 1)... Successful.
Converting personal messages (step 2)... Successful.
Converting attachments...
Warning: getimagesize() [function.getimagesize]: Unable to access /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/63_541cddee71ebca3b62fee14db7b4f285 in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 34

Warning: getimagesize(/customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/63_541cddee71ebca3b62fee14db7b4f285) [function.getimagesize]: failed to open stream: No such file or directory in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 34

Warning: copy() [function.copy]: Unable to access /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/63_541cddee71ebca3b62fee14db7b4f285 in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 36

Warning: copy(/customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/63_541cddee71ebca3b62fee14db7b4f285) [function.copy]: failed to open stream: No such file or directory in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 36

Warning: getimagesize() [function.getimagesize]: Unable to access /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/63_dadc390baab88aac837933fa85193367 in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 34

Warning: getimagesize(/customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/63_dadc390baab88aac837933fa85193367) [function.getimagesize]: failed to open stream: No such file or directory in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 34

Warning: copy() [function.copy]: Unable to access /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/63_dadc390baab88aac837933fa85193367 in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 36

Warning: copy(/customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/63_dadc390baab88aac837933fa85193367) [function.copy]: failed to open stream: No such file or directory in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 36

Warning: getimagesize() [function.getimagesize]: Unable to access /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/142_50d19fc2690643c24051f14f6ef7bc68 in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 34

Warning: getimagesize(/customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/142_50d19fc2690643c24051f14f6ef7bc68) [function.getimagesize]: failed to open stream: No such file or directory in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 34

Warning: copy() [function.copy]: Unable to access /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/142_50d19fc2690643c24051f14f6ef7bc68 in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 36

Warning: copy(/customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/142_50d19fc2690643c24051f14f6ef7bc68) [function.copy]: failed to open stream: No such file or directory in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 36

Warning: getimagesize() [function.getimagesize]: Unable to access /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/142_1bfa6abd375d514fc4b1856c71df79c6 in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 34

Warning: getimagesize(/customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/142_1bfa6abd375d514fc4b1856c71df79c6) [function.getimagesize]: failed to open stream: No such file or directory in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 34

Warning: copy() [function.copy]: Unable to access /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/142_1bfa6abd375d514fc4b1856c71df79c6 in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 36

Warning: copy(/customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/142_1bfa6abd375d514fc4b1856c71df79c6) [function.copy]: failed to open stream: No such file or directory in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 36

Warning: getimagesize() [function.getimagesize]: Unable to access /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/81_b5bbdfa54d5ec12d1a2d325daddb3b58 in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 34

Warning: getimagesize(/customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/81_b5bbdfa54d5ec12d1a2d325daddb3b58) [function.getimagesize]: failed to open stream: No such file or directory in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 34

Warning: copy() [function.copy]: Unable to access /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/81_b5bbdfa54d5ec12d1a2d325daddb3b58 in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 36

Warning: copy(/customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/81_b5bbdfa54d5ec12d1a2d325daddb3b58) [function.copy]: failed to open stream: No such file or directory in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 36

Warning: getimagesize() [function.getimagesize]: Unable to access /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/81_106f2e85d531fe6aecd1da1e5f5c8224 in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 34

Warning: getimagesize(/customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/81_106f2e85d531fe6aecd1da1e5f5c8224) [function.getimagesize]: failed to open stream: No such file or directory in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 34

Warning: copy() [function.copy]: Unable to access /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/81_106f2e85d531fe6aecd1da1e5f5c8224 in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 36

Warning: copy(/customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/81_106f2e85d531fe6aecd1da1e5f5c8224) [function.copy]: failed to open stream: No such file or directory in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 36

Warning: getimagesize() [function.getimagesize]: Unable to access /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/81_e2152b818bc5bad79c2d3a26a33e13f1 in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 34

Warning: getimagesize(/customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/81_e2152b818bc5bad79c2d3a26a33e13f1) [function.getimagesize]: failed to open stream: No such file or directory in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 34

Warning: copy() [function.copy]: Unable to access /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/81_e2152b818bc5bad79c2d3a26a33e13f1 in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 36

Warning: copy(/customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/81_e2152b818bc5bad79c2d3a26a33e13f1) [function.copy]: failed to open stream: No such file or directory in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 36

Warning: getimagesize() [function.getimagesize]: Unable to access /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/81_6a4f4d0bfe674e9cd0fa2869bc724529 in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 34

Warning: getimagesize(/customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/81_6a4f4d0bfe674e9cd0fa2869bc724529) [function.getimagesize]: failed to open stream: No such file or directory in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 34

Warning: copy() [function.copy]: Unable to access /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/81_6a4f4d0bfe674e9cd0fa2869bc724529 in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 36

Warning: copy(/customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/81_6a4f4d0bfe674e9cd0fa2869bc724529) [function.copy]: failed to open stream: No such file or directory in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 36

Warning: getimagesize() [function.getimagesize]: Unable to access /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/71_423026546c679ea15ca3fc88c6bbab44 in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 34

Warning: getimagesize(/customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/71_423026546c679ea15ca3fc88c6bbab44) [function.getimagesize]: failed to open stream: No such file or directory in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 34

Warning: copy() [function.copy]: Unable to access /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/71_423026546c679ea15ca3fc88c6bbab44 in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 36

Warning: copy(/customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/71_423026546c679ea15ca3fc88c6bbab44) [function.copy]: failed to open stream: No such file or directory in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 36

Warning: getimagesize() [function.getimagesize]: Unable to access /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/71_5a5fe2bff05eb11c946a1f8682b8d4e8 in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 34

Warning: getimagesize(/customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/71_5a5fe2bff05eb11c946a1f8682b8d4e8) [function.getimagesize]: failed to open stream: No such file or directory in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 34

Warning: copy() [function.copy]: Unable to access /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/71_5a5fe2bff05eb11c946a1f8682b8d4e8 in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 36

Warning: copy(/customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/71_5a5fe2bff05eb11c946a1f8682b8d4e8) [function.copy]: failed to open stream: No such file or directory in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 36

Warning: getimagesize() [function.getimagesize]: Unable to access /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/71_853b7a65fd82a83adaa0afb2d56f2d9d in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 34

Warning: getimagesize(/customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/71_853b7a65fd82a83adaa0afb2d56f2d9d) [function.getimagesize]: failed to open stream: No such file or directory in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 34

Warning: copy() [function.copy]: Unable to access /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/71_853b7a65fd82a83adaa0afb2d56f2d9d in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 36

Warning: copy(/customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/71_853b7a65fd82a83adaa0afb2d56f2d9d) [function.copy]: failed to open stream: No such file or directory in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 36

Warning: getimagesize() [function.getimagesize]: Unable to access /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/81_9883016855612c831775290b176665a9 in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 34

Warning: getimagesize(/customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/81_9883016855612c831775290b176665a9) [function.getimagesize]: failed to open stream: No such file or directory in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 34

Warning: copy() [function.copy]: Unable to access /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/81_9883016855612c831775290b176665a9 in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 36

Warning: copy(/customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/81_9883016855612c831775290b176665a9) [function.copy]: failed to open stream: No such file or directory in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 36

Warning: getimagesize() [function.getimagesize]: Unable to access /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/65_8a9c114a3590f1a723ae8b4862d7efe4 in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 34

Warning: getimagesize(/customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/65_8a9c114a3590f1a723ae8b4862d7efe4) [function.getimagesize]: failed to open stream: No such file or directory in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 34

Warning: copy() [function.copy]: Unable to access /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/65_8a9c114a3590f1a723ae8b4862d7efe4 in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 36

Warning: copy(/customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/65_8a9c114a3590f1a723ae8b4862d7efe4) [function.copy]: failed to open stream: No such file or directory in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 36

Warning: getimagesize() [function.getimagesize]: Unable to access /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/64_dd378f66eb8bdafc7f18fc05f189ab40 in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 34

Warning: getimagesize(/customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/64_dd378f66eb8bdafc7f18fc05f189ab40) [function.getimagesize]: failed to open stream: No such file or directory in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 34

Warning: copy() [function.copy]: Unable to access /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/64_dd378f66eb8bdafc7f18fc05f189ab40 in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 36

Warning: copy(/customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/64_dd378f66eb8bdafc7f18fc05f189ab40) [function.copy]: failed to open stream: No such file or directory in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 36

Warning: getimagesize() [function.getimagesize]: Unable to access /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/65_1e1417c3758bb7d31fc81df740993f49 in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 34

Warning: getimagesize(/customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/65_1e1417c3758bb7d31fc81df740993f49) [function.getimagesize]: failed to open stream: No such file or directory in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 34

Warning: copy() [function.copy]: Unable to access /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/65_1e1417c3758bb7d31fc81df740993f49 in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 36

Warning: copy(/customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/65_1e1417c3758bb7d31fc81df740993f49) [function.copy]: failed to open stream: No such file or directory in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 36

Warning: getimagesize() [function.getimagesize]: Unable to access /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/64_43bd8c5514456a70723022e56aafd8eb in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 34

Warning: getimagesize(/customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/64_43bd8c5514456a70723022e56aafd8eb) [function.getimagesize]: failed to open stream: No such file or directory in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 34

Warning: copy() [function.copy]: Unable to access /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/64_43bd8c5514456a70723022e56aafd8eb in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 36

Warning: copy(/customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/64_43bd8c5514456a70723022e56aafd8eb) [function.copy]: failed to open stream: No such file or directory in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 36

Warning: getimagesize() [function.getimagesize]: Unable to access /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/81_8a9c72b20e1e4ac5d79ba5435cc3d9ed in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 34

Warning: getimagesize(/customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/81_8a9c72b20e1e4ac5d79ba5435cc3d9ed) [function.getimagesize]: failed to open stream: No such file or directory in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 34

Warning: copy() [function.copy]: Unable to access /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/81_8a9c72b20e1e4ac5d79ba5435cc3d9ed in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 36

Warning: copy(/customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/81_8a9c72b20e1e4ac5d79ba5435cc3d9ed) [function.copy]: failed to open stream: No such file or directory in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 36

Warning: getimagesize() [function.getimagesize]: Unable to access /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/161_61ee8f531f9e100ef566dff2c2ba81f8 in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 34

Warning: getimagesize(/customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/161_61ee8f531f9e100ef566dff2c2ba81f8) [function.getimagesize]: failed to open stream: No such file or directory in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 34

Warning: copy() [function.copy]: Unable to access /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/161_61ee8f531f9e100ef566dff2c2ba81f8 in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 36

Warning: copy(/customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/161_61ee8f531f9e100ef566dff2c2ba81f8) [function.copy]: failed to open stream: No such file or directory in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 36

Warning: getimagesize() [function.getimagesize]: Unable to access /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/161_d17b36c91b7466944c4e03e950c7efd5 in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 34

Warning: getimagesize(/customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/161_d17b36c91b7466944c4e03e950c7efd5) [function.getimagesize]: failed to open stream: No such file or directory in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 34

Warning: copy() [function.copy]: Unable to access /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/161_d17b36c91b7466944c4e03e950c7efd5 in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 36

Warning: copy(/customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/161_d17b36c91b7466944c4e03e950c7efd5) [function.copy]: failed to open stream: No such file or directory in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 36

Warning: getimagesize() [function.getimagesize]: Unable to access /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/161_ecb393604e1bfa28c79bc9238bf48d3e in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 34

Warning: getimagesize(/customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/161_ecb393604e1bfa28c79bc9238bf48d3e) [function.getimagesize]: failed to open stream: No such file or directory in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 34

Warning: copy() [function.copy]: Unable to access /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/161_ecb393604e1bfa28c79bc9238bf48d3e in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 36

Warning: copy(/customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/161_ecb393604e1bfa28c79bc9238bf48d3e) [function.copy]: failed to open stream: No such file or directory in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 36

Warning: getimagesize() [function.getimagesize]: Unable to access /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/161_8af87ee9c074a9c7bf6ce3608e873f69 in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 34

Warning: getimagesize(/customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/161_8af87ee9c074a9c7bf6ce3608e873f69) [function.getimagesize]: failed to open stream: No such file or directory in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 34

Warning: copy() [function.copy]: Unable to access /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/161_8af87ee9c074a9c7bf6ce3608e873f69 in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 36

Warning: copy(/customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/161_8af87ee9c074a9c7bf6ce3608e873f69) [function.copy]: failed to open stream: No such file or directory in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 36

Warning: getimagesize() [function.getimagesize]: Unable to access /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/161_a20d0d3988c6fc6c5b6d330b3c4f7e58 in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 34

Warning: getimagesize(/customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/161_a20d0d3988c6fc6c5b6d330b3c4f7e58) [function.getimagesize]: failed to open stream: No such file or directory in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 34

Warning: copy() [function.copy]: Unable to access /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/161_a20d0d3988c6fc6c5b6d330b3c4f7e58 in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 36

Warning: copy(/customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/161_a20d0d3988c6fc6c5b6d330b3c4f7e58) [function.copy]: failed to open stream: No such file or directory in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 36
Successful.
Recalculating forum statistics... Successful.

Notice: Undefined variable: to_prefix in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php on line 1821
Unsuccessful!
This query:

    REPLACE INTO settings (variable, value)
    VALUES ('conversion_time', 1260880303),
    ('conversion_from', 'phpbb3_to_smf.sql');

Caused the error:

    No database selected



Title: Re: [SMF Converter] phpBB3
Post by: Norv on December 15, 2009, 11:26:38 AM
About the many errors referring to missing files: it seems your attachments cannot be found. If you take a look at one of the errors, can you tell if the file the converter is searching for exists?
Like:
Quote
Warning: copy() [function.copy]: Unable to access /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/161_61ee8f531f9e100ef566dff2c2ba81f8 in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 36
Does the file /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/161_61ee8f531f9e100ef566dff2c2ba81f8 exist?

About the last error: please ignore it, it won't affect the conversion.

About the login fix: how do you run it, that is says "hacking attempt"?
Title: Re: [SMF Converter] phpBB3
Post by: JerX on December 15, 2009, 01:58:56 PM
About the many errors referring to missing files: it seems your attachments cannot be found. If you take a look at one of the errors, can you tell if the file the converter is searching for exists?
Like:
Quote
Warning: copy() [function.copy]: Unable to access /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/161_61ee8f531f9e100ef566dff2c2ba81f8 in /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/convert.php(1109) : eval()'d code on line 36
Does the file /customers/foxyfighters.eu/foxyfighters.eu/httpd.www/phpbb/files/161_61ee8f531f9e100ef566dff2c2ba81f8 exist?

About the last error: please ignore it, it won't affect the conversion.

About the login fix: how do you run it, that is says "hacking attempt"?


Checked the attachment path, but there aint nothing there. Only a .htaccess and index.htm file (seems standard).

For the hack attempt, uhmm no clue how to run it tbh. I just uploaded it to my ftp... and used the ftp path to access the file.
Title: Re: [SMF Converter] phpBB3
Post by: Norv on December 15, 2009, 03:41:47 PM
Checked the attachment path, but there aint nothing there. Only a .htaccess and index.htm file (seems standard).
Can you please tell, where are your attachments in phpbb then? Is your path different than the default?

For the hack attempt, uhmm no clue how to run it tbh. I just uploaded it to my ftp... and used the ftp path to access the file.
The package is a SMF mod, which should be uploaded in ./Packages subdirectory, and use the Admin panel in SMF to install it (Admin >
However, since you cannot login as admin for the moment, you can instead take a look at the instructions in the first post, to modify manually the SMF file ./Sources/LogInOut.php. After you do, you should be able to login and so should all members (and don't need to install it anymore).
Title: Re: [SMF Converter] phpBB3
Post by: JerX on December 15, 2009, 06:14:19 PM
i never changed the default attachments folder, maybe its due this phpbb install is a backup from other domain. But i know for sure that the attachment path was on default there also.

For the login, uhmm i know installed phpBB3_Login_Fix.tgz (on SMF right?..) But dunno if the php file also was needed to install.

Title: Re: [SMF Converter] phpBB3
Post by: GravuTrad on December 16, 2009, 07:54:28 AM
Hi,

I just used the converter to go from phpb 3.0.6 to SMF 1.1.11, installed the phpbb3_login_fix. My biggest issue is images that were posted arent showing up unless you opened em up in the editor n save em. Normal bbc code [img] too.

Same problem for me. A refresh problem?
Title: Re: [SMF Converter] phpBB3
Post by: GravuTrad on December 16, 2009, 08:00:47 AM
PlayfulGod:
can you please show/screenshot/link an example of the problem?

Not needed cause not very explicit.
After conversion, the img bbcode tag is well keeped, but images are not showed. We need to edit the posts and save them to display them. (and sometimes it won't work, we need to preview before saving so that it works)

how to refresh it correctly on all the forum in one time?
Title: Re: [SMF Converter] phpBB3
Post by: Norv on December 16, 2009, 02:34:29 PM
i never changed the default attachments folder, maybe its due this phpbb install is a backup from other domain. But i know for sure that the attachment path was on default there also.
If this folder is your phpbb attachments folder, and the attachments from phpbb are not there, then your SMF forum as well will have no attachments. Perhaps it would be worth trying to check your former host server, to copy the attachments too, to the new host.

For the login, uhmm i know installed phpBB3_Login_Fix.tgz (on SMF right?..) But dunno if the php file also was needed to install.

There seems to be a misunderstanding about "package installation" in SMF and what it does.

Option 1: The package you mention should be installed in SMF this way:
- copy the file to your SMF installation's Packages folder
- login on the forum as admin
- go to Admin > Packages and you will see a list of packages : click Apply on the Login Fix package.
This means to install a package in SMF. By simply uploading it, as I understand from what you say, it's not installed yet.

About the second step: how to login as admin after conversion. To login as admin, you can: make another account on the forum, then apply the procedure here: http://docs.simplemachines.org/index.php?topic=466

Option 2: don't use the package. Forget about it. Instead, check out the instructions in the topic. They tell how to do manually what the package installation would have done automatically: edit the file LogInOut.php (from your SMF forum directory, Sources subdirectory) as explained in the first post.

Note: when you would click Apply to install the package, what happens would be that LogInOut.php would be automatically edited to replace the code as in the instructions. That's why I say there are two options: either install the package automatically, so it does those edits itself, either make the edits manually and you're done. (after the edits are made everybody's passwords in phpbb3 style should be recognized by SMF).

In case you're not sure how to edit the file, please feel free to attach it here, and we'll try to do it.
Title: Re: [SMF Converter] phpBB3
Post by: Norv on December 16, 2009, 02:36:38 PM
PlayfulGod:
can you please show/screenshot/link an example of the problem?

Not needed cause not very explicit.
After conversion, the img bbcode tag is well keeped, but images are not showed. We need to edit the posts and save them to display them. (and sometimes it won't work, we need to preview before saving so that it works)

how to refresh it correctly on all the forum in one time?

Thanks for the explanation, can you please eventually copy paste here a code of a post after conversion, which has tags but they don't seem to work correctly? I am trying to replicate the issue.
Title: Re: [SMF Converter] phpBB3
Post by: JerX on December 17, 2009, 01:58:16 AM
Quote
About the second step: how to login as admin after conversion. To login as admin, you can: make another account on the forum, then apply the procedure here: http://docs.simplemachines.org/index.php?topic=466

This worked instantly for me m8! And i don't care much about the attachments all seems fine now:) Gonna fix some usergroups and permissions now. Thank you so much!
Title: Re: [SMF Converter] phpBB3
Post by: Norv on December 17, 2009, 02:06:28 AM
Quote
About the second step: how to login as admin after conversion. To login as admin, you can: make another account on the forum, then apply the procedure here: http://docs.simplemachines.org/index.php?topic=466

This worked instantly for me m8! And i don't care much about the attachments all seems fine now:) Gonna fix some usergroups and permissions now. Thank you so much!

Cheers, good to hear!
Please note however, that you should apply the login fix, either using the first method, either the second. Otherwise the rest of the members cannot login.
Title: Re: [SMF Converter] phpBB3
Post by: JerX on December 17, 2009, 12:24:23 PM
Quote
About the second step: how to login as admin after conversion. To login as admin, you can: make another account on the forum, then apply the procedure here: http://docs.simplemachines.org/index.php?topic=466
This worked instantly for me m8! And i don't care much about the attachments all seems fine now:) Gonna fix some usergroups and permissions now. Thank you so much!

Cheers, good to hear!
Please note however, that you should apply the login fix, either using the first method, either the second. Otherwise the rest of the members cannot login.

I will keep that in mind, ty:)
Title: Re: [SMF Converter] phpBB3
Post by: GravuTrad on December 17, 2009, 01:51:21 PM
PlayfulGod:
can you please show/screenshot/link an example of the problem?

Not needed cause not very explicit.
After conversion, the img bbcode tag is well keeped, but images are not showed. We need to edit the posts and save them to display them. (and sometimes it won't work, we need to preview before saving so that it works)

how to refresh it correctly on all the forum in one time?

Thanks for the explanation, can you please eventually copy paste here a code of a post after conversion, which has tags but they don't seem to work correctly? I am trying to replicate the issue.

you can test with any test post with [img] bbcode tag and text on a phpbb3 forum. after conversion, these tags don't display the image. we need to edit the post and save it to can display them.
Title: Re: [SMF Converter] phpBB3
Post by: knockout on January 08, 2010, 01:36:00 AM
I tried installing the phpBB3_Login_Fix in smf 2.0 RC2 and is not supported, I tried doing a manual fix and part of the code is already there, is there a fix for this issue for RC2?
note that I can logon to the site if I enter my user id and pass 3 times... that will be a nightmare to admin for a couple of thousand users...
any help is appreciated.... thanks.
Title: Re: [SMF Converter] phpBB3
Post by: black-eyes1 on January 09, 2010, 06:06:48 AM
many thanks friend
but phpBB3_Login_Fix doesn't work, i face this message:
The package you are trying to download or install is either corrupt or not compatible with this version of SMF.
Title: Re: [SMF Converter] phpBB3
Post by: Norv on January 11, 2010, 02:42:59 PM
I tried installing the phpBB3_Login_Fix in smf 2.0 RC2 and is not supported, I tried doing a manual fix and part of the code is already there, is there a fix for this issue for RC2?
note that I can logon to the site if I enter my user id and pass 3 times... that will be a nightmare to admin for a couple of thousand users...

SMF 2.0 RC2 should not need the Login Fix package, because it already has the necessary modification to allow logging in all users with phpbb3 passwords.
It might happen that the first time you login, it will need to update the password, to the SMF specific hash, (but that shouldn't mean logging in three times) and after that it should just work.

michael_da: same thing: if you're using SMF 2.0 RC2, you don't need the Login Fix package. That's only for 1.1.x.

Please make sure you clean cookies before trying to login, and it shoudln't take three failed logins to manage to.
Title: Re: [SMF Converter] phpBB3
Post by: GravuTrad on January 15, 2010, 07:26:41 AM
PlayfulGod:
can you please show/screenshot/link an example of the problem?

Not needed cause not very explicit.
After conversion, the img bbcode tag is well keeped, but images are not showed. We need to edit the posts and save them to display them. (and sometimes it won't work, we need to preview before saving so that it works)

how to refresh it correctly on all the forum in one time?

Thanks for the explanation, can you please eventually copy paste here a code of a post after conversion, which has tags but they don't seem to work correctly? I am trying to replicate the issue.

you can test with any test post with [img] bbcode tag and text on a phpbb3 forum. after conversion, these tags don't display the image. we need to edit the post and save it to can display them.

Little up for the problem.
Title: Re: [SMF Converter] phpBB3
Post by: GravuTrad on January 30, 2010, 11:15:07 PM
No ideas about this problem?
Title: Re: [SMF Converter] phpBB3
Post by: knockout on February 01, 2010, 12:07:02 PM
I tried installing the phpBB3_Login_Fix in smf 2.0 RC2 and is not supported, I tried doing a manual fix and part of the code is already there, is there a fix for this issue for RC2?
note that I can logon to the site if I enter my user id and pass 3 times... that will be a nightmare to admin for a couple of thousand users...

SMF 2.0 RC2 should not need the Login Fix package, because it already has the necessary modification to allow logging in all users with phpbb3 passwords.
It might happen that the first time you login, it will need to update the password, to the SMF specific hash, (but that shouldn't mean logging in three times) and after that it should just work.

michael_da: same thing: if you're using SMF 2.0 RC2, you don't need the Login Fix package. That's only for 1.1.x.

Please make sure you clean cookies before trying to login, and it shoudln't take three failed logins to manage to.

thanks for the reply Norv, my users have been getting thru after the conversion, I posted a step by step how to on the login page, just to clarify for others who may have the same question it is not three failed attempts, basically it goes like this

1. You enter your User Name and Password... Message: Password security has recently been upgraded. Please enter your password again.

2. You enter your User Name and Password AGAIN... if both match the login screen is displayed, but no message is given so user believes something went wrong as they are staring at the login page again.

3.If you enter your User Name and Password ONE MORE TIME, you are now authenticated and allow access to site

Maybe adding a message after the site updates the security will make things easier for the user to know what just happened
something like this "Your user credentials have been updated, you can now logon"
Title: Re: [SMF Converter] phpBB3
Post by: greensmachine on February 08, 2010, 04:08:27 PM
was wondering about this converting i have a decent size board using phpBB3.0.1 was wondering how this worked, what all steps are involved, how long it takes, what exactly it does i cant risk my site,but am definitely interested in switching platforms just want as much info on this as i can get from all of you before i decide weather or not to attempt it.
Title: Re: [SMF Converter] phpBB3
Post by: Codex. on February 09, 2010, 06:39:49 AM
Got it to work eventually

Stalled on "No default set for ranks" or something

But overall good

At the moment were moving our site to smf 2, but we mainly want to just move the users over instead of all of the content, is this possible?
Title: Re: [SMF Converter] phpBB3
Post by: greensmachine on February 09, 2010, 10:02:16 AM
i have been going through this topic and am completely lost i am not new to web site byany means but i have yet to find a simple instruction on this  am i missing it or is there just not a step by step instruction sheet as all i can find are downloads no read mes no instructions tips or anything besides error fixes posted

can someone tell me where to find the step by steps or would someone write one up

so many question i have i dont know where to begin

i have a board on phpbb 3.0.1

i understand that were gonna run a sql file to convert the database over to smf

how about my files do i have to leave the phpbb3 folder on my server for the attachments, images, and such or is it going to move my files over

is there a root path that smf needs to be installed in compared to phpbb3

i am just trying to get a complete understanding of the steps i need to do in order to accomplish this as quickly as possible

all i have found are 3 text files for this conversion are they up to date with the past issues i have read (phpbb3_login; phpbb3 sql; conver.php)

this topic seems great i am very interested in switching platforms but i simply am not convinced being as i cant find step by steps

Title: Re: [SMF Converter] phpBB3
Post by: GravuTrad on February 22, 2010, 05:08:25 PM
PlayfulGod:
can you please show/screenshot/link an example of the problem?

Not needed cause not very explicit.
After conversion, the img bbcode tag is well keeped, but images are not showed. We need to edit the posts and save them to display them. (and sometimes it won't work, we need to preview before saving so that it works)

how to refresh it correctly on all the forum in one time?

Thanks for the explanation, can you please eventually copy paste here a code of a post after conversion, which has tags but they don't seem to work correctly? I am trying to replicate the issue.

you can test with any test post with [img] bbcode tag and text on a phpbb3 forum. after conversion, these tags don't display the image. we need to edit the post and save it to can display them.

Little up for the problem.

up for this bug.

do i need to make a single subject for it?
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on February 23, 2010, 01:50:26 PM
GravuTrad,
can you attach your phpbb3_to_smf.sql please? I've checked the <img>-tag conversion on my local system and everything seems fine (<img> tag was properly converted and the images are visible in SMF).. my source forum was a phpBB 3.0.6.
Title: Re: [SMF Converter] phpBB3
Post by: darkspreader on March 14, 2010, 12:02:41 AM
Add me to the bandwagon for the [img] tag problem. I used the converter which is on the Downloads page. Posts and signatures have to be edited then re-saved for the images to show up.

I am going from phpBB3 3.0.0 to SMF 1.1.11.

Edit: I retried the converter using the .sql file on the first post of this thread, and I also downloaded the converter.php off of the thread linked in the OP. Still nothing. I attached a copy of my converter .sql file

I would like to get this resolved as soon as possible. Thanks. Also, TE, it's a matter of the [img] tag, not the <img> tag.
Title: Re: [SMF Converter] phpBB3
Post by: VampiricPadraig on April 18, 2010, 02:55:08 PM
Hello, I am converting from 3.0.7-PL1 to the latest SMF and when I enter the information on step one. I get a error
Code: [Select]
Fatal error: Call to undefined function: loaddatabase() in ../new/convert.php on line 414
I removed some of the file location for security purposes, but you can still (hopefully) work from this. phpbb3 is on the root of my FTP
Title: Re: [SMF Converter] phpBB3
Post by: Norv on April 18, 2010, 04:00:40 PM
Please note: on this site, Downloads > converters, you can find 2 packages: one from phpbb3 to SMF 1.1.11, and one from phpbb3 to SMF 2.0 RC3.
If you installed SMF 1.1.11, use the appropriate one, similar if you installed SMF 2.0 RC3. They're only compatible with the same SMF version.
Title: Re: [SMF Converter] phpBB3
Post by: VampiricPadraig on April 18, 2010, 04:22:50 PM
D'oh! Stupid me.

Thanks for that Norv.

No other problems to report
Title: Re: [SMF Converter] phpBB3
Post by: Clauu on May 12, 2010, 06:11:07 PM
Hi,
Just converted from phpbb3 to smf1.1.11 with password hash support(LogInOut.php edited) and gives me an error when try to login/logout:
Code: [Select]
Parse error: syntax error, unexpected $end in /var/www/smf/Sources/LogInOut.php  on line 500
Title: Re: [SMF Converter] phpBB3
Post by: Norv on May 12, 2010, 06:17:54 PM
It seems the edit you did has a mistake.
You may want to grab a new file from the installation package, and edit it to replace only the edit pointed out in the first post, with the edit to replace.
Please consider using a lightweight code editor like Notepad++ on Windows, too, to be sure. (some document editors may insert characters of their own).
Title: Re: [SMF Converter] phpBB3
Post by: Clauu on May 13, 2010, 07:44:21 AM
It seems the edit you did has a mistake.
You may want to grab a new file from the installation package, and edit it to replace only the edit pointed out in the first post, with the edit to replace.
Please consider using a lightweight code editor like Notepad++ on Windows, too, to be sure. (some document editors may insert characters of their own).
Seems that you're right, something was wrong, now it's fine. Thanks  ;D
Title: Re: [SMF Converter] phpBB3
Post by: Freddo_ on June 05, 2010, 02:22:03 AM
Hello, When Converting from phpBB 3.0.7-PL1 to SMF 1.1.11. I have followed the stepts to ensure there was an administrator account it was UTF-8 as default.
Now when I run the convert.php script it all goes smoothly. I did use the modifcation for the phpBB hashing of the passwords.
But when Its complete I can login with the administrators accounts on the orginal Forums. I know it doesn't copy across the permissions but it should bring across an admin account right? and the one I created doesn't work (the one that is created when installing).

I was hoping someone would be able to help out.

Kind Regards
Freddo (Matt)

Edit: I found that all the users had been stripped of the group 1 (admins) in the database. I added "1" to the list in the table _members under col additionalGroups. If this is going to hinder any other problems please let me know thank you
Title: Re: [SMF Converter] phpBB3
Post by: Norv on June 08, 2010, 03:59:45 PM
Thank you for letting us know... Oddly enough, I don't seem to have it happening.
But no, I don't expect to have other problems.
Title: Re: [SMF Converter] phpBB3
Post by: FrEaK@ZoiD !!! on June 11, 2010, 01:39:20 PM
PlayfulGod:
can you please show/screenshot/link an example of the problem?

Not needed cause not very explicit.
After conversion, the img bbcode tag is well keeped, but images are not showed. We need to edit the posts and save them to display them. (and sometimes it won't work, we need to preview before saving so that it works)

how to refresh it correctly on all the forum in one time?

Thanks for the explanation, can you please eventually copy paste here a code of a post after conversion, which has tags but they don't seem to work correctly? I am trying to replicate the issue.

you can test with any test post with [img] bbcode tag and text on a phpbb3 forum. after conversion, these tags don't display the image. we need to edit the post and save it to can display them.

Little up for the problem.

up for this bug.

do i need to make a single subject for it?
Re - UP for this bug!
I'm just converted PHPBB3.0.7-PL1 to SMF 1.1.11. Everything gone smoothly but I reached out the img link bug.
Inside all posts i have an image broken icon. The link to the image is with a double Http: inside,
going like this: "http:http://www.whatever.com...".

Sorry if this bug is already solved, but i swear i made a good search inside the board and didn't find any reference to this bug!

Thanx to any help !!
Title: Re: [SMF Converter] phpBB3
Post by: the-outdoorsman on June 18, 2010, 10:20:20 PM
I downloaded the package but not sure what to do with it. Can I use the package manager in smf to install this?
Title: Re: [SMF Converter] phpBB3
Post by: Norv on June 19, 2010, 05:41:42 AM
Please see:
Converting to SMF (http://docs.simplemachines.org/index.php?board=4.0;sort=subject)
Title: Re: [SMF Converter] phpBB3
Post by: the-outdoorsman on June 19, 2010, 02:56:46 PM
Thank you for the link. That is what I needed. Looks like I am going to have a problem though. It says:

Note: The converter will not work unless SMF has access to the database that the forum you're converting from is on. For best results, you should install SMF on the same database as the forum you're converting from. If this is not possible, you will need to make sure that the database user account being used for SMF has access to the other forum's database. If you are not sure how to do this, please ask on the forum and someone should be able to assist you.

I made a new database for my SMF. I have all ready done a bridge to my joomla website so I don't really want to reinstall this in to my same data base as my phpbb is on. I didn't even know you could put them on the same database.
So I was wondering how I go about getting SMF access to my other database?

Thank you for any help you can give me
KC
Title: Re: [SMF Converter] phpBB3
Post by: the-outdoorsman on June 19, 2010, 03:31:28 PM
I figured out how to give it access to the database. At the end I get this:

Converting posts...
Duplicate entry '2' for key 'PRIMARY'

All the pics that were posted come up with red x now. Most of the pics were not attachments but rather bbcode for inset image. One more thing. When I installed SMF, I installed it to forum on my server. My phpbb forum was in this directory and I just renamed it to forum1. Will this make a difference?

Also it takes logging in three times to get logged in
Title: Re: [SMF Converter] phpBB3
Post by: the-outdoorsman on June 19, 2010, 03:45:47 PM
Well I ran the converter again and now it says it converted it. Still have the red x for the photos that were posted though. And I still have to log in three times the first time I log on.
Title: Re: [SMF Converter] phpBB3
Post by: the-outdoorsman on June 19, 2010, 04:20:53 PM
One more thing, If I admin a post all text is there for the image that was inserted with bbcode. I don't change a thing and then hit save and then the photos show up.
Title: Re: [SMF Converter] phpBB3
Post by: Nalfeim on June 24, 2010, 09:54:47 AM
Hi

I got a hell of a mess here. I'm trying to convert my phpBB 3.0.5. There's quite a lot of post, even after a good deal of cleaning oldies. PHP is in safe mode and I can't do anything about it. It means that I had to comment all the "set_time_limit" to get the script to run.
The problems is, I guess, that there's a timeout preventing the script to complete.

Is there any way to work around this? Maybe manually calling the step with specific url?...

I'm currently trying to duplicate the forum on a local apache server to convert it then import SMF database in a newly installed database on the web version. That's not going very well because my web provider is what you would call "free crap", the database export is messed up. I'll manage it somehow with time, but I would appreciate any easier way!

Thanks
Title: Re: [SMF Converter] phpBB3
Post by: AussieGamer on July 31, 2010, 01:45:13 AM
So, ran the converter, and the password fix in the LoginLogOut.php file, but have lost administrator privs.

Ran the database query to change member group to "1", however, that gives even LESS options that a 'Newbie'; having the administrator only allowed to choose "Home, Help and Logout"....

Any help?

Also, while we're at it, can anyone point me in the direction of a WordPress integration mod?
Title: Re: [SMF Converter] phpBB3
Post by: oziboy on August 03, 2010, 09:10:17 PM
Thanks to all you guys for all the work with the phpBB Converter.

UTF-8 was where I let myself down with my conversion, but I have it all sorted now - I hope.
Title: Re: [SMF Converter] phpBB3
Post by: SavvyQc on September 29, 2010, 08:46:36 AM
Hello,
trying to convert from phpbb3. Got the forums installed, and got familiar with the admin panel some. Then began the conversion. It's stalled out on the posts (there are many) and then stops after polls.

I can't login, so i downloaded the login fix package. But how am i supposed to install it, if i can't login?

thanks for any help or advice
Title: Re: [SMF Converter] phpBB3
Post by: SavvyQc on September 29, 2010, 09:14:46 AM
just ran it again,....it gets stuck at:

Converting posts...
Successful.
Converting polls... Successful.
Converting poll options...Duplicate entry '1607-3' for key 1




then halts.  :o
Title: Re: [SMF Converter] phpBB3
Post by: SavvyQc on September 29, 2010, 09:22:47 AM
ok - got past that by forcing the substeps in the url. Got to a sucessfull conversion page. Still can't login  >.<

"Password security has recently been upgraded. Please enter your password again."

I think the problem is that I started with a fresh password on this smf install. Now i have 2 id's with two different passwords?

I will have to try that manual edit on the passwords, but i'm not sure how to get which password fixed. Shoot, i should have used the same password.  :(
Title: Re: [SMF Converter] phpBB3
Post by: SavvyQc on September 29, 2010, 09:30:41 AM
hmm, whelp, got the loginout opened up and looks like this code is there!


um...... i don't know.

edited to say:
I tried to login using my test account. The password autofilled...... but then told me it was incorrect.

and it basically seems to be stuck in maintenance mode and admin login.

I'm super excited to get this going. I have been bashing my head on php coding for 12 years. I couldn't believe it when i started messing with the test smf forum (After a friend referred me) and the package installer - woow. calendar, subscriptions, newsletters, quickreply, shoutbox. bam. I'm very excited.

sorry for the multiple posts. I'll watch this spot for a reply.  :)

edited again to add:
i'll start reading through this entire 38 page thread, daunting that it is.  lol

edited 3rd time:
i wiped it all off the server and started over. This time my admin name is different. the whole board is there!!! everything!!
all the members, forums, threads.....it's beautiful.

can you hear the angels singing???
Title: Re: [SMF Converter] phpBB3
Post by: TheZenith on October 07, 2010, 02:06:38 AM
Quote
Sorry, the database connection information used in the specified installation of SMF cannot access the installation of phpBB3. This may either mean that the installation doesn't exist, or that the MySQL account used does not have permissions to access it.

The error MySQL gave was: SELECT command denied to user 'zenith_smf120'@'localhost' for table 'pokechamps_users'
Could someone help? I'm converting 3.0.7 PL to SMF 1.11
Title: Re: [SMF Converter] phpBB3
Post by: xenovanis on October 07, 2010, 07:16:17 PM
hmm, whelp, got the loginout opened up and looks like this code is there!


um...... i don't know.

edited to say:
I tried to login using my test account. The password autofilled...... but then told me it was incorrect.

and it basically seems to be stuck in maintenance mode and admin login.

I'm super excited to get this going. I have been bashing my head on php coding for 12 years. I couldn't believe it when i started messing with the test smf forum (After a friend referred me) and the package installer - woow. calendar, subscriptions, newsletters, quickreply, shoutbox. bam. I'm very excited.

sorry for the multiple posts. I'll watch this spot for a reply.  :)

edited again to add:
i'll start reading through this entire 38 page thread, daunting that it is.  lol

edited 3rd time:
i wiped it all off the server and started over. This time my admin name is different. the whole board is there!!! everything!!
all the members, forums, threads.....it's beautiful.

can you hear the angels singing???

Very sorry for the late reply, SavvyQc. To what version of SMF did you convert? You might want to reset your password by using the "forgot your password?" link and see if you're able to login then.

If you converted to SMF 1.1.11, in the first post of this topic is a mod attached that should fix the login problems. Once you gained access to your forum, you can install it in Admin -> Main -> Packages.

Quote
Sorry, the database connection information used in the specified installation of SMF cannot access the installation of phpBB3. This may either mean that the installation doesn't exist, or that the MySQL account used does not have permissions to access it.

The error MySQL gave was: SELECT command denied to user 'zenith_smf120'@'localhost' for table 'pokechamps_users'
Could someone help? I'm converting 3.0.7 PL to SMF 1.11

Please continue here:
http://www.simplemachines.org/community/index.php?topic=403862.msg2810166#msg2810166
Title: Re: [SMF Converter] phpBB3
Post by: trollxp on November 06, 2010, 09:26:14 AM
Hi all

I've got fresh installation of SMF and phpbb3 working forum. Everytime I use convert.php file I got a message:

The requested URL /smf/', $_SERVER['PHP_SELF'], ' was not found on this server.

SMF is here: www mydomain.pl/smf
convert is here: www mydomain.pl/smf/convert.php
localpath is: /domains/mydomain.pl/public_html/smf/

What am I doing wrong?

Regards
Troll
Title: Re: [SMF Converter] phpBB3
Post by: mrpeco on November 26, 2010, 03:50:45 PM
hello, sory for asking this question. but i don't know how to fix it. hope somebody feel free to help me :)
i got this error :

Quote
Caused the error:

    Duplicate entry '4173-1' for key 1

anybody know ? thx
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on November 26, 2010, 04:07:43 PM
can you please post the full error message? the interesting part is missing (which part was it? topics, messages?)
Title: Re: [SMF Converter] phpBB3
Post by: mrpeco on November 26, 2010, 04:53:21 PM
Quote
Converting posts... Successful.
Converting polls... Successful.
Converting poll options... Unsuccessful!
This query:

    INSERT INTO `kroniko_phpb1`.smf_poll_choices
    (ID_POLL, ID_CHOICE, label, votes)
    VALUES ('198', '1', 'boxer', '6'),
    ('4173', '1', 'sayang etong', '0'),
    ('4173', '1', 'Setuju', '7'),
    ('4036', '1', 'Wat Mcm Xnah Wujud', '3'),
    ('3875', '1', 'Setiap kali bangun pagi sahaja', '0'),
    ('2261', '1', 'I encode movies', '0'),
    ('2208', '1', '300MB MOVIES', '0'),
    ('2206', '1', '300MB MOVIES THREAD', '1'),
    ('1929', '1', 'Ya', '1'),
    ('425', '1', 'batu gajah berwarna/hitam/putih', '1'),
    ('4173', '2', 'Tak Setuju', '1'),
    ('3875', '2', 'Setiap kali bangun pagi dan sebelum tidur malam', '3'),
    ('425', '2', 'batu 1 line standard size berwarna/hitam/putih', '0'),
    ('2261', '2', 'to H.264 codec', '0'),
    ('4173', '2', 'xsayang etong', '0'),
    ('2208', '2', '300MB MOVIES MOVIE THREAD', '0'),
    ('4036', '2', 'Anggap Perkara 2 Xnah Berlaku', '4'),
    ('2206', '2', '300MB', '0'),
    ('1929', '2', 'Tidak', '2'),
    ('198', '2', 'spende', '0'),
    ('198', '3', 'boxer &amp;amp; spende', '1'),
    ('4036', '3', 'X Dpt Terima Knyataan (Cerai/Minx Cerai)', '5'),
    ('2208', '3', '10,000 BC', '1'),
    ('3875', '3', 'Setiap kali lepas makan', '0'),
    ('425', '3', 'batu oktant 3 bintang', '0'),
    ('3875', '4', 'Setiap kali mandi', '1'),
    ('4036', '4', 'Balas Balik Apa Yg Suami/Isteri Wat Dulu', '1'),
    ('425', '4', 'batu oktant bunga sekuntum', '1'),
    ('425', '5', 'batu oktant 3segi', '0'),
    ('3875', '5', 'Sebelum solat 5 waktu', '1'),
    ('4036', '5', 'Redha', '15'),
    ('4036', '6', 'Lain-lain (Nyatakan)', '1'),
    ('3875', '6', 'Setiap satu jam', '0'),
    ('425', '6', 'batu oktant bentuk S', '0'),
    ('3875', '7', 'Bila teringat nak berus gigi', '1'),
    ('3875', '8', 'Kadang-kadang bila nak jer', '0'),
    ('3875', '9', 'Tak pernah berus gigi langsung', '0'),
    ('4679', '1', 'Merempit', '2'),
    ('4679', '2', 'Sambut di dataran atau konsert memana', '3'),
    ('4679', '3', 'Nengok tv je kat rumah', '1'),
    ('4679', '4', 'Memancing ikan mahupun awek', '2'),
    ('4679', '5', 'Mengadap skrin komputer', '10'),
    ('4679', '6', 'Tidur tak ingat donia', '5'),
    ('4679', '7', 'Layan bunga api', '7'),
    ('4692', '1', 'Kronik dahulu', '7'),
    ('4692', '2', 'Kronik Skrang', '14'),
    ('4722', '1', 'Sudah', '11'),
    ('4722', '2', 'Belum', '9'),
    ('4722', '3', 'Tak pasti', '9'),
    ('8855', '1', 'mutiara naga', '4'),
    ('8848', '4', 'Super Sentai/Power Rangers', '5'),
    ('8848', '3', 'Gaban/Gransazer/Ryukendo', '2'),
    ('8848', '2', 'Ultraman', '5'),
    ('8848', '1', 'Kamen Rider', '5'),
    ('8688', '5', 'biasa2 aja.', '2'),
    ('8688', '4', 'banyak keje!', '3'),
    ('8688', '3', 'bosan!', '1'),
    ('8688', '2', 'tak de kawan!', '2'),
    ('8688', '1', 'suka bangat!', '2'),
    ('6865', '1', 'yes', '1'),
    ('6865', '2', 'no', '1'),
    ('6865', '3', 'no comment', '0'),
    ('7811', '1', 'Baca Yassin', '7'),
    ('7811', '2', 'Keluar town dengan member-member', '5'),
    ('7811', '3', 'Ngadap PC', '9'),
    ('7811', '4', 'Lepak kt kedai makan', '0'),
    ('7811', '5', 'Sambut kt tmpat lain', '0'),
    ('7811', '6', 'Lepak dengan family', '0'),
    ('7811', '7', 'Kerja', '0'),
    ('7811', '8', 'Lain-lain...(nyatakan)', '3'),
    ('8100', '1', 'mmg da bom', '1'),
    ('8100', '2', 'oklah', '2'),
    ('8100', '3', 'cam poyo jer', '3'),
    ('8175', '1', 'mintak no tepon', '17'),
    ('8175', '2', 'ajak tgk wayang', '2'),
    ('8175', '3', 'ekori dia', '2'),
    ('8175', '4', 'pegi depan2. cakap i love u!', '9'),
    ('8855', '2', 'misteri naga', '0'),
    ('8855', '3', 'doraemon', '2'),
    ('8855', '4', 'yuyuhakusho', '0'),
    ('8855', '5', 'naruto', '2'),
    ('8855', '6', 'one piece', '0'),
    ('8855', '7', 'bleach', '0'),
    ('8855', '8', 'slam dunk', '0'),
    ('8869', '1', 'manga - jepun', '4'),
    ('8869', '2', 'komik - hongkong', '2'),
    ('8874', '1', 'magazine', '0'),
    ('8874', '2', 'wikipedia', '0'),
    ('8874', '3', 'dictionary', '0'),
    ('8874', '4', 'movie subtitles', '2'),
    ('8874', '5', 'internet', '1'),
    ('8874', '6', 'story book', '1'),
    ('8874', '7', 'english blog', '0'),
    ('8976', '2', 'arnab', '0'),
    ('8874', '8', 'music (latest added)', '5'),
    ('8976', '1', 'kucing', '11'),
    ('8874', '9', 'game', '1'),
    ('8976', '3', 'ikan', '2'),
    ('8976', '4', 'kura-kura', '0'),
    ('8976', '5', 'burung', '0'),
    ('8976', '6', 'hamster', '1'),
    ('9050', '1', 'Sokong Gilakk!!', '8'),
    ('9050', '2', 'Sokong...', '2'),
    ('9050', '3', 'Agak Arh...', '0'),
    ('9050', '4', 'Ok Jer??', '2'),
    ('198', '4', 'freestyle @_@', '1'),
    ('9239', '1', 'A. Tindakkan SUK Perak Betul', '0'),
    ('9239', '2', 'B. Tindakkan SUK Perak Tidak Betul', '2'),
    ('9239', '3', 'C. Tidak Pasti', '0'),
    ('9242', '1', 'A. Sah', '2'),
    ('9242', '2', 'B. Tidak Sah', '1'),
    ('9242', '3', 'C. Tidak Tahu', '0'),
    ('9540', '1', '01. Gembira Gelak Ketawa', '0'),
    ('9540', '2', '02. Aku Jiwa Music', '3'),
    ('9540', '3', '03. Burung', '0'),
    ('9540', '4', '04. Cahaya Bintang', '2'),
    ('9540', '5', '05. Hitam Putih', '1'),
    ('9540', '6', '06. I Love You Songsang', '1'),
    ('9540', '7', '07. Tombok', '0'),
    ('9540', '8', '08. Dino Clothings Rawr!', '1'),
    ('9047', '1', 'cik_are', '3'),
    ('9047', '2', 'uchiha_lat', '0'),
    ('9047', '3', 'lipan13', '1'),
    ('9047', '4', 'long_jiwa', '3'),
    ('9047', '5', 'iza', '0'),
    ('9047', '6', 'paanjeng', '2'),
    ('9047', '7', 'mikacarrick', '1'),
    ('9047', '8', 'eijizen', '0'),
    ('9047', '9', 'teh-ais', '1'),
    ('9047', '10', 'ecah88', '12'),
    ('9047', '11', 'hendrastar', '1'),
    ('9047', '12', 'shutmeup', '1'),
    ('9743', '1', 'YA !! SAYA AKAN MENUTUP LAMPU... SEBAGAI MENYOKONG EARTH HOUR 09', '11'),
    ('9743', '2', 'TENGOK KEADAAN DULU........', '1'),
    ('9743', '3', 'BUAT APA PADAM LAMPU.... BUANG MASA JE !!', '2'),
    ('9782', '1', 'LELAKI', '46'),
    ('9782', '2', 'PEREMPUAN', '11'),
    ('9787', '1', 'avast!', '1'),
    ('9787', '2', 'Avira', '3'),
    ('9787', '3', 'AVG Anti-Virus', '3'),
    ('9787', '4', 'BitDefender', '1'),
    ('9787', '5', 'F-Secure Anti-Virus', '0'),
    ('9787', '6', 'Kaspersky Anti-Virus', '13'),
    ('9787', '7', 'McAfee', '1'),
    ('9787', '8', 'NOD32 Antivirus/Smart Security', '13'),
    ('9787', '9', 'Norman ASA', '0'),
    ('9787', '10', 'Symantec Norton AntiVirus/Norton 360/Internet Security', '0'),
    ('9787', '11', 'Panda Security/Panda Titanium Antivirus', '1'),
    ('9787', '12', 'Trend Micro Internet Security', '0'),
    ('9787', '13', 'ZoneAlarm', '0'),
    ('9871', '1', 'yes', '5'),
    ('9871', '2', 'no', '0'),
    ('9871', '3', 'word... what? joomla lagi best', '1'),
    ('10850', '1', 'Lim Kok Wing University', '1'),
    ('10850', '2', 'KLMU (atau Cosmopoint)', '0'),
    ('10850', '3', 'MMU', '8'),
    ('10850', '4', 'Others', '0'),
    ('11082', '1', '20-25', '7'),
    ('11082', '2', '25-30', '14'),
    ('11082', '3', '30-35', '2'),
    ('11082', '4', '35-40', '0'),
    ('11082', '5', '40- ??', '0'),
    ('11086', '1', 'Acer', '3'),
    ('11086', '2', 'Asus', '0'),
    ('11086', '3', 'Compaq [HP]', '4'),
    ('11086', '4', 'Dell', '0'),
    ('11086', '5', 'Lenovo', '1'),
    ('11086', '6', 'MSI', '0'),
    ('11086', '7', 'Samsung', '0'),
    ('11090', '1', 'Manchester United', '12'),
    ('11090', '2', 'Barcelone', '11'),
    ('11286', '1', 'Aku cuba mengejar sedaya upaya peragut tu! ', '9'),
    ('11286', '2', 'Aku tolong telefon polis ', '2'),
    ('11286', '3', 'Aku tolong menjerit bagi menarik perhatian orang lain', '4'),
    ('11286', '4', 'Tak buat apa-apa pun, bukan masalah aku', '0'),
    ('12221', '1', 'thank you bro!', '2'),
    ('12221', '2', 'not interested...', '0'),
    ('12221', '3', 'duplicate post.. lame', '0'),
    ('12571', '1', 'Ya ', '5'),
    ('12571', '2', 'Tidak', '5'),
    ('12571', '3', 'sapa CR7?', '3'),
    ('13576', '1', 'Laptop', '10'),
    ('13576', '2', 'Desktop', '10'),
    ('17163', '1', '1 layan', '4'),
    ('17163', '2', '2 tidak layan', '1'),
    ('22875', '1', 'SETUJU', '31'),
    ('22875', '2', 'X SETUJU', '6');

Caused the error:

    Duplicate entry '4173-1' for key 1
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on November 27, 2010, 01:30:47 AM
you have to edit the phpbb3_to_smf.sql, find:
Code: [Select]
/******************************************************************************/
--- Converting poll options...
/******************************************************************************/

---* {$to_prefix}poll_choices
SELECT
topic_id AS ID_POLL, poll_option_id AS ID_CHOICE,
SUBSTRING(poll_option_text, 1, 255) AS label, poll_option_total AS votes
FROM {$from_prefix}poll_options;
---*
replace it with:
Code: [Select]
/******************************************************************************/
--- Converting poll options...
/******************************************************************************/

---* {$to_prefix}poll_choices
---{
$ignore = true;
---}
SELECT
topic_id AS ID_POLL, poll_option_id AS ID_CHOICE,
SUBSTRING(poll_option_text, 1, 255) AS label, poll_option_total AS votes
FROM {$from_prefix}poll_options;
---*

then restart the converter.
Title: Re: [SMF Converter] phpBB3
Post by: mrpeco on November 27, 2010, 12:55:16 PM
yeah! it's work. you're truly hero!!!! :D
but my forum got a problem to view image and certain bbcode is not work and also my admin access is not working. i can't login :(
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on November 27, 2010, 01:04:46 PM
the login issue is easy, check out the first post from this topic (phpbb3_login_fix.tgz)
I accidentally deleted my admin account, what do I do? (http://docs.simplemachines.org/index.php?topic=466.0)
Title: Re: [SMF Converter] phpBB3
Post by: mrpeco on November 27, 2010, 01:15:58 PM
run fine now. i can login my admin panel :D big thanks to you !!
Title: Re: [SMF Converter] phpBB3
Post by: ProtoGT on December 02, 2010, 04:58:08 PM
is there a way just to convert the database? i dont have a running phpBB forum.
Title: Re: [SMF Converter] phpBB3
Post by: Sethv2 on December 02, 2010, 05:05:26 PM
Hello all. I recently coverted my forum from Ikonboard to phpBB3. All the posts converted from Ikonboard to phpbb3 alright. However I didn't really care for that forum and couldn't find a portal I liked for it, so I just converted it to SMF. I really like SMF and found a portal I am quite happy with, however, the only posts I can click on to read are the ones that were started on the phpbb3 forum. The names of the ones from Ikonboard simply aren't there and so I have nothing to click on to read those threads. The posts counts are all correct and I can see the posts on the portal page when I select a category to be the news, so I know the information is still there. How can I fix it so I also have the thread names for the posts from Ikonboard?
Title: Re: [SMF Converter] phpBB3
Post by: Norv on December 03, 2010, 06:58:19 AM
Hey there,
Were you able to see those posts in phpbb3?
Title: Re: [SMF Converter] phpBB3
Post by: Sethv2 on December 03, 2010, 02:11:18 PM
I was able to see the posts normally on phpBB3. I've already fixed it though. I used an Ikonboard converter I found on here and just ignored the loss of three posts made on the temp phpBB3 boards.
Title: Re: [SMF Converter] phpBB3
Post by: Norv on December 03, 2010, 02:12:09 PM
Good to hear you sorted it out! :)
Title: Re: [SMF Converter] phpBB3
Post by: telles0808 on December 10, 2010, 12:23:43 PM
sorry, but the link to convert.php will pull me to another topic, and there link me here =(
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on December 10, 2010, 01:49:48 PM
convert.php is attached to this topic:
http://www.simplemachines.org/community/index.php?topic=140741.0
scroll down and you'll see that attachment (direct link: http://www.simplemachines.org/community/index.php?action=dlattach;topic=140741.0;attach=128919)
Title: Re: [SMF Converter] phpBB3
Post by: Gamogo on January 17, 2011, 05:08:43 AM
Guys I have one quick question:

Does this converter COPY the data from the PHPBB source DB into the destination SMF forum's DB, ostensibly leaving the SOURCE data untouched?
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on January 17, 2011, 09:13:07 AM
yes, the entire source data (your phpBB) will stay untouched.
Title: Re: [SMF Converter] phpBB3
Post by: Gamogo on January 17, 2011, 08:50:11 PM
yes, the entire source data (your phpBB) will stay untouched.

Awesome, thanks for the snappy response :)
Title: Re: [SMF Converter] phpBB3
Post by: mindphp on January 22, 2011, 03:39:21 PM
Great job
Thank.
Title: Re: [SMF Converter] phpBB3
Post by: Gamogo on February 11, 2011, 07:53:17 PM
I have another question.

Your script works flawlessly and we have run some successful test conversions.

However, we are looking at a fresh start to our forum (its become somewhat cluttered) by way of reorganised and recategorised forums. As such, we're saying goodbye to our old content. Clean slate and all that.

I'd like to retain usernames and passwords however so our regulars can hit the new (SMF) forum running. Is there any such way a straight user/member ONLY import is possible? Basically import user data, but nothing else. By that I mean ostensibly usernames and passwords. I'm not too concerned about PMs or other details.

Does any such import script or modification of this one to accommodate this task exist?
Title: Re: [SMF Converter] phpBB3
Post by: IchBin™ on February 11, 2011, 10:45:14 PM
I haven't seen anything like that myself. From what I have seen of the converters they just change the data in place. They don't create anything new. If you are looking to get rid of messages/pm's etc. In one of your test installs just truncate the appropriate tables that have the data that you don't want. I'd clear all the log tables on this too. Worth a try I think.
Title: Re: [SMF Converter] phpBB3
Post by: Cristian10 on February 18, 2011, 03:23:52 AM
this is really cool  8)
Title: Re: [SMF Converter] phpBB3
Post by: CheekyChimpanzee on March 03, 2011, 11:07:18 PM
I searched the topic for "RC5" but got no results...   

Can anyone advise me, will the RC4 convert.php work for a PHPBB3 to RC5 convert?
Title: Re: [SMF Converter] phpBB3
Post by: CheekyChimpanzee on March 03, 2011, 11:17:57 PM
I searched the topic for "RC5" but got no results...   

Can anyone advise me, will the RC4 convert.php work for a PHPBB3 to RC5 convert?

Don't mind me.  I tried the "suck it and see" approach and can confirm that it does infact work.
Title: Re: [SMF Converter] phpBB3
Post by: Elmo the Bear on March 06, 2011, 01:33:17 PM
Hello all

Sorry to be incredibly dense but I want to convert my board (PHP BB3.0.8 ) to SMF. I'm not an expert on any of this and I don't know how to "run" the converter.

I've backed up my PHP sql within Cpanel.... what do I do with the 'converter'.

Sorry to be thick... occupational hazard.

Thank you for any advice.
Title: Re: [SMF Converter] phpBB3
Post by: HunterP on April 03, 2011, 01:05:24 PM
Can anyone advise me, will the RC4 convert.php work for a PHPBB3 to RC5 convert?
Don't mind me.  I tried the "suck it and see" approach and can confirm that it does infact work.

Just to be sure. I'm about to convert an 3.0.8 forum to SMF. If I use the phpBB3->RC4 package and install the RC5 files, I have a full RC5 forum?
Title: Re: [SMF Converter] phpBB3
Post by: cybernet on May 17, 2011, 04:48:26 AM
Can anyone advise me, will the RC4 convert.php work for a PHPBB3 to RC5 convert?
Don't mind me.  I tried the "suck it and see" approach and can confirm that it does infact work.

Just to be sure. I'm about to convert an 3.0.8 forum to SMF. If I use the phpBB3->RC4 package and install the RC5 files, I have a full RC5 forum?

yes you do ;)
Title: Re: [SMF Converter] phpBB3
Post by: XtcruleZ on June 12, 2011, 04:38:03 PM
Im trying to convert a phpbb3 board to smf 2.0 and im getting the following errow during the conversion process:

Converting posts...The database value you're trying to insert does not exist: modified_name
Title: Re: [SMF Converter] phpBB3
Post by: HunterP on June 12, 2011, 05:15:41 PM
Im trying to convert a phpbb3 board to smf 2.0 and im getting the following errow during the conversion process:

Converting posts...The database value you're trying to insert does not exist: modified_name

I got the same, a few months ago when converting :

http://www.simplemachines.org/community/index.php?topic=428624.msg3008609#msg3008609

I got around this by 'hacking' the update script, but as I'm apparently not the only one, maybe the script can be refined somehow?
Title: Re: [SMF Converter] phpBB3
Post by: XtcruleZ on June 12, 2011, 07:43:28 PM
Maybe you could share with me what you did to fix it?
Title: Re: [SMF Converter] phpBB3
Post by: HunterP on June 12, 2011, 07:50:06 PM
Maybe you could share with me what you did to fix it?

Ofcourse I'm willing to help, but I've deleted all conversion files, so don't exactly know anymore. I think I've removed the part where the "modified_name" appears, but don't know if you know how to edit this and also can't say if this is the best way to work around it. For sure this information will not be converted (the name of the person (or moderator) who modified postings), but that shouldn't be the biggest problem, I guess...
Title: Re: [SMF Converter] phpBB3
Post by: XtcruleZ on June 12, 2011, 08:01:01 PM
Ok, i got past that error with THIS FIX (http://www.simplemachines.org/community/index.php?topic=346705.msg2899274#msg2899274) but now im getting this error:

Converting posts...
Duplicate entry '28047' for key 'PRIMARY'
Title: Re: [SMF Converter] phpBB3
Post by: HunterP on June 12, 2011, 08:16:09 PM
Ok, i got past that error with THIS FIX (http://www.simplemachines.org/community/index.php?topic=346705.msg2899274#msg2899274) but now im getting this error:

Converting posts...
Duplicate entry '28047' for key 'PRIMARY'

I also got the same but I really can't remember how I got past that one :(
Title: Re: [SMF Converter] phpBB3
Post by: XtcruleZ on June 12, 2011, 08:27:55 PM
Why must i always mess with stuff... I ran it again thinking maybe it was a fluke and didnt even get this far this time, halted with yet ANOTHER error.

Converting polls...Wrong value type sent to the database. Integer expected. (expire_time)
Title: Re: [SMF Converter] phpBB3
Post by: dougiefresh on June 24, 2011, 05:38:15 PM
I downloaded the SQL file and the convert.php file and ran them on my server.  It came up with so many errors converting from phpBB 3.0.8 to SMF 2.0 Final that I had to alter both files in order to match the new field names.  I ran the process twice in order to make sure that I didn't miss anything.  I'm attaching the modified files.  Hopefully, this will help someone....

Aside from the problems that I just mentioned, I'd like to thank the writers of each of the files for giving such an easy way to convert from one board type to another.  Keep up the good work!

EDIT: Gee, I hope that I didn't just produce duplicate work  :o  (like someone else beat me to publishing this  ::) )

EDIT2: Duplicated the work already done  :-[  Please ignore this
Title: Re: [SMF Converter] phpBB3
Post by: XtcruleZ on June 26, 2011, 12:28:39 PM
I downloaded the SQL file and the convert.php file and ran them on my server.  It came up with so many errors converting from phpBB 3.0.8 to SMF 2.0 Final that I had to alter both files in order to match the new field names.  I ran the process twice in order to make sure that I didn't miss anything.  I'm attaching the modified files.  Hopefully, this will help someone....

Aside from the problems that I just mentioned, I'd like to thank the writers of each of the files for giving such an easy way to convert from one board type to another.  Keep up the good work!

EDIT: Gee, I hope that I didn't just produce duplicate work  :o  (like someone else beat me to publishing this  ::) )

EDIT2: Duplicated the work already done  :-[  Please ignore this

Where are the files that you made work for you? I cant get mine to convert for the life of me. Simply too many errors and have all but given up on it.
Title: Re: [SMF Converter] phpBB3
Post by: dougiefresh on June 27, 2011, 11:03:59 AM
Well, I've deleted my copy of the files....  But I downloaded the most up-to-date version of the official converter from here (http://download.simplemachines.org/?converters;software=phpbb).  Hope this helps!
Title: Re: [SMF Converter] phpBB3
Post by: dougiefresh on July 02, 2011, 11:54:07 AM
When I convert my phpBB board to SMF, all of my PM conversations from the phpBB board are listed under a single conversation in the SMF board.  How can I fix this?  Assistance would be greatly apprecitated!  Thanks ahead of time!

EDIT: By the way, I'm converting from phpBB 3.0.8 to SMF 2.0 RC5.  Hope this info helps.....

I did a little more digging into how phpBB works with it's personal messages with the help of a friend and figured out what to modify in the phpbb3_to_smf.sql file (found here (http://download.simplemachines.org/?converters;software=phpbb)).

Find this:
Code: [Select]
/******************************************************************************/
--- Converting personal messages (step 1)...
/******************************************************************************/

TRUNCATE {$to_prefix}personal_messages;

---* {$to_prefix}personal_messages
SELECT
pm.msg_id AS id_pm, pm.author_id AS id_member_from, pm.message_time AS msgtime,
SUBSTRING(uf.username, 1, 255) AS from_name, SUBSTRING(pm.message_subject, 1, 255) AS subject,
SUBSTRING(REPLACE(IF(pm.bbcode_uid = '', pm.message_text, REPLACE(REPLACE(pm.message_text, CONCAT(':1:', pm.bbcode_uid), ''), CONCAT(':', pm.bbcode_uid), '')), '\n', '<br />'), 1, 65534) AS body
FROM {$from_prefix}privmsgs AS pm
LEFT JOIN {$from_prefix}users AS uf ON (uf.user_id = pm.author_id);
---*
and change this line :
Code: [Select]
SUBSTRING(REPLACE(IF(pm.bbcode_uid = '', pm.message_text, REPLACE(REPLACE(pm.message_text, CONCAT(':1:', pm.bbcode_uid), ''), CONCAT(':', pm.bbcode_uid), '')), '\n', '<br />'), 1, 65534) AS body
to this:
Code: [Select]
SUBSTRING(REPLACE(IF(pm.bbcode_uid = '', pm.message_text, REPLACE(REPLACE(pm.message_text, CONCAT(':1:', pm.bbcode_uid), ''), CONCAT(':', pm.bbcode_uid), '')), '\n', '<br />'), 1, 65534) AS body,
CASE pm.root_level WHEN 0 THEN pm.msg_id ELSE pm.root_level END AS id_pm_head
This should group all conversations together in SMF after conversion from phpBB.
Title: Re: [SMF Converter] phpBB3
Post by: Neo-Fish on July 24, 2011, 01:31:33 PM
Hi, i'm thinking about put msf, but i wanted to know if there is still no way to keep Smileys and Avatars

many thanks
Title: Re: [SMF Converter] phpBB3
Post by: arithor on September 20, 2011, 11:17:19 AM
  Little help please,

           I installed the newest version of SMF then converted my phpBB3 newest version using the phpBB3 to SMF converter which for the most part was spot on, but the admin account I made on install of SMF and my phpBB3 admin account shared the same user name. I see no way to access the admin area as if I am no longer an admin. Do I have to uninstall the forum reinstall it with a different admin name that is not a user in the phpBB3 forum then raise that account to admin status? I tried to add an account via the database but that did not work...
Title: Re: [SMF Converter] phpBB3
Post by: AllanD on September 20, 2011, 02:06:36 PM
  Little help please,

           I installed the newest version of SMF then converted my phpBB3 newest version using the phpBB3 to SMF converter which for the most part was spot on, but the admin account I made on install of SMF and my phpBB3 admin account shared the same user name. I see no way to access the admin area as if I am no longer an admin. Do I have to uninstall the forum reinstall it with a different admin name that is not a user in the phpBB3 forum then raise that account to admin status? I tried to add an account via the database but that did not work...

Have you tried logging in under the phpbb username.I know when converted this happened and that got me into the acp.
Title: Re: [SMF Converter] phpBB3
Post by: arithor on September 20, 2011, 04:17:38 PM
When I log into my phpBB3 admin account after the conversion it is as if I am a standard user, I have no control panel for any features at all not even for my profile. I attempted to by pass the problem by reinstalling and converting the original forum with a new unique admin account. When I try to log into the admin account I made before the conversion I receive the "this account does not exist" message.
Title: Re: [SMF Converter] phpBB3
Post by: IchBin™ on September 21, 2011, 10:37:43 AM
If you can login under your account and it shows as a normal account, you should be able to change the member group ID in the members table for your account to change yourself to admin. The id_group for admin is 1.
Title: Re: [SMF Converter] phpBB3
Post by: webfann on September 21, 2011, 11:06:07 AM
Hi,

First, thanks for the great convert. I've converted my forum from phpbb 3.0.9 to smf 2.0.1. Everything seems OK.

But now I just can't access my board any more. When I enter my password, it shows
Code: [Select]
Password security has recently been upgraded. Please enter your password again.
I re-enter my password, it shows
Code: [Select]
Password incorrect
Again I enter my password
Code: [Select]
If you've forgotten your login details, don't worry, they can be retrieved. To start this process please enter your username or email address below.
I give my user name and try to retrieve my password by mail, it shows
Code: [Select]
Sorry, this account has not yet been approved. If you need to change your email address please click here
I click "here", the final alarm is
Code: [Select]
You are not allowed to access this section
I've tried some other account, it just seems that all password have been reset. Now I totally have no idea how to access my new smf board.

Please help.
Title: Re: [SMF Converter] phpBB3
Post by: arithor on September 21, 2011, 11:29:49 AM
If you can login under your account and it shows as a normal account, you should be able to change the member group ID in the members table for your account to change yourself to admin. The id_group for admin is 1.

Thank you for your reply, I just fiqured that out from this post:

"Re: [SMF Converter] phpBB3
« Reply #8 on: January 23, 2008, 09:33:46 PM »
I just tested out the converter on a clean install of SMF 1.4, everything was successful but when I log in I have no Admin access, even from my first PHPBB account, which is indeed a full admin on the PHPBB board.

Edit:

I had to go into phpMyAdmin and change my ID_GROUP to 1 (Admin) to fix my permission's because they were all defaulted to 0 and I had no access to Admin CP or any of the boards.
« Last Edit: January 23, 2008, 10:14:26 PM by Bdn »"


And was about to post the answer to the problem. I do have another question referring to that one though, how does that affect my user groups? In phpBB3 I had set groups some which had admin powers and access to certain forums. All of the forums are visible to even guests, is it possible to limit access to certain forums by certain users, and how?
Title: Re: [SMF Converter] phpBB3
Post by: IchBin™ on September 21, 2011, 12:07:18 PM
You need to ask your questions outside of this topic as they are not related. Post in the support board for the version of SMF you are using.
Title: Re: [SMF Converter] phpBB3
Post by: MaxXx on September 30, 2011, 05:15:17 AM
This converter did not work for me, i have many posts that are broken like this:

Code: [Select]
[align=center:21hsa2jw][url=http://liil.nl/][img]http://liil.nl/img/logo1.png[/img][/url][/align:21hsa2jw]
Lyhennä linkkisi helposti!  <!-- s:good: -->:good:<!-- s:good: -->
[url=http://liil.nl/][size=99px]http://liil.nl/[/size][/url]

I have converted to smf 2.0.1 from phpBB 3.0.9 And the database is utf8
Title: Re: [SMF Converter] phpBB3
Post by: JoaoSatriano on December 07, 2011, 02:17:35 AM
Hello, I want to convert my phpbb to smf, but I'm not seeing it well, someone can give me a light?  :)
Title: Re: [SMF Converter] phpBB3
Post by: Austin01 on February 19, 2012, 08:20:56 PM
When I convert it, for some reason it shows it converts all the posts however it does not.
Title: Re: [SMF Converter] phpBB3
Post by: Roston on February 29, 2012, 02:55:50 AM
hi mates. I have some problem with convertation from phpbb3.0.9 to smf. So I have two databases, one for phpbb, another for smf. So I've installed both forum's, tested phpbb, all works fine, I can login without problem an so on.  But when I've convert it to smf, all topics converted quite fine.
But I have two issues:
- first I have lost admin account of smf,
- second, login;password combination doesn't work at smf! but I compared it to password at phpbb DB, they are equals.

btw: LogInOur.php is the same, as TS describe ;)

Any ideas?
Title: Re: [SMF Converter] phpBB3
Post by: Indyana on March 19, 2012, 07:35:47 PM
Hi there,

I'm trying to convert a phpbb3 forum to smf but I have some problems. The posts and the topic titles appear trimmed. Is there any way to avoid this? Is there a converter that writes a sql file so I can correct the duplicates? Is there a converter that only moves the posts and the topic titles?

Thank you very much and kind regards.
Title: Re: [SMF Converter] phpBB3
Post by: HunterP on March 20, 2012, 03:57:13 AM
I'm trying to convert a phpbb3 forum to smf but I have some problems. The posts and the topic titles appear trimmed. Is there any way to avoid this? Is there a converter that writes a sql file so I can correct the duplicates? Is there a converter that only moves the posts and the topic titles?

I don't know where the subject in phpBB is, but it should be something like this :

UPDATE smf_messages smf, phpbb3_posts phpbb SET smf.subject=phpbb.post_subject WHERE smf.id_msg=phpbb.post_id;

Make a backup first, but with variations of this query, I've solved some problems after converting myself.
Title: Re: [SMF Converter] phpBB3
Post by: Indyana on March 20, 2012, 07:20:34 AM
I don't know where the subject in phpBB is, but it should be something like this :

UPDATE smf_messages smf, phpbb3_posts phpbb SET smf.subject=phpbb.post_subject WHERE smf.id_msg=phpbb.post_id;

Make a backup first, but with variations of this query, I've solved some problems after converting myself.
Thank you very much! It "worked".

It worked because I have some problems with the quotes, the formatted text and some special characters because my forum is in Spanish. So now I need to:
1- Make it work with quotes, formatted text and special characters
2- I have another problem. Sometimes some new posts appear trimmed too. I don't know why but it happens. Any idea how can I resolve this?

Thank you very much and kind regards
Title: Re: [SMF Converter] phpBB3
Post by: HunterP on March 20, 2012, 03:27:53 PM
It worked because I have some problems with the quotes, the formatted text and some special characters because my forum is in Spanish. So now I need to:
1- Make it work with quotes, formatted text and special characters
2- I have another problem. Sometimes some new posts appear trimmed too. I don't know why but it happens. Any idea how can I resolve this?

As for #1; do you have a link to your forum so I can see what you mean?
As for #2; new postings on SMF, postings which don't exist in the old database?
Title: Re: [SMF Converter] phpBB3
Post by: duude88 on June 04, 2012, 04:33:17 PM
Hi everyone!

I'm having some issues with the converter. The transfer is between phpBB 3.0.8 and SMF 2.0.2. Most of the content converts successfully, posts seem to be the problem. This is the error that gets displayed:
Converting posts...You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY null' at line 203

I saw in the errors thread a similar one but couldn't find the mentioned code in convert.php

Any ideas? Thanks!
Title: Re: [SMF Converter] phpBB3
Post by: Blackburn on August 19, 2012, 07:20:18 PM
thanks ;)
Title: Re: [SMF Converter] phpBB3
Post by: XIN on September 25, 2012, 08:05:22 AM
Hey guys, I need to do a conversion from Phpbb3 to SMF2 and I just want to make sure I have understood the process correctly.
Correct me if I'm wrong please :)

The older Phpbb3 database I am transferring is on a seperate host to the SMF installation / databse.

1> Install a fresh phpbb3 install to the same host as the SMF database.
2> Aquire the mysql backup of the phpbb3 installation (from the older seperate host) and import it into the new phpbb3 database
3> Now both forums are on same host / database, upload the convert.php file to the root of the SMF forum
4> navigate to convert.php to begin process
5> profit?

Thanks in advance
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on September 25, 2012, 10:56:45 AM
yep, you're right  :)
Title: Re: [SMF Converter] phpBB3
Post by: XIN on October 02, 2012, 06:02:52 PM
Hey guys, I need to do a conversion from Phpbb3 to SMF2 and I just want to make sure I have understood the process correctly.
Correct me if I'm wrong please :)

The older Phpbb3 database I am transferring is on a seperate host to the SMF installation / databse.

1> Install a fresh phpbb3 install to the same host as the SMF database.
2> Aquire the mysql backup of the phpbb3 installation (from the older seperate host) and import it into the new phpbb3 database
3> Now both forums are on same host / database, upload the convert.php file to the root of the SMF forum
4> navigate to convert.php to begin process
5> profit?

Thanks in advance

yep, you're right  :)

Thanks for the confirmation but I am stuck, can you guide me please.

I basically have a phpbb3 and fresh smf2 forum setup and ready after performing the steps in my previous post.
I downloaded the phpbb3 to smf2 converter (aand sql file)from the downloads section, uploaded them to the smf root.

After the page where you enter the url to the two forums, I click go and it just goes blank 'page not found'.

What am I doing wrong?

 Additional Options...
Title: Re: [SMF Converter] phpBB3
Post by: ThorstenE on October 03, 2012, 02:36:32 AM
XIN,
your SMF is 1.1.12 (followed the URL from your screenshot  ;) ) and convert.php + phpbb3_to_smf.sql seems to be the 2.0 version. Either you install SMF 2.0.2 or you downloed the 1.1. converter files.
Title: Re: [SMF Converter] phpBB3
Post by: XIN on October 03, 2012, 06:46:17 AM
XIN,
your SMF is 1.1.12 (followed the URL from your screenshot  ;) ) and convert.php + phpbb3_to_smf.sql seems to be the 2.0 version. Either you install SMF 2.0.2 or you downloed the 1.1. converter files.

I knew something was not quite right but was too tired to notice that hehe.  8)

So forum successfully converted now, still need to check for any minor quirks but conversion went smooth enough so far.

Thanks for your time.  ;D

EDIT: Some things that got messed up;

* Forum titles (adds phpbb) - fixed via phpbb myadmin tables
* Attachments (but I don't have access to original forums root so meh)
* Avatars (same as above probably)
* youtube embeds in posts - different code I guess
* signatures - probably same as attachments

Otherwise boards and sub boards seemed the same (hidden/admin only boards were made public).
Title: Re: [SMF Converter] phpBB3
Post by: XIN on October 03, 2012, 07:37:14 AM
Is there a quick way to make myself an admin (via phpmyadmin perhaps?) so I can access the admin panel to install plugins etc ?


EDIT: Nevermind, did it, was quite simple really.
Title: Re: [SMF Converter] phpBB3
Post by: gideonsw on November 17, 2012, 01:18:43 PM
Does it also convert themes?
Title: Re: [SMF Converter] phpBB3
Post by: IchBin™ on November 17, 2012, 04:44:18 PM
Converters only convert data. They do not convert any code or files from other forums.
Title: Re: [SMF Converter] phpBB3
Post by: Arthouris on December 01, 2012, 06:00:47 AM
Is there a quick way to make myself an admin (via phpmyadmin perhaps?) so I can access the admin panel to install plugins etc ?


EDIT: Nevermind, did it, was quite simple really.

Which was?
Title: Re: [SMF Converter] phpBB3
Post by: IchBin™ on December 03, 2012, 12:32:02 PM
Edit your member id_group in the smf_members table for your account. Set it to 1.
Title: Re: [SMF Converter] phpBB3
Post by: meigallodixital on December 12, 2012, 02:53:52 AM
How can i convert more posts on each step? It's a big forum with +3.600.000 posts, is very slow by default.

Thanks in advance.
Title: Re: [SMF Converter] phpBB3
Post by: roomeat on December 14, 2012, 05:35:39 PM
Where do I find the convert.php file for SMF2?
I downloaded the one in the link on the first post but get the following error:

Converting ranks... Unsuccessful!
 This query:
DELETE FROM `ozstuntSMF`.smf_membergroups
 WHERE groupName LIKE 'phpBB %';
 Caused the error:
Unknown column 'groupName' in 'where clause'
Title: Re: [SMF Converter] phpBB3
Post by: Oldiesmann on December 31, 2012, 02:40:56 PM
Converters for SMF 2.x are available on the downloads page: http://download.simplemachines.org/?converters;software=phpbb
Title: Re: [SMF Converter] phpBB3
Post by: Warwick Chapman on January 02, 2013, 06:49:26 AM
Howdy All

Tried converting from phpBB 3 to SMF and get the following error:

Converting topics...
Successful.
Converting posts...The database value you're trying to insert does not exist: modified_name


I have a DF installation which I have have tried to migrate to SMF but failed so am now trying to use phpBB as an intermediary.  I tried the DF 9.2.x -> SMF 2.0.x converter and that was a dead starter with forum posts here suggesting to rather convert to 1.x and then upgrade. I then tried the DF 9.2.x -> SMF 1.1.x converter but unfortunately that also crashed complaining about various duplicated items in the DF topics DB that phpBB conversion seemed to have no issue with - I have posted details in the converter forum but no replies yet.

Will appreciate any help anyone can offer.



Title: Re: [SMF Converter] phpBB3
Post by: dem666 on January 20, 2013, 01:22:43 PM
Converters for SMF 2.x are available on the downloads page: http://download.simplemachines.org/?converters;software=phpbb

This info its out of date, the link is to the phpbb 2 and 3 however after downloading both versions the contents of convert.php are the same, i get

"Caused the error:
Unknown column 'group_single_user' in 'where clause'"

 
Title: Re: [SMF Converter] phpBB3
Post by: thuul on January 30, 2013, 08:38:58 AM
Failed me on the very first step

Converting...
Converting ranks... Unsuccessful!
This query:

    DELETE FROM `spawncam_smf1`.smf_membergroups
    WHERE groupName LIKE 'phpBB %';

Caused the error:

    Unknown column 'groupName' in 'where clause'
Title: Re: [SMF Converter] phpBB3
Post by: Chelien Orlenard on February 20, 2013, 05:37:13 PM
Please help me.

Failed me on the very first step

Converting...
Converting ranks... Successful.
Converting groups... Successful.
Converting members... Successful.
Converting additional member groups... Successful.
Preparing for categories conversion... Successful.
Converting categories... Successful.
Converting boards... Successful.
Fixing categories... Successful.
Converting topics... Successful.
Converting posts...You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY null' at line 203

Anyone good idias?
Title: Re: [SMF Converter] phpBB3
Post by: Chelien Orlenard on February 22, 2013, 04:02:19 PM
I solved the problem myself.
I modified the following parts of the source.

Sources/Sub-Db-mysql.php

find:
Code: [Select]
$db_string = substr($db_string, 0, $pos) . "\t\t\tORDER BY null\n" . substr($db_string, $pos, strlen($db_string));
replace with:
Code: [Select]
$db_string = substr($db_string, 0, $pos) . "\n" . substr($db_string, $pos, strlen($db_string));
find:
Code: [Select]
$db_string .= "\n\t\t\tORDER BY null";replace with:
Code: [Select]
$db_string .= "";
This fix is only temporary, I undo the conversion is finished.
Thank you.
Title: Re: [SMF Converter] phpBB3
Post by: Theopt on March 11, 2014, 12:40:00 PM
I've converted everything and everything went allright.

But is there a way to migrate all phpbb groups to the new ones?

All admins to admins, modes to modes etc.

without doing it by hand.
Title: Re: [SMF Converter] phpBB3
Post by: margarett on March 11, 2014, 12:52:47 PM
Please use the converter from our downloads page:
http://download.simplemachines.org/?converters;software=phpbb

Looking at the code, that should be handled by the converter (not so sure about local board moderators, though...)
Title: Re: [SMF Converter] phpBB3
Post by: Theopt on March 11, 2014, 01:59:36 PM
Please use the converter from our downloads page:
http://download.simplemachines.org/?converters;software=phpbb

Looking at the code, that should be handled by the converter (not so sure about local board moderators, though...)

the groups work, I have admin rights and so on. but the other groups are still there as well.
Title: Re: [SMF Converter] phpBB3
Post by: Asama on June 19, 2014, 08:58:25 AM
Hello guys,
I'm going to convert my phpbb 3.0.12 forum to SMF  ;) because i LOVE smf.
But before doing some ...... , i want to explain what i'm doing.
I downloaded converter (convert.php) and put it in the root of my forum.
Is this a right place? Tell me after.
Then i downloaded SMF 2.*.** version for phpbb3 and made a new folder in the root with name /forum and uploaded all the stuff i found in smf-install-**.zip.
So tell me if all is OK or i have did something wrong?
And please write down the procedure to convert because i go on http.//mydomain.******.***/convert.php and it say me :

This converter assumes you have already installed SMF and that your installation is working properly. It copies posts and data from your "source" installation of phpBB3 into SMF, so it won't work without an installation of SMF. All or some of the data in your installation of SMF will be overwritten.

So how to install smf before converting? ???
Answer all my questions and become a super her!! ;D :laugh:
Thanks in advance.
Title: Re: [SMF Converter] phpBB3
Post by: margarett on June 19, 2014, 09:08:59 AM
You should read this:
Converting to SMF (http://wiki.simplemachines.org/smf/Converting)

You need to install SMF and have it running in its base form: 1 admin and 1 "General Discussion" board. Then you put convert.php and the .sql file in SMF's folder. Then you run the converter.
Use the .sql file from this topic here: http://www.simplemachines.org/community/index.php?topic=508551.0

Title: Re: [SMF Converter] phpBB3
Post by: Asama on June 19, 2014, 10:10:33 AM
Thanks but i'm blocked on :

Checking Files are Writable
Some files need to be writable for SMF to work properly. This step allows you to let the installer make them writable for you. However, in some cases it won't work - in that case, please make the following files 777 (writable, 755 on some hosts).

This installer can connect via FTP to fix the files that need to be writable and are not. If this doesn't work for you, you will have to go in manually and make the files writable. Please note that this doesn't support SSL right now.

Server: localhost       Port: 21
Username: allaboutandroids@localhost
Password: **************
Install Path: /forum

When i click on Continue, It load load and load and then .......Nothing. I'm still on this page!!!
What's wrong?
Title: Re: [SMF Converter] phpBB3
Post by: margarett on June 19, 2014, 10:39:32 AM
It is possible that SMF cannot change permissions, either by authentication or ownership issues.

Make sure you have correct ownership of all your files (ask your host for help if unsure) and do what the installer asks you ;)
Quote
However, in some cases it won't work - in that case, please make the following files 777 (writable, 755 on some hosts).
Use 755, not 777.
How do I chmod? / what is chmod? (http://wiki.simplemachines.org/smf/What_is_chmod)
Title: Re: [SMF Converter] phpBB3
Post by: Asama on June 19, 2014, 10:55:59 AM
It is possible that SMF cannot change permissions, either by authentication or ownership issues.

Make sure you have correct ownership of all your files (ask your host for help if unsure) and do what the installer asks you ;)
Quote
However, in some cases it won't work - in that case, please make the following files 777 (writable, 755 on some hosts).
Use 755, not 777.
How do I chmod? / what is chmod? (http://wiki.simplemachines.org/smf/What_is_chmod)
Thanks,
I just created a new test forum to install SMF on phpBB 3.0.12 and it work.
www.testforum12.altervista.org
I made a folder named forum and just copied all files in this.
Then i go on ....../install.php and write some details and it automatically sent me to step 3 without step 2 where it ask for permissions that 777 or 775 etc.....
Then why it isn't working on my other site?
Title: Re: [SMF Converter] phpBB3
Post by: margarett on June 19, 2014, 11:14:25 AM
SMF checks the permissions on the files. If they are OK, it skips steps 2 ;)
That's why it won't work in your site. You need to manually fix permissions. When you do, it will also skip step 2 ;)
Title: Re: [SMF Converter] phpBB3
Post by: khigh on December 20, 2014, 03:59:13 PM
Not to be spamming the boards - I've already asked this elsewhere, but now I realize this was probably the right place all along.

I'm getting a phpBB site. - not a working one I can convert where it lives, but something on a flash drive, ftp transfer - something along those lines - one shot at getting everything. I think most of what I've been seeing here is how to convert an operational board.

I just want to make sure I get everything I need which I'm assuming is the site/forum file structure and the MySQL DB(s?). Can those just be files or am I going to have to have the password to open them on my side, or do they have to be exported or something?

I've got a couple thousand people counting on me to rescue a much-loved orphaned board from a disinterested owner shutting it down.

Thanks for looking.


Title: Re: [SMF Converter] phpBB3
Post by: amitjain94675 on January 17, 2015, 11:29:26 AM
I need some help you there
Title: Re: [SMF Converter] phpBB3
Post by: pacho_bg2 on June 02, 2015, 08:43:46 AM
Anyone have an idea if the converter is going to be updated to work for phpbb 3.1, because the current one doesn't work.
Title: Re: [SMF Converter] phpBB3
Post by: margarett on June 02, 2015, 05:59:05 PM
It's in my todo list ;)
(unfortunately, so is a dozen of other things :( )
Title: Re: [SMF Converter] phpBB3
Post by: GrCOTE7 on August 14, 2015, 04:34:19 PM
Hi, Margarett, or other guy...


Do you know if there is a github fo the converter from phpBB  :D ?
Title: Re: [SMF Converter] phpBB3
Post by: margarett on August 14, 2015, 04:36:04 PM
No, there isn't. It's on our plans but (like with many other things :P ) stuff gets in the way.

Also, because we are working on changing the converters approach for 2.1, we might end up doing it but mainly for archive.
Title: Re: [SMF Converter] phpBB3
Post by: GrCOTE7 on August 14, 2015, 05:10:40 PM
Ok, thanks Margarett for this precision.

@++ :-)
Title: Re: [SMF Converter] phpBB3
Post by: stanstrup on February 23, 2016, 02:02:18 PM
Hi,

I did a conversion from phpBB 3.0.14 to SMF 2.0.11. Everything seemed to go well. But the users have not been moved over. Only the bots and an admin account was copied. The phpBB has previously converted from punBB.
The users are simply not there in the database.
Any idea what happened and how I can make it work?
Title: Re: [SMF Converter] phpBB3
Post by: margarett on February 23, 2016, 02:05:24 PM
Hello and welcome ;)

The converter picks the users from the "users" table of phpBB and there is no filter to it so if the users were on the original database, they must be on the converted database too...
Can you check if the users are actually there (in the origin phpBB table)?
Title: Re: [SMF Converter] phpBB3
Post by: stanstrup on February 23, 2016, 02:49:27 PM
Hello and welcome ;)

The converter picks the users from the "users" table of phpBB and there is no filter to it so if the users were on the original database, they must be on the converted database too...
Can you check if the users are actually there (in the origin phpBB table)?
Thanks for the fast reply. The origin phpBB _users table shows 136 entries. The SMF _members table shows 53 (Anonymous, 2 admin accounts, rest are bot accounts).
I wonder if they were dropped if there was something unexpected in the table? Perhaps something unusual from the punBB conversion? Group assignment?

EDIT: Don't know if it is part of the reason but all the missing accounts have user_type = 0. The ones that were converted have something else.
Title: Re: [SMF Converter] phpBB3
Post by: stanstrup on February 23, 2016, 06:42:52 PM
I just converted another phpBB (3.0.11) to SMF (the two SMF fora are to be merged) and that seemed to work just fine. Any idea how I can locate the problem with the other database?
Title: Re: [SMF Converter] phpBB3
Post by: margarett on February 24, 2016, 12:17:53 AM
Which converter are you using?

First step would be to retry the conversion, really
Title: Re: [SMF Converter] phpBB3
Post by: stanstrup on February 24, 2016, 06:58:25 AM
I got the converter from here: http://download.simplemachines.org/?converters;software=phpbb.
I tried the sql from here too now but that throws an error during conversion: http://www.simplemachines.org/community/index.php?topic=508551.0

Re-doing the conversion gave same result.


I also ran into another problem with the attachments that all seem broken. It looks like some kind of win/unix conversion (EOL?). If I open a png in a text editor it is identical. In a binary compare it is not.
EDIT: in the attachments 0D 0A have been converted to 0A.
Title: Re: [SMF Converter] phpBB3
Post by: stanstrup on February 25, 2016, 02:21:00 PM
Aha. The attachment problem was not caused by the conversion but by what seems to have been a faulty copy of the test site. It just appeared correctly since inline use of the attachments referred back to the original site.
Title: Re: [SMF Converter] phpBB3
Post by: stanstrup on February 25, 2016, 04:46:50 PM
I managed to convert the punBB directly to SMF instead. I guess that also makes more sense.
Still dunno what went wrong.
Now on to merging. I sense more trouble ahead...
Title: Re: [SMF Converter] phpBB3
Post by: ovidole91 on April 25, 2016, 06:20:25 PM
can i convert a phpbb3 forum which is on a subdomain, to a smf website with domain ?
Title: Re: [SMF Converter] phpBB3
Post by: margarett on April 26, 2016, 07:29:40 AM
can i convert a phpbb3 forum which is on a subdomain, to a smf website with domain ?
Yes, of course. When you do the conversion, most likely SMF will not be on its "definitive location". So after the conversion is successful, you just move SMF's files to the proper location and run repair_settings to fix the paths/URLs.
Title: Re: [SMF Converter] phpBB3
Post by: ovidole91 on April 28, 2016, 08:58:30 AM
i don't know exactly how to do it
if you can help me please very much
Title: Re: [SMF Converter] phpBB3
Post by: margarett on April 28, 2016, 03:27:42 PM
What part you don't know how to do? The conversion or the move of SMF to another location?
Title: Re: [SMF Converter] phpBB3
Post by: RFD on June 25, 2016, 07:00:00 PM
I have a phpBB 3.0.14 forum to convert over to SMF 2.0.11.  The phpBB forum and the target SMF forum are on the same server, each in their own sub-directories. using the "margarett" convert.php.  i have both the old phpBB and new SMF databases online and both work.  running the converter i get this error message ... not a clue what the problem is ... SMF db assword used is correct ... does the user access for both phpBB and SMF need to be the same?  it would appear that way!

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FWAIpWG2.png&hash=e5cc81414f9c028bc298bad00e23fd52)
Title: Re: [SMF Converter] phpBB3
Post by: belgium-gravure on August 10, 2016, 04:10:16 AM
help

(https://i.gyazo.com/4efb289e3ca0856d02dea877820f4404.gif)

http://www.simplemachines.org/community/index.php?topic=547863.0
Title: Re: [SMF Converter] phpBB3
Post by: belgium-gravure on November 20, 2016, 05:45:09 AM
help

(https://i.gyazo.com/4efb289e3ca0856d02dea877820f4404.gif)
http://www.simplemachines.org/community/index.php?topic=549686.0


up please

http://www.simplemachines.org/community/index.php?topic=549686.0
Title: Re: [SMF Converter] phpBB3
Post by: Illori on November 20, 2016, 06:07:06 AM
you already have a topic you are wanting a reply on, please keep to one topic. if and when someone knows an answer to your question a reply will be made, you dont need to keep bumping it. we are short handed on people that can help with converting issues so you need to be patient.
Title: Re: [SMF Converter] phpBB3
Post by: belgium-gravure on November 20, 2016, 06:24:58 AM
Ok thanks, i'm waiting impatiently, phpbb was the only one retrieved my forum in php maximus, but i hate phpbb
Title: Re: [SMF Converter] phpBB3
Post by: belgium-gravure on December 15, 2016, 02:34:51 PM
Quote
ne réponse a été postée par Raja G sur un sujet que vous surveillez.

Voir la réponse : http://www.simplemachines.org/community/index.php?topic=218449.new;topicseen#new

D'autres réponses ont pu être postées, mais vous ne recevrez pas d'autres e-mails de notification tant que vous n'aurez pas lu le sujet.

Pour vous désabonner de ce sujet, utilisez ce lien :
http://www.simplemachines.org/community/index.php?action=notify;topic=218449.0

Cordialement,
L'équipe Simple Machines Community Forum.

??

is no reponse
Title: Re: [SMF Converter] phpBB3
Post by: brynn on May 29, 2018, 06:12:11 AM
Hhmm....  At first, when I found all these many support materials and support boards for converting and merging forums, I was excited.  I'm investigating the possibility of bringing 2 different forums together.  One relatively large phpBB 3.1 and one relatively small SMF 2.0.15.  I would much prefer phpBB to SMF, but I'm only part of the team which is working on this, so it could go either way.  But anyway, after looking under the surface, I see that:

The last version of phpBB which can convert SMF is 3.0.  The SMF version is not known (or I haven't found it).  So, SMF unknown to phpBB 3.0. 

I have posted on phpBB support forum, for that answer.  It sounds like we would have to convert SMF (unknown version, waiting for answer) to phpBB 3.0.  And then upgrade to the current phpBB 3.2.

The last version of phpBB which SMF can convert is 3.0.  So far, I haven't found which version of SMF can accept phpBB 3.0 conversion.  So it's phpBB 3.0 to SMF unknown.

Does anyone know which version of SMF would be the result (using the converter in this topic)?
Would we have to downgrade the current 3.1 forum to 3.0, to make the converter work properly?


Thank you very much!

(Edit - sorry, probably should have posted a new topic....please move this if necessary  :-[ )
Title: Re: [SMF Converter] phpBB3
Post by: GigaWatt on May 29, 2018, 09:50:28 AM
I believe vbgamer45 posted in some other threads, about other converters (maybe even this one), that he's had a lot of success with SMF 2.0.12.
Title: Re: [SMF Converter] phpBB3
Post by: brynn on May 30, 2018, 11:27:09 PM
Thanks GigaWatt.  But I don't understand what you mean.

Do you mean that when I get ready to convert the phpBB forum, I should have the 2.012 version of SMF installed?  (I haven't started reading through the wiki and other instructions in very much detail, yet.)
Title: Re: [SMF Converter] phpBB3
Post by: vbgamer45 on May 30, 2018, 11:58:21 PM
Yes I would advise that then convert then upgrade SMF.
Title: Re: [SMF Converter] phpBB3
Post by: brynn on May 31, 2018, 01:10:20 PM
Ok, thanks for everyone's info and comments.

Much appreciated!
Title: Re: [SMF Converter] phpBB3
Post by: vbgamer45 on January 12, 2019, 10:31:30 AM
If you are converting from phpBB 3.0.x to SMF 2.0.x use the convertor found on this site below
https://github.com/SimpleMachines/converters/tree/master/SMF2.0/phpBB/3.0