Zen Cart Logo
Forums / General Questions / Can't reestablish link with database

Can't reestablish link with database

Locked

Views: 706

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
28 Sep 2010, 2:59 AM
#1
spembleton avatar

spembleton

Zen Follower

Join Date:
Jun 2010
Location:
Holland, MI
Posts:
232
Plugin Contributions:
0

Can't reestablish link with database

I had to reinstall my entire website. Everything worked, but I am not able to see my products and customers in the new site. I checked both of the configure.php files and the file path, name passwords to the database are correct. I checked the database and all of the data is in the database. What else might be causing the problem?

28 Sep 2010, 3:22 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Can't reestablish link with database

Zen Cart relies only on the database settings in the 2 configure.php files in order to connect to the database.
So, if the details in those files are wrong, then Zen Cart can't connect.

Common causes of problems:
a) you changed the database name, or username or password, and didn't update both configure.php files with the new details
b) you didn't make the files writable before you tried to upload changes to them, thus the changes didn't "take"
c) you imported a database that's using a different prefix than what you set in your configure.php files.
d) see (a), (b), and (c) above.

28 Sep 2010, 8:42 PM
#3
spembleton avatar

spembleton

Zen Follower

Join Date:
Jun 2010
Location:
Holland, MI
Posts:
232
Plugin Contributions:
0

Re: Can't reestablish link with database

b) you didn't make the files writable before you tried to upload changes to them, thus the changes didn't "take"
Thanks Doc - I just needed to make the files writable. I didn't notice that they were not being updated.