Simple Machines Community Forum

SMF Support => Converting to SMF => vBulletin => Topic started by: Phil Serna on June 20, 2008, 04:51:17 PM

Title: converting from 3.7.1
Post by: 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!
Title: Re: converting from 3.7.1
Post by: babjusi on June 20, 2008, 04:53:50 PM
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
Title: Re: converting from 3.7.1
Post by: Phil Serna on June 20, 2008, 04:58:09 PM
thanks.. i hope i can get this. :-D
Title: Re: converting from 3.7.1
Post by: babjusi on June 20, 2008, 05:03:06 PM
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 :)
Title: Re: converting from 3.7.1
Post by: SleePy on June 20, 2008, 06:17:23 PM
See my reply:
http://www.simplemachines.org/community/index.php?topic=238435.msg1585818#msg1585818
Title: Re: converting from 3.7.1
Post by: Phil Serna on June 21, 2008, 04:42:56 PM
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. ?
Title: Re: converting from 3.7.1
Post by: SleePy on June 21, 2008, 05:50:31 PM
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.
Title: Re: converting from 3.7.1
Post by: Phil Serna on June 21, 2008, 06:00:08 PM
what about the post's? members? and everything else?

Title: Re: converting from 3.7.1
Post by: SleePy on June 21, 2008, 06:02:43 PM
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.
Title: Re: converting from 3.7.1
Post by: Phil Serna on June 21, 2008, 06:23:23 PM
how do i go about that sleepy? i would really like to get the info up on my board.
Title: Re: converting from 3.7.1
Post by: 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).
Title: Re: converting from 3.7.1
Post by: Phil Serna on June 21, 2008, 06:34:50 PM
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?
Title: Re: converting from 3.7.1
Post by: SleePy on June 21, 2008, 06:35:27 PM
the file needs to be named "config.php" but yes
Title: Re: converting from 3.7.1
Post by: Phil Serna on June 21, 2008, 06:37:37 PM
yeah thats what i meant to say. :-D
Title: Re: converting from 3.7.1
Post by: Phil Serna on June 21, 2008, 06:40:53 PM
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?
Title: Re: converting from 3.7.1
Post by: SleePy on June 21, 2008, 07:15:06 PM
It is the name of the database that has the vb database in it.

Title: Re: converting from 3.7.1
Post by: Phil Serna on June 21, 2008, 07:49:49 PM
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.
Title: Re: converting from 3.7.1
Post by: SleePy on June 21, 2008, 10:44:39 PM
Did you make sure the SMF MySQL user can access both the SMF database and the VB database?
Title: Re: converting from 3.7.1
Post by: Phil Serna on June 21, 2008, 10:53:41 PM
How do i go about that? Thanks Sleepy
Title: Re: converting from 3.7.1
Post by: SleePy on June 21, 2008, 11:10:45 PM
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.
Title: Re: converting from 3.7.1
Post by: Phil Serna on June 21, 2008, 11:11:48 PM
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?

Title: Re: converting from 3.7.1
Post by: SleePy on June 21, 2008, 11:46:19 PM
no..
Why can't you ask your host?
Title: Re: converting from 3.7.1
Post by: Phil Serna on June 22, 2008, 12:42:55 AM
I wouldn't know what to ask godaddy.
Title: Re: converting from 3.7.1
Post by: SleePy on June 22, 2008, 01:11:26 AM
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).
Title: Re: converting from 3.7.1
Post by: Phil Serna on June 22, 2008, 01:55:42 PM
How would i go about the second answer? Having both on the same db?
Title: Re: converting from 3.7.1
Post by: SleePy on June 23, 2008, 02:28:57 PM
You just need to import it into the current SMF Database.
Make sure though that they both have different prefixes!
Title: Re: converting from 3.7.1
Post by: AdrenalineRider on July 13, 2008, 04:33:37 PM
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 ;)