• Welcome to Simple Machines Community Forum. Please login or sign up.
December 02, 2021, 09:29:44 AM

News:

Want to get involved in developing SMF, then why not lend a hand on our github!


[SMF Converter] phpBB - 2.0.19+

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

Previous topic - Next topic

JayBachatero

Ok this should take care of the align issue.  I need to look into the poll stuff.  First time I see this issue.
Follow me on Twitter

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

tanko

Much thanks, Jay, I'm sorry for this late reply for such a quick answer and fix. ^^

I'm going to try it asap and give you the proper feedback after testing.

Well, maybe if I close all polls before converting. I'll try that.

tanko

Sorry, Jay, the align issue persists. Didn't change anything. Maybe I did something wrong. Will try once more.

witchheimer

Hi Jay and forum,

my first post here, just tried to convert my phpBB to SMF and got that error message (see below). Any help?



Converting avatar gallery images...
Fatal error: Call to undefined function: copy_dir() in /homepages/6/d67037610/htdocs/LAF/convert.php(665) : eval()'d code on line 20

thanks in advance!
Alex



witchheimer

I'm again! Sorry, did use the wrong convert.php. Now converted again and it looks good!

Got only these messages, are they any important?

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /homepages/6/d67037610/htdocs/LAF/convert.php on line 780

Notice: Undefined index: charsets in /homepages/6/d67037610/htdocs/LAF/convert.php on line 378

JayBachatero

Quote from: tanko on April 16, 2008, 03:34:38 PM
Sorry, Jay, the align issue persists. Didn't change anything. Maybe I did something wrong. Will try once more.
Was the tag converted at all or left the original way?

Quote from: witchheimer on April 17, 2008, 07:33:39 AM
I'm again! Sorry, did use the wrong convert.php. Now converted again and it looks good!

Got only these messages, are they any important?

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /homepages/6/d67037610/htdocs/LAF/convert.php on line 780

Notice: Undefined index: charsets in /homepages/6/d67037610/htdocs/LAF/convert.php on line 378

Did the conversion complete though?  I need to look into that undefined index error.  It shouldn't stop the conversion though.
Follow me on Twitter

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

witchheimer

Quote from: JayBachatero on April 17, 2008, 10:16:58 AMDid the conversion complete though?  I need to look into that undefined index error.  It shouldn't stop the conversion though.

yes, the conversion is complete, it hasnt been stopped.

btw, just saw, my announcements haven't been converted

tanko

April 17, 2008, 11:03:39 AM #447 Last Edit: April 17, 2008, 11:37:10 AM by tanko
Quote from: JayBachatero on April 17, 2008, 10:16:58 AM

Was the tag converted at all or left the original way?

It was left the original way, same way it was before. No errors but no changes.

PS: I also always get the old issue of "phpbb" before rank names. I'm sure I used the right files.

PS2: Is there, by chance, anything I can do to make SMF ranks use Phpbb2 rank images besides manually adding? Just wondering. Nothing big.

JayBachatero

Quote from: witchheimer on April 17, 2008, 10:32:07 AM
Quote from: JayBachatero on April 17, 2008, 10:16:58 AMDid the conversion complete though?  I need to look into that undefined index error.  It shouldn't stop the conversion though.

yes, the conversion is complete, it hasnt been stopped.

btw, just saw, my announcements haven't been converted
Annoucements as in global announcements?

Quote from: tanko on April 17, 2008, 11:03:39 AM
Quote from: JayBachatero on April 17, 2008, 10:16:58 AM

Was the tag converted at all or left the original way?

It was left the original way, same way it was before. No errors but no changes.

PS: I also always get the old issue of "phpbb" before rank names. I'm sure I used the right files.

PS2: Is there, by chance, anything I can do to make SMF ranks use Phpbb2 rank images besides manually adding? Just wondering. Nothing big.
1. Ok I'll look into it and see what's up.
2. You need to remove it from the admin panel.  Or edit the .sql file to remove it.
3. Would need to add some support for that in the converter.  ATM it's not supported.
Follow me on Twitter

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

-Live-

OK, I've done everything up to installing smf and uploading the correct files to the correct location. When I go to run the convert.php I need the correct Paths and Password. I don't have the first clue as to where to find the correct path for my current phpbb2 path. Any explicit instructions on how to find this? Also, I notice on the smf path that there is no www does this hold true for my current phpbb2 path?


-Live-

OK, I've found the correct path to both but now receive this once I run the convert.php

QuoteNotice: Undefined variable: dbname in /home/content/a/n/d/REMOVED/html/cof.142oda.net/smf/convert.php(343) : eval()'d code on line 1

Notice: Undefined variable: table_prefix in /home/content/a/n/d/REMOVED/html/cof.142oda.net/smf/convert.php(343) : eval()'d code on line 1


Sorry, the database connection information used in the specified installation of SMF cannot access the installation of phpBB2. 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: Incorrect database name ''


However, I used the correct database name and password when I installed smf as it is the same database for the Nuke Evolution current site.

SleePy

What browser where you using?

If you are sure you entered the values then those shouldn't be empty unless your browser isn't sending them correctly to the script
Jeremy D — Site Team / SMF Developer
Support the SMF Support team!
Profiles:GitHub
Join us on IRC Libera.chat/#smf

-Live-

Using Firefox. Also the database name and password had to be right otherwise smf wouldn't have installed right?

SleePy

and you where using the .sql and convert script attached to the first post in this topic?
Jeremy D — Site Team / SMF Developer
Support the SMF Support team!
Profiles:GitHub
Join us on IRC Libera.chat/#smf

-Live-

Yep, I created a sub domain hxxp:cof.142oda.net [nonactive] and then installed mkportal and smf. So I go from my root of my web server to the root of sub domain which contains the smf folder and then uploaded these two files phpbb2_to_smf.sql and convert.php there. I ran that by going to hxxp:cof.142oda.net/smf/convert.php [nonactive] and setup one page then it moved on to step one. This is where I hang on the paths or database access.

I'm with GoDaddy and have only the one mysql database which is installed for both the Nuke Evo and the SMF now. I did this since I can't create multiple users for one database and that is the way I've read has to be done in this case.

-Live-

OK, if I use the path  /home/content/a/n/d/REMOVED/html/modules/Forums then I get the above error for the phpbb2 path. If I change the path to /home/content/a/n/d/REMOVED/html/ then I get this error instead

QuoteSorry, the database connection information used in the specified installation of SMF cannot access the installation of phpBB2. 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: Table '142ODA.users' doesn't exist

So in conclusion I believe I don't have the correct path to where this converter needs to point. There are dozens of config.php throughout Evo so if anyone can post up the path from the root for a default Evo path that would be awesome.

SleePy

Where is you phpbb installed? It basically wants the path to that folder.
Jeremy D — Site Team / SMF Developer
Support the SMF Support team!
Profiles:GitHub
Join us on IRC Libera.chat/#smf

-Live-

I haven't the foggiest. I installed Nuke Evo much the same way as MKPortal with SMF. Nuke Evo runs Nuke PHP with Nuke Sentinel I take it and then uses phpbb2 for the forums. MKPortal is my index site for  the new one and SMF runs the forum side. Now when I look for where SMF is installed it is easy. However, when I look through the Evo install I see folders which say forums or forum inside almost every folder there including the root. I've tried dozens of the combinations to no avail.

SleePy

If Nuke Evo is like phpnuke, then I believe its in the modules folder in another folder called phpbb or forum.
Jeremy D — Site Team / SMF Developer
Support the SMF Support team!
Profiles:GitHub
Join us on IRC Libera.chat/#smf

-Live-

Evidently some information that I've read numerous times throughout the posts here were incorrect. Nuke Evo does use phpbb or phpbb2 but all the prefixes are nuke_ therefore the phpbb to smf will not work. A friend of mine actually found an evo to smf converter, I think it may have been on this site but not sure, and it worked pretty darn well. I of course had these similar issues with smilies, attachments, and links pointing from within the old site broken but I expected that and have spent the time to fix it. Also, it doubled all the User Groups but that was simply deleting them. One other strange thing that happened was that it ported over all registered members into the administrator group but again a pretty easy fix as I just had to delete those who weren't admins. All in all I would still give the conversion process an A since it saved the most important part and that was the information and the accounts. Thanks SleePy anyhow for the help and thanks for SMF since I love it already. 

Advertisement: