News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

converting from 3.7.1

Started by Phil Serna, June 20, 2008, 04:51:17 PM

Previous topic - Next topic

Phil Serna

hey everyone.. so i just did a backup of my db on vb and thank god i did.. the person who was hosting me i guess didn't pay the bill.. so i got hosting with godaddy again. i still have that backup saved so my question is can someone point to the right area where i would need to begin?

like is there a link that i can follow the instructions on? thanks!
www.misc-content.com
Helping you get through your work day.

babjusi

Quote from: Phil Serna on June 20, 2008, 04:51:17 PM
hey everyone.. so i just did a backup of my db on vb and thank god i did.. the person who was hosting me i guess didn't pay the bill.. so i got hosting with godaddy again. i still have that backup saved so my question is can someone point to the right area where i would need to begin?

like is there a link that i can follow the instructions on? thanks!


Hi and welcome to Smf :)

Have a look here. It explains in detail how to convert to smf. Hope it helps :)

http://docs.simplemachines.org/index.php?board=4.0;sort=subject

Phil Serna

thanks.. i hope i can get this. :-D
www.misc-content.com
Helping you get through your work day.

babjusi

Quote from: Phil Serna on June 20, 2008, 04:58:09 PM
thanks.. i hope i can get this. :-D

You are welcome. If you run into problems just post here and I am sure more people will help you out further as well.

Good luck with the conversion :)

SleePy

Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

Phil Serna

i may have a problem. i was looking at the converting and put my link to convert, but it's asking for the path of  the vb which i don't know.. any other on doing this?

i was being hosted by someone in which i guess they got suspended. so i don't know the path. ?
www.misc-content.com
Helping you get through your work day.

SleePy

It is looking for the path to vB so it can use it to do things such as find the config file and copy attachments/avatars to SMF.
You can make up the config file, but if you don't have vB anywhere then you won't be able to recover attachments/avatars.
Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

Phil Serna

what about the post's? members? and everything else?

www.misc-content.com
Helping you get through your work day.

SleePy

As long as you have the database those will convert.
But you need to at least fake the configuration file so it knows the database name and prefix of the vb database.
Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

Phil Serna

how do i go about that sleepy? i would really like to get the info up on my board.
www.misc-content.com
Helping you get through your work day.

SleePy

you just need a directory that will be used as the vb root directory. You then create a folder in that called "includes"

In that folder create a new file called "config.php"
and put in it:
<?php
$config
['Database']['dbname'] = 'forum';
$config['Database']['tableprefix'] = '';
?>


You then change those values to make your vb database name and prefix (if any).
Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

Phil Serna

okay so since i have my forum in my root. your saying to create a folder called includes.. then create a .php and toss it inside the includes folder. am i correct?
www.misc-content.com
Helping you get through your work day.

SleePy

the file needs to be named "config.php" but yes
Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

Phil Serna

yeah thats what i meant to say. :-D
www.misc-content.com
Helping you get through your work day.

Phil Serna

Quote from: SleePy on June 21, 2008, 06:28:56 PM
you just need a directory that will be used as the vb root directory. You then create a folder in that called "includes"

In that folder create a new file called "config.php"
and put in it:
<?php
$config
['Database']['dbname'] = 'forum';
$config['Database']['tableprefix'] = '';
?>


You then change those values to make your vb database name and prefix (if any).

i have a question on this part right here.

the db name.. is it going to be the new for smf?
www.misc-content.com
Helping you get through your work day.

SleePy

It is the name of the database that has the vb database in it.

Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

Phil Serna

I keep on getting this

QuoteSorry, the database connection information used in the specified installation of SMF cannot access the installation of vBulletin 3.6. This may either mean that the installation doesn't exist, or that the MySQL account used does not have permissions to access it.
www.misc-content.com
Helping you get through your work day.

SleePy

Did you make sure the SMF MySQL user can access both the SMF database and the VB database?
Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

Phil Serna

How do i go about that? Thanks Sleepy
www.misc-content.com
Helping you get through your work day.

SleePy

You should ask your host about this for more details :)
Since every host is different it would be hard to give instructions on how to do this.
Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

Phil Serna

well.. i'm screwed then. i probably wont be able to convert this.

btw.. since i didn't have the hosting on my godaddy.. would that be a problem with the path being not valid and not reading it?

www.misc-content.com
Helping you get through your work day.

SleePy

no..
Why can't you ask your host?
Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

Phil Serna

I wouldn't know what to ask godaddy.
www.misc-content.com
Helping you get through your work day.

SleePy

Just ask them how you can have the same mysql user access two different databases.

It may not be possible, which in that case you would have to have SMF and vb in the same database (but using different prefixes).
Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

Phil Serna

How would i go about the second answer? Having both on the same db?
www.misc-content.com
Helping you get through your work day.

SleePy

You just need to import it into the current SMF Database.
Make sure though that they both have different prefixes!
Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

AdrenalineRider

Quote from: Phil Serna on June 22, 2008, 01:55:42 PM
How would i go about the second answer? Having both on the same db?

Hi Phil,

I am using godaddy too and I had the same exact problem when I converted my db
By default, godaddy has the access permissions. SMF & VB use diffrent prefixes. You would need to ask Godaddy tech support to guide you on this. Just ask " How do I configure mysql access two different databases"  Or alternate is to have the same mysql with multiple database ;)

Advertisement: