News:

Wondering if this will always be free?  See why free is better.

Main Menu

[SMF Converter] phpBB3

Started by JayBachatero, January 23, 2008, 04:49:39 AM

Previous topic - Next topic

Ggot

I checked this link.

SMF and phpBB tables are in the same database... Actually there is only one database on the server

JayBachatero

Is SMF and phpBB using the same username?
Follow me on Twitter

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

Ggot

Admin username ? No, it is not the same. Ggot for phpBB and Admin for SMF.

JayBachatero

No I mean for the database.  In config.php for phpBB and Settings.php for SMF.
Follow me on Twitter

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

Ggot

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

slamulous

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!

SleePy

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.
Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

slamulous

Quote from: 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.
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. 

Bonesy

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!

Bonesy

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!

Bonesy

OK I can log in now. I cannot find any user control panel or even the admin panel! What's up?

ThorstenE

Quote from: 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?
did you login with an administrative Account from PHPBB? Then you should have Admin-Rights?

You can do a small fix with PHPMyAdmin
update smf_members SET ID_GROUP=1 where ID_MEMBER=yourid
change smf_ to your prefix and yourid to your username's ID. After that the fixed User is in Admin-Group.

aarron

Hi Guys,

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

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

ThorstenE

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
---* {$to_prefix}personal_messages
to
---* {$to_prefix}personal_messages 200

and
---* {$to_prefix}pm_recipients
to
---* {$to_prefix}pm_recipients 200

aarron

Just gave that a go and no luck

Any more ideas??

aarron

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-

QuoteParse 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?


ThorstenE

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

aarron

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.




ThorstenE

#298
try this one

Edit: updated Version (for smf 1.1.4)

aarron


Advertisement: