Page 1 of 2 12 LastLast
Results 1 to 10 of 16
  1. #1
    Join Date
    Jul 2007
    Posts
    172
    Plugin Contributions
    0

    Default PLEASE HELP: zen_db_cache does not exist

    I just completed a database migration and when I go to the store url to attempt running fix_cache_key.php, I get the following error:

    1146 Table 'jacksold_zc1.zen_db_cache' doesn't exist
    in:
    [db_cache table]

    I've checked the configure.php files in both admin/includes and includes directories, and they both have the DB_PREFIX as "zen_"

    Please advise. Thanks.

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

    Default Re: PLEASE HELP: zen_db_cache does not exist

    Quote Originally Posted by isaacr25 View Post
    1146 Table 'jacksold_zc1.zen_db_cache' doesn't exist
    Let's dissect the error message:
    1146 = the error number assigned from MySQL
    Table = we're talking about a Table here
    jacksold_zc1 = this is the name of the database being accessed
    zen_db_cache = this is the name of the table where the problem was found
    doesn't exist = this is the problem encountered

    So, you already confirmed that "zen_" is the consistent prefix expected.
    Now you need to open your "jacksold_zc1" database and make sure that the zen_db_cache table actually exists there.
    But first I suggest that you check to be sure that you really meant to use "jacksold_zc1". Isn't that your "old" database?
    .

    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.

  3. #3
    Join Date
    Jul 2007
    Posts
    172
    Plugin Contributions
    0

    Default Re: PLEASE HELP: zen_db_cache does not exist

    Quote Originally Posted by DrByte View Post
    Let's dissect the error message:
    1146 = the error number assigned from MySQL
    Table = we're talking about a Table here
    jacksold_zc1 = this is the name of the database being accessed
    zen_db_cache = this is the name of the table where the problem was found
    doesn't exist = this is the problem encountered

    So, you already confirmed that "zen_" is the consistent prefix expected.
    Now you need to open your "jacksold_zc1" database and make sure that the zen_db_cache table actually exists there.
    But first I suggest that you check to be sure that you really meant to use "jacksold_zc1". Isn't that your "old" database?
    I actually don't have a table called zen_db_cache. I do have one called db_cache.

    The "old" is actually part of the company name... it doesn't refer to an old database.

    What next? Thanks.

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: PLEASE HELP: zen_db_cache does not exist

    Do any other tables start with zen_ or ... do they all have more normal names like:
    admin
    address_book
    products
    products_description
    etc. etc. etc.
    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!

  5. #5
    Join Date
    Jul 2007
    Posts
    172
    Plugin Contributions
    0

    Default Re: PLEASE HELP: zen_db_cache does not exist

    Quote Originally Posted by Ajeh View Post
    Do any other tables start with zen_ or ... do they all have more normal names like:
    admin
    address_book
    products
    products_description
    etc. etc. etc.
    The tables have "normal" names.

  6. #6
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: PLEASE HELP: zen_db_cache does not exist

    Quote Originally Posted by isaacr25 View Post
    I've checked the configure.php files in both admin/includes and includes directories, and they both have the DB_PREFIX as "zen_"
    Quote Originally Posted by isaacr25 View Post
    The tables have "normal" names.
    okay, then why are you using "zen_" as a table prefix in your configure.php files?
    .

    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.

  7. #7
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: PLEASE HELP: zen_db_cache does not exist

    Could you peek at your files, on the server, and see if they contain a prefix:
    Code:
      define('DB_PREFIX', 'zen_');
    And change them in the files:
    /includes/configure.php
    /admin/includes/configure.php

    to read:
    Code:
      define('DB_PREFIX', '');
    and see if removing the prefix makes the magic occur ...
    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!

  8. #8
    Join Date
    Jul 2007
    Posts
    172
    Plugin Contributions
    0

    Default Re: PLEASE HELP: zen_db_cache does not exist

    Ok,
    I removed the zen_ from both DB_PREFIX settings in both configure files, and this worked fine.

    Another issue: Now I'm getting an error saying that the configure.php file is writeable. I try chmodding to 444 (its currently 644), but the permissions aren't saving. When I go back to permissions, they're back to 644.

    See the site here.

  9. #9
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: PLEASE HELP: zen_db_cache does not exist

    Quote Originally Posted by DrByte View Post
    okay, then why are you using "zen_" as a table prefix in your configure.php files?
    Quote Originally Posted by isaacr25 View Post
    Ok,
    I removed the zen_ from both DB_PREFIX settings in both configure files, and this worked fine.
    Why did you have "zen_" as the prefix in the first place?
    .

    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.

  10. #10
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: PLEASE HELP: zen_db_cache does not exist

    This is because your hosting site is not giving you control via FTP to make this change to 444 ...

    Go into your Control Panel and change the setting ...

    NOTE: changing to 444 means you cannot overwrite this file without first changing to 644 via your FTP program ...

    NOTE: be sure you carefully review your new found data and that it is, in fact, the right data and most current for your site ...
    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!

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v155 Image Does Not Exist
    By adb34 in forum General Questions
    Replies: 3
    Last Post: 30 Apr 2016, 10:13 PM
  2. Tools > EZ-Pages Does Not Exist HELP!!!
    By WarriorC in forum Customization from the Admin
    Replies: 3
    Last Post: 1 Jul 2010, 06:01 PM
  3. The page you tried to access does not exist on this server. This page may not exist d
    By tman4j in forum Setting Up Categories, Products, Attributes
    Replies: 5
    Last Post: 1 May 2010, 10:44 PM
  4. Swapped host, now "zen_db_cache' doesn't exist" error
    By travellers in forum Installing on a Linux/Unix Server
    Replies: 11
    Last Post: 22 Nov 2008, 04:45 PM
  5. HELP - cache does not exist
    By midiwhale in forum General Questions
    Replies: 16
    Last Post: 8 Jan 2007, 01:13 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