[SMF Converter] phpBB - 2.0.19+

Started by JayBachatero, January 13, 2007, 02:47:08 AM

Previous topic - Next topic

bigriver

What causes the converter to allow you to put ANYTHING in for the two forum paths and SMF password and then immediately says conversion successful? Doesn't matter what I put in those fields, always says it works and nothing ever transfers over.

JayBachatero

r0ckstarr - Try the files in the first post.

bigriver - Common conversion errors.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

r0ckstarr

That's the files I used. Just to be sure, I copied them and used them again and got the same error. When it gets to "converting topics" that is where the error comes up.

www.american-muscle.net/smf

SleePy

That error means there is 2 topics with the same id.
The only way to fix this is to go into your phpbb database. Find the topics that have the id of "2108".
Then decide which one it is you want to remove :|
Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

JayBachatero

Using the files suggested should fix that since the errors are ignored.  Make sure that you overwrite the files and not resume or anything like that.  If you want to make sure delete the files and reupload it again.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

tanko

#425
I made an almost successful test-conversion, but got the same "sign error", I mean, every signature now have the first character deleted, breaking images and such.

Is there a correction? I'm even willing to try out everything again if it's the case. Thanks!

(I see now the polls also broke, the topics with open polls disappeared)

JayBachatero

Umm that first char chopped off issue was fixed a while back.  Try the file in this topic.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

tanko

Thanks for attention ana quick reply, and sorry for not seeing it! I know it's annoying(someone who didn't read everything).

I am surprised how we didn't lost anything but the open polls. Never experienced such a simple conversion.


r0ckstarr

Quote from: SleePy on April 05, 2008, 02:51:36 PM
That error means there is 2 topics with the same id.
The only way to fix this is to go into your phpbb database. Find the topics that have the id of "2108".
Then decide which one it is you want to remove :|

Quote from: JayBachatero on April 05, 2008, 04:01:11 PM
Using the files suggested should fix that since the errors are ignored.  Make sure that you overwrite the files and not resume or anything like that.  If you want to make sure delete the files and reupload it again.

Followed the above instructions. There wasn't 2 topics with the same ID. They all went in order. I deleted the only one that it said there was a duplicate of, then tried again. I got this error.

Caused the error:

Duplicate entry '2110' for key 1

Which is the next in line after 2109. If I delete 2110, im betting it will just give me an erorr for 2111.

JayBachatero

Open the phpbb2_to_smf.sql file.

Code (find) Select

---* {$to_prefix}topics

Code (replace) Select

---* {$to_prefix}topics
---{
$ignore = true;
---}
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

r0ckstarr

#430
Ok, it started converting and ran for a while then gave this error:

Converting posts (this may take some time)... Unsuccessful!
This query:
INSERT INTO `r0ckstarr`.smf_messages
(ID_MSG, ID_TOPIC, posterTime, ID_MEMBER, posterEmail, subject, posterName, smileysEnabled, modifiedTime, posterIP, body, ID_BOARD, modifiedName, icon)
VALUES ('33895', '1596', '1157709208', '25',

then it had a bunch of jumbled posts and said this at the bottom of the error:

Caused the error:

Duplicate entry '33895' for key 1

JayBachatero

You're definitely not using the right file.  Both sections have the ignore stuff in.  I just double checked.  Download this file and make sure that you overwrite it.  http://www.simplemachines.org/community/index.php?action=dlattach;topic=142124.0;attach=46653
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

r0ckstarr

Wow. I dont know how I screwed that one up. I was sure I grabbed the correct one. Sorry for all of frustration I may have caused. Thanks for the help again. Will update on the progress. Thanks.

r0ckstarr

#433
Converting posts (this may take some time)... 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 board access... Successful.
Converting group access... Successful.
Converting avatar gallery images...
Fatal error: Call to undefined function: copy_dir() in /home/content/r/0/c/r0ckstarr/html/smf/convert.php(665) : eval()'d code on line 20

Edit: It looks like it had a problem during converting of the avatar galleries images. My phpBB2 didnt have any gallery images. Could this be the reason for the error? I went to the SMF board and it looks like everything converted over and is in place. So, I went to Maintanence and checked it for errors. It found a few errors and fixed them. Everything seems to be working there now.

Will this be ok, or should I do something about the error above? Thanks.

tanko

#434
Now I used the right file. =) Well, the first character problem went out and also the install was fully "sucessful" (or so it said).

Now I got some bbcode "broke". I mean, it's not recognizing tags such as [flash] or [align]. Is there a way to fix?

And still with poll issues (maybe I should have played with smf settings before converting? No clue).

It's nothing serious, really. But I'd like to try a fixing.  ;)

Anyways, I'm very grateful for the attention I'm receiving here.

JayBachatero

r0ckstarr you are still using an outdate convert.php.  there is a link to the updated one in the first post of the topic.

tanko - what is the problem with polls that you are having?  Also what does the align tag look like in phpBB?.  That can be changed and made to work with SMF.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

r0ckstarr

I dont know how. I am positive I grabbed the correct one, even when you recently posted a link to it.

tanko

The problem is: topics with open polls won't display at all (nor pool, nor topic, nor thread). Closed polls will display the results correctly.

The tag looks like [align=center]stuff ppl want to align[/align]. The "align" value may be the common ones (left, right, justify).

I don't know of ALL the mods and stuff the phpbb board may have because I'm not the original installer (it was installed by someone and modified a couple of times by another person) and how this may affect the conversion.

I'm also new working with both foruns as administrator but the modular SMF seems a far better option since I'm afraid of hacking phpbb2 all the time and the staff is also interested in an easier management. So, sorry if I'm not being clear about my problems.

Thanks again!

r0ckstarr

#438
Conversion Complete. 

All errors were completely my fault. I'm not used to being on a board with attatchments at the bottom of the posts. My old phpBB2 board didnt have that, so I didnt know to look for the proper converter there. I apologize for any headache I may have caused.


tanko

#439
Anyone could teach me how the bbc tag conversion can be done? As I said, I can repeat the procedure as much as needed, since I'm using a cloned db only for tests.


Editing: No clues? Thought it should be simple...  :( (I'm probably wrong)

Advertisement: