Results 1 to 7 of 7

Hybrid View

  1. #1
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: 1146 Table error zenconfiguration doesn't exist

    Great.

    I should have mentioned part two ... can you look up the same settings from your "old" site? ... and post them.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  2. #2
    Join Date
    Aug 2006
    Location
    Wales
    Posts
    87
    Plugin Contributions
    0

    Default Re: 1146 Table error zenconfiguration doesn't exist

    You ARE quick!
    This is the same section copied & pasted from the live site files:
    // define our database connection
    define('DB_TYPE', 'mysql');
    define('DB_PREFIX', 'zen_');
    define('DB_SERVER', '127.0.0.1'); // eg, localhost - should not be empty
    define('DB_SERVER_USERNAME', 'kelston');
    define('DB_SERVER_PASSWORD', '');
    define('DB_DATABASE', 'artyfactsforcrafts_com_-_zencart');
    define('USE_PCONNECT', 'false'); // use persistent connections?
    define('STORE_SESSIONS', 'db'); // leave empty '' for default handler or set to 'db'
    Hope that helps
    Regards
    ######
    Last edited by gayelston; 1 Dec 2007 at 10:01 PM. Reason: missing observation

  3. #3
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: 1146 Table error zenconfiguration doesn't exist

    Okay.

    Did you notice that your DB_PREFIX is "zen" for one site and "zen_" for the other?

    So, your imported data will have tables named like "zen_admin", "zen_configuration", etc

    But, since your new site is set up for "zen", it's looking for "zenadmin", "zenconfiguration", etc.

    Thus, there's a mismatch.

    What to do?
    a) drop all the tables in your NEW database
    b) edit your NEW configure.php files and change DB_PREFIX to "zen_" ... which matches your old site .... because you'll be importing data that has tables matching the names of your old site
    c) import your old site data into the new database

    Things should be okay now.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  4. #4
    Join Date
    Aug 2006
    Location
    Wales
    Posts
    87
    Plugin Contributions
    0

    Default Re: 1146 Table error zenconfiguration doesn't exist

    Thank you!
    Actually, it didn't work fully at first:
    I changed includes/configure.php & that let me see the front end, but not the admin.
    So I checked the admin/includes/configure.php & found the same fault.
    I changed that & now everything is perfect.
    All I have to do now is go through it all again with the new version!
    You may see me back on a similar subject soon but, until then, many many thanks.
    You really have saved my sanity, because I checked all the lines on this file & could have sworn I'd done it all right!
    Thanks again
    Regards
    ######
    Artyfactsforcrafts.com

 

 

Similar Threads

  1. v139h SQL Error 1146 Table TABLE_CUSTOMERS_ADMIN_NOTES doesn't exist
    By utefan in forum General Questions
    Replies: 4
    Last Post: 3 Mar 2016, 07:45 PM
  2. v151 upgrading error 1146 table doesn't exist
    By scottrdj in forum Upgrading to 1.5.x
    Replies: 4
    Last Post: 31 Dec 2012, 03:05 PM
  3. MYSQL error #1146 table doesn't exist - help!
    By TheKenster in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 20 Jan 2012, 01:48 PM
  4. Upgrade Error: 1146 Table 'zc1.TABLE_SAGE_PAY_FORM' doesn't exist
    By cchairnbeauty in forum Upgrading from 1.3.x to 1.3.9
    Replies: 0
    Last Post: 11 Sep 2010, 11:27 AM
  5. Replies: 2
    Last Post: 31 Aug 2007, 03:34 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg