Results 1 to 2 of 2

Hybrid View

  1. #1
    Join Date
    Jan 2012
    Posts
    27
    Plugin Contributions
    0

    Default MYSQL error #1146 table doesn't exist - help!

    Hi there,

    Using Zencart version 1.5

    This is hosted with hostmonster and they are unable to offer me support for the issue.

    I uploaded my Zencart templated to my new hosted site as instructed then followed this in myphpadmin

    You should update the tables of your Zen Cart installation database using a mysql dump file located at “\sources\dumps\zencart_short.sql” inside the unzipped template package. Contact your hosting company for assistance. This will not affect the configuration of your ZenCart installation, just overwrite MySQL rows (tables) that define the style of your ZenCart store.
    I tried running the script mentioned on what i believe is the only db listed in there using phpMyAdmin and got the following error:


    Error SQL query: UPDATE configuration SET configuration_value ='0' WHERE configuration_key ='SHOW_PRODUCT_INFO_MAIN_FEATURED_PRODUCTS';

    MySQL said: #1146 - Table 'mypreci4_znc1.configuration' doesn't exist

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: MYSQL error #1146 table doesn't exist - help!

    "UPDATE configuration" needs to be changed to "UPDATE yourprefix_configuration", depending on whatever "yourprefix_" is for your site's configuration. When you installed Zen Cart you chose to add a database table-prefix instead of the default of leaving it blank. The zencart_short.sql that came with your template isn't smart enough to magically guess your prefix, and apparently the instructions that came with it didn't tell you about it either. If you don't know what your store's table prefix is, you'll find it in your /includes/configure.php file in the line that contains this:

    define('DB_PREFIX', 'your_prefix_is_inside_these_quotes');
    .

    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.

 

 

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. 1146 Table error zenconfiguration doesn't exist
    By gayelston in forum Installing on a Linux/Unix Server
    Replies: 6
    Last Post: 1 Dec 2007, 10:26 PM
  4. Replies: 2
    Last Post: 31 Aug 2007, 03:34 PM
  5. Help! 1146 Table doesn't exist?
    By sberriemb in forum General Questions
    Replies: 5
    Last Post: 6 Jun 2007, 08:11 AM

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