Zen Cart Logo
Forums / Installing on a Windows Server / moving to new host, getting a db_cache error after importing database

moving to new host, getting a db_cache error after importing database

Locked

Views: 1,968

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
19 Jun 2008, 9:02 PM
#1
littleturtlemama avatar

littleturtlemama

New Zenner

Join Date:
Mar 2007
Posts:
37
Plugin Contributions:
0

moving to new host, getting a db_cache error after importing database

I've followed the directions here
and after I import the backed-up database from the old host, I get this error when trying to access the site:
1146 Table 'ltkmama_zencart.zencart_db_cache' doesn't exist
in:
[db_cache table]

Any ideas on what the problem might be? I'm lost!

19 Jun 2008, 9:11 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: moving to new host, getting a db_cache error after importing database

ltkmama_zencart.zencart_db_cache

That is alot of prefix on a table

I would check your db table names - specifically for the db_cache one

It is most likely zencart_db_cache

19 Jun 2008, 9:13 PM
#3
drbyte avatar

drbyte

Sensei

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

Re: moving to new host, getting a db_cache error after importing database

The part of the prefix before the "." is the name of your database.
Thus, it seems your store is set up to look at tables using "zencart_" as the DB_PREFIX setting.
Is that what your configure.php files contained on your old host?

Are you sure that your database import completed without errors?

19 Jun 2008, 10:18 PM
#4
littleturtlemama avatar

littleturtlemama

New Zenner

Join Date:
Mar 2007
Posts:
37
Plugin Contributions:
0

Re: moving to new host, getting a db_cache error after importing database

excellent! It's fixed - the DB-prefix should have been zencart not zencart_
thanks to you oth - I'd never have found that without your promptings :)