Zen Cart Logo
Forums / General Questions / Copying a site

Copying a site

Locked

Views: 869

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
26 Oct 2008, 6:24 PM
#1
hllight avatar

hllight

Zen Follower

Join Date:
May 2007
Location:
Port Charlotte, FL
Posts:
125
Plugin Contributions:
0

Copying a site

I am setting up a second website and I have copied my existing 1.3.7 site to a new server (www.thesignagenetwork.com) because heavily modified and I like the look and feel.
For some reason it cannot o connect to the database. The new server is the exact same setup as the old server and the ISP is the same.
Here is what I have done:
1- copied all files from the old site to the new site
2- modified includes/configure.php and admin/includes/configure.php to reflect the new site
address and user name.
3- downloaded the old database and changed all references to the old URL to the new URL and
the old username to the new username.
4- uploaded the modified database to the new server
5- edited .htaccess to reflect the new address information.
I get an error saying that there is a problem connecting the database. What have I missed?

26 Oct 2008, 6:29 PM
#2
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Copying a site

All the steps are there, including one that I wouldn't have expected would be necessary (step 3).

All the information for making a connection to your database is in the configure files. So either they are wrong, or the database isn't where you think it is.

The most common problem when people believe that they have done everything, is that they have edited and reloaded the configure files, but forgotton that they were write-protected. So the changes made are correct, but haven't actually made it into the configure files on the site.

26 Oct 2008, 6:50 PM
#3
hllight avatar

hllight

Zen Follower

Join Date:
May 2007
Location:
Port Charlotte, FL
Posts:
125
Plugin Contributions:
0

Re: Copying a site

Thank you very much for your reply.
I found the problem. In the configure.php files there is a SERVER_PASSWORD variable. The password was set incorrectly. After changing that variable it now works.