Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Table 'databasename.products' doesn't exist

Table 'databasename.products' doesn't exist

Locked

Views: 1,061

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
19 Jul 2006, 7:35 AM
#1
onequickmemory avatar

onequickmemory

New Zenner

Join Date:
Jul 2006
Location:
Tallahassee, FL
Posts:
6
Plugin Contributions:
0

Table 'databasename.products' doesn't exist

*database *name representing the first attempt to install and configure. I chose to chache by database and the database I chose was dedicated to my site. WRONG MOVE. Apparantly a primary key was overridden and I cannot seem to solve it. When my site makes a call to MySQL(now that I started over, dropped the first set of zen tables and reinstalled&created a new db and changed the installation path to a zendb name) I still am getting the error with the first databasename.products error showing in the browser saying Table 'databasename.products' does not exist. Im running a late version of Apachee, MySQL 4.1, PHP5. Can I unenable this overriding call to MySQL?

20 Jul 2006, 6:45 AM
#2
drbyte avatar

drbyte

Sensei

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

Re: Table 'databasename.products' doesn't exist

sounds like you've hard-coded a call to your old database somewhere in your code.

Zen Cart is designed to make all its calls based on only the information in your configure.php files. Any other calls to the tables by addons, contributions, custom coding, etc, may or may not be designed to operate from the same central point.

Try doing a search on all your PHP files for the name of your old database. Perhaps that will help you.

As to why you ended up with the cache and other problems...sounds like a lot of confusion over settings somewhere.