Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Transferring A Website To A New Host

Asked Modified Viewed 7,618 times
K
KRAZED1
K
grin
  • Junior Member, joined since
  • Contributed 49 posts on the community forums.
  • Started 17 threads in the forums
  • Started this discussions
asked
Junior Member

Hello,
I did search these forums and found a thread that is very outdated that helped a little, and I did do what it said to no avail. I was wondering if anyone can just give a simple (if that's possible) process that explains what to do to get my site transferred, and functioning. I am familiar with creating the database, CHMOD, and what not, just want help on what to do that isn't 6 yrs old because maybe the process has changed.

BTW, I am running 7.02.04. and maybe I need the "setup.php" from that version which I don't have, or can't find.

Thanks in advance.
0 replies

17 posts

P
PeaceLaced
P
PHP-Fusion MAIN Support Team
PHP-Fusion USA NSS Admin
  • Member, joined since
  • Contributed 154 posts on the community forums.
  • Started 23 threads in the forums
answered
Member

99% of the time you can just copy the files from old host to new host, copy the database from old host phpMyAdmin to new host phpMyAdmin using a file dump, and your up and running.
0 replies
F
faga
F
faga 10
I choose a lazy person to do a hard job. Because a lazy person will find an easy way to do it.” - Bill Gates
  • Member, joined since
  • Contributed 158 posts on the community forums.
  • Started 14 threads in the forums
answered
Member

Adding to BrandonBlack post.
After you moved all the files you need to edit config.php with the new data.
0 replies
P
PeaceLaced
P
PHP-Fusion MAIN Support Team
PHP-Fusion USA NSS Admin
  • Member, joined since
  • Contributed 154 posts on the community forums.
  • Started 23 threads in the forums
answered
Member

Quote

faga wrote:

Adding to BrandonBlack post.
After you moved all the files you need to edit config.php with the new data.


+1
0 replies
K
KRAZED1
K
grin
  • Junior Member, joined since
  • Contributed 49 posts on the community forums.
  • Started 17 threads in the forums
  • Started this discussions
answered
Junior Member

So basically import the old SQL file from the backup I did before I started? Also, the config.php file I have from the old site is blank..???? I know it has the database info in there, but I don't remember what else is there, so what can I do?
0 replies
F
faga
F
faga 10
I choose a lazy person to do a hard job. Because a lazy person will find an easy way to do it.” - Bill Gates
  • Member, joined since
  • Contributed 158 posts on the community forums.
  • Started 14 threads in the forums
answered
Member

You need the old files from ftp to, because if you upload a fresh PHPFusion copy and import the old db you will get errors.

You need:
- Old ftp files
- DB backup
- update config.php with the new data.
0 replies
K
KRAZED1
K
grin
  • Junior Member, joined since
  • Contributed 49 posts on the community forums.
  • Started 17 threads in the forums
  • Started this discussions
answered
Junior Member

I have uploaded all the files from the old/current site, so that's done, but the config.php file is blank. I know it's suppose to contain the data base info from the old site (I have the new database info I created) but like it said I don't know "exactly" what that is so I can change it to the new database info.

Hope that makes sense.
Thanks again for all the help!!
0 replies
F
faga
F
faga 10
I choose a lazy person to do a hard job. Because a lazy person will find an easy way to do it.” - Bill Gates
  • Member, joined since
  • Contributed 158 posts on the community forums.
  • Started 14 threads in the forums
answered
Member

<?php
// database settings
$db_host = "localhost";
$db_user = "user";
$db_pass = "pass";
$db_name = "name";
$db_prefix = "prefix_";
define("DB_PREFIX", "prefix_");
define("COOKIE_PREFIX", "cookie_prefix_");
?>


If this helps.
0 replies
K
KRAZED1
K
grin
  • Junior Member, joined since
  • Contributed 49 posts on the community forums.
  • Started 17 threads in the forums
  • Started this discussions
answered
Junior Member

Thank you!!!
0 replies
K
KRAZED1
K
grin
  • Junior Member, joined since
  • Contributed 49 posts on the community forums.
  • Started 17 threads in the forums
  • Started this discussions
answered
Junior Member

Ok, It did what it was supposed to, but now I am getting this,

Unable to establish connection to MySQL
1045 : Access denied for user 'bn06'@'localhost' (using password: NO)


Now, "bn06" is the site owner, but I did not create the database using him. I also did a full clean install to check to see if that worked, and it went without a hitch using my name in the database. Why is it denying a user that wasn't created as the "database user"?
www.php-fusion.co.uk/images/smiley/angry.gif


Oh! Its a GoDaddy account. Just so you know.
0 replies
P
PeaceLaced
P
PHP-Fusion MAIN Support Team
PHP-Fusion USA NSS Admin
  • Member, joined since
  • Contributed 154 posts on the community forums.
  • Started 23 threads in the forums
answered
Member

Quote

KRAZED1 wrote:

Ok, It did what it was supposed to, but now I am getting this,

Unable to establish connection to MySQL
1045 : Access denied for user 'bn06'@'localhost' (using password: NO)


Now, "bn06" is the site owner, but I did not create the database using him. I also did a full clean install to check to see if that worked, and it went without a hitch using my name in the database. Why is it denying a user that wasn't created as the "database user"?
www.php-fusion.co.uk/images/smiley/angry.gif


Oh! Its a GoDaddy account. Just so you know.


in Godaddy, click MySQL in databases (at bottom), click the down arrow "actions" next to the database you are working with, click Details. Under Database name and username:, you will see what you need for
$db_name = "name"
$db_name = "user"

then look at the bottom of the details for Hostname:, and use that whole like for
$db_host = "localhost" instead of localhost

you have to know the password, and the prefixes should be the old prefixes from the last install...
0 replies
K
KRAZED1
K
grin
  • Junior Member, joined since
  • Contributed 49 posts on the community forums.
  • Started 17 threads in the forums
  • Started this discussions
answered
Junior Member

I click on "Actions" and nothing happens. I shows that its "clickable", but it does not open anything. There is only 1 database created, and that's the one I created, so I know the information. For some reason it wants to try to access under the account owners name. I did a fresh install of PHP Fusion, and it worked great. We don't want a fresh install, we want our original site that has all its members, forum posts, yada...yada.
0 replies
P
PeaceLaced
P
PHP-Fusion MAIN Support Team
PHP-Fusion USA NSS Admin
  • Member, joined since
  • Contributed 154 posts on the community forums.
  • Started 23 threads in the forums
answered
Member

If it works with the fresh install, use the config.php file from the fresh install on the old install under the new host and see what happens.
0 replies
K
KRAZED1
K
grin
  • Junior Member, joined since
  • Contributed 49 posts on the community forums.
  • Started 17 threads in the forums
  • Started this discussions
answered
Junior Member

The "fusion_prefix" is different on the fresh install. On the old site the its

$db_prefix="fusion_";

and on the fresh install it had some added letters after the underscore. Doesn't the fusion_ prefix have to be what it is within the backup from the old site.

I will try what you suggested.

Thanks!
0 replies
P
PeaceLaced
P
PHP-Fusion MAIN Support Team
PHP-Fusion USA NSS Admin
  • Member, joined since
  • Contributed 154 posts on the community forums.
  • Started 23 threads in the forums
answered
Member

Quote

KRAZED1 wrote:

The "fusion_prefix" is different on the fresh install. On the old site the its

$db_prefix="fusion_";

and on the fresh install it had some added letters after the underscore. Doesn't the fusion_ prefix have to be what it is within the backup from the old site.

I will try what you suggested.

Thanks!


It is doubtful the issue is with prefix based on the message you received.

GoDaddy does not use localhost on shared hosting accounts. The error you received suggests your config.php has $db_host = "localhost";, which would be incorrect (assuming you are on shared). Since you have been unable to follow the link suggested previously to obtain the correct information, it would probably be wise to contact GoDaddy at this point.

Unable to establish connection to MySQL
1045 : Access denied for user 'bn06'@'localhost' (using password: NO)
0 replies
K
KRAZED1
K
grin
  • Junior Member, joined since
  • Contributed 49 posts on the community forums.
  • Started 17 threads in the forums
  • Started this discussions
answered
Junior Member

Yea. That was my next step, but I am the type that will try everything, and anything before I ask for help..LOL
Thanks for all your help Brandon!:G
0 replies
P
PeaceLaced
P
PHP-Fusion MAIN Support Team
PHP-Fusion USA NSS Admin
  • Member, joined since
  • Contributed 154 posts on the community forums.
  • Started 23 threads in the forums
answered
Member

Not a problem. Let us know how it turns out.
0 replies
K
KRAZED1
K
grin
  • Junior Member, joined since
  • Contributed 49 posts on the community forums.
  • Started 17 threads in the forums
  • Started this discussions
answered
Junior Member

Well, I got it. I was looking through the maincore.php file, and noticed that I edited some content back in the day that would hide the config.php content. I changed it back to the original content, and WALA!!!!!!!

Thanks again to all that helped. It is greatly appreciated!!
0 replies

Category Forum

Installation Issues - 8

Labels

None yet

Statistics

  • Views 0 views
  • Posts 17 posts
  • Votes 0 votes
  • Topic users 3 members

3 participants

P
P
PHP-Fusion MAIN Support Team
PHP-Fusion USA NSS Admin
  • Member, joined since
  • Contributed 154 posts on the community forums.
  • Started 23 threads in the forums
K
K
grin
  • Junior Member, joined since
  • Contributed 49 posts on the community forums.
  • Started 17 threads in the forums
  • Started this discussions
F
F
faga 10
I choose a lazy person to do a hard job. Because a lazy person will find an easy way to do it.” - Bill Gates
  • Member, joined since
  • Contributed 158 posts on the community forums.
  • Started 14 threads in the forums

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet