Forums / Upgrading from 1.2 to 1.3.x / 1146 Table Error but table exists

1146 Table Error but table exists

Locked

Started by cshart on 1 Jan 2008, 1:11 AM · Views: 3,895

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
1 Jan 2008, 1:11 AM
#1
cshart avatar

cshart

Zen Follower

Join Date:
Mar 2005
Posts:
370
Plugin Contributions:
0

1146 Table Error but table exists

1146 Table 'scrapboo_newshop.project_version' doesn't exist
in:
[select * from project_version WHERE project_version_key = 'Zen-Cart Database' ]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.

But the table is named zen_project_version so where do I need to change the code so it will find the table.

C

Front side works.

1 Jan 2008, 1:16 AM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: 1146 Table Error but table exists

Sounds like you set this up with a database prefix of zen_ but then your configure.php file(s) do not reflect this ...

Assuming this is an upgrade ... and that you have the two configure.php files check that the files:
/includes/configure.php
/admin/includes/configure.php

have the prefix defined in them for:

  define('DB_PREFIX', '');

should match the prefix you appear to be using of zen_ with:

  define('DB_PREFIX', 'zen_');

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!