Page 1 of 2 12 LastLast
Results 1 to 10 of 17
  1. #1
    Join Date
    May 2005
    Location
    London
    Posts
    45
    Plugin Contributions
    0

    application error HELP - cache does not exist

    I searched for cache does not exist and found nothing which helps me immediately, so forgive the question.


    My site was working fine. Not sure which version it was. I tend to be slow at updating.

    I've come to my shop and get
    1146 Table 'mysite_zc1.zen_db_cache' doesn't exist
    in:
    [db_cache table]

    If I try to log in to admin I get the same thing.

    Maybe not related, but my site admin was actually renamed blah, and although blah still exists, admin does now too. So I don't know if my host has forced an upgrade on me, not told me and broken it, or what.

    Logging n to blah gives the same no cache.

    I've tried the cache fix utility, though this only seems to apply to older 1.2 versions ?!

    HELP !

    Alternaitvely, if I start again with a fresh 1.37, can I just re-import my database and style sheets ? I'm sure that answer exists, but I relaly have a headache now!

    You'll appreicate the frustration I'm sure.

    MANY THANKS.

  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: HELP - cache does nto exist

    If your host has attempted to unilaterally upgrade your site, then run like hell. That can only end in tears and they shouldn't be doing it.

    However, the sudden appearance of a new admin section and a Zen Cart trying to find the cache table using the unrecognized (but default) zen_ prefix, does sound like somebody has been playing with the site.

    Although you can upgrade by installing 1.3.7, reimporting and then upgrading your database and copying across stylesheets and other template files that you have changed, you would also need to amend those stylesheets and other template files to reflect changes that have been made in the versions of Zen Cart that come later than that which you were running when you created them - so it's not trivial.

    I wouldn't even start such an upgrade until I was clear about the changes had occurred in the first place and was confident that they wouldn't happen again.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  3. #3
    Join Date
    May 2005
    Location
    London
    Posts
    45
    Plugin Contributions
    0

    Default Re: HELP - cache does nto exist

    Thanks kuroi
    Obviously I am greatly concerned about that too.

    Can I just reset this cache setting?

    But in my phpmyadmin config there is no setting for cache directory that I can see, as outlined by lynda in another post.

    How can I best set this back to a working state and keep my existing products (and ideally orders/client records).

    Should I just upgrade 1.37 over it ?

    Is that safe if I was on a 1.2 something?
    Problem is I can' remember exactly which version it was.

    If I'm going to have to export the database and re-import it, any quick pointers how to do this efficiently wothout having to rename table prefixes and re-importing rubbish admin and cache settings back in?

    I'm begining to think the smart money is in two databases, one for admin and 1 purely for client data.... which is 100% portable and idiot proof portable!

  4. #4
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: HELP - cache does nto exist

    It's difficult to advise here without knowing more about your original setup and what it is now.

    Here's what seems likely ... you still have a database as you haven't been plopped into the zc_install routine so step 1 is lock it down by doing a back up using phpMy Admin.

    Then look at it (also via phpMyAdmin) to see whether it uses table prefixes and if so what they are.

    Then look in your includes/configure.php admin/includes/configure.php and blah/includes/configure.php to see what the database prefix is defined as in there (it will be in the block towards the bottom).

    Then go into the includes/templates/template_default/css/stylesheet.css and take a look at the date in the version $ID line at the top. This will tell me which version of the Zen Cart code is now on your system.

    Post all that back here and separately PM me the name of your host (that last piece of data is by private message because I wouldn't want to cast aspersions about a host by having them named publicly, but knowing which it is may provide some clues as to what has happened).
    Last edited by kuroi; 7 Jan 2007 at 07:45 PM.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  5. #5
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: HELP - cache does nto exist

    One other task ...

    Using phpMyAdmin again, look at the project_version table in your database, which will tell you what Zen Cart version your database is.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  6. #6
    Join Date
    May 2005
    Location
    London
    Posts
    45
    Plugin Contributions
    0

    Default Re: HELP - cache does nto exist

    The default stylesheet on my local backup says

    // +----------------------------------------------------------------------+
    // $Id: stylesheet.css 1223 2005-04-22 03:46:20Z ajeh $

    The default stylesheet on the broken web shop says
    (waiting an hour to download it all now.....)

    One oddity, is on my local backup I have no index.php in the cache folder.
    On the broken web version I have an index.php in the cache folder.
    Is that normal and from what version ?

    cache index.php
    // $Id: index.php 1322 2005-05-06 23:22:28Z drbyte $
    //

    // send to domain root
    session_write_close();
    header('Location: ' . 'http://' . $_SERVER['HTTP_HOST']);
    exit();
    ?>
    Last edited by midiwhale; 7 Jan 2007 at 08:31 PM.

  7. #7
    Join Date
    May 2005
    Location
    London
    Posts
    45
    Plugin Contributions
    0

    Default Re: HELP - cache does nto exist

    Project version - Cool Tip ;-)

    Project version says 2.5 for main and db
    Project history says 2.4

    I can't remember if I did do an upgrade or not.

    So doesn't look like a forced (or attempted?) 3.6 upgrade then ..... ?

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

    Default Re: HELP - cache does nto exist

    None of the upgrade tools do anything to the db_cache table.
    If your db_cache table is missing, you can recreate it by finding the "CREATE TABLE db_cache ..." section of the mysql_zencart.sql file in the zc_install folder.
    .

    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.

  9. #9
    Join Date
    May 2005
    Location
    London
    Posts
    45
    Plugin Contributions
    0

    Default Re: HELP - cache does not exist

    Thanks DrByte !!

    I had a db_cache entry in the database. Just not the entry in the php file, lynda mentioned.


    I've found the includes config had changed for the SSL path entry.

    Also counters had changed from the backup.

    I'm now getting;

    1146 Table 'microban_zc1.meta_tags_categories_description' doesn't exist
    in:
    [select * from meta_tags_categories_description mcd where mcd.categories_id = '0' and mcd.language_id = '1']

    and indeed this isn't in the current database (v2.5)

    Seems it's a half way upgrade ? - not sure how, who or to what.


    Assuming this is a 2.5 version, is it safe for me to do a 3.6 upgrade and do the table upgrades ? bearing in mind I can't log-in as admin, or visit the front page yet ?

    WDYT ??

    I could do a complete backup to live restore, but AYK it takes ages and there's not guarantee it will work anyway even then.

    WDYT is my safest course of action?

    I have backed up the mysql file (including config table, which is the bit that worries me) and the broken shop in a spare folder.

    Sorry I can't think clearly at the moment. I just wasn't expecting this right now......

    Thanks for your help guys !

  10. #10
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: HELP - cache does nto exist

    The hypothesis that I am working with is that your database and code are out of sync. But before giving advice, it would be helpful to be able to confirm this, hence the request for the date on the stylesheet and for info about the database prefixes. This would still be helpful if you have it.

    Longer term, the safest course of action will be to upgrade to the latest version (1.3.7) of Zen Cart - after all that's the one with the most security fixes in. But that's a pretty big undertaking as you would be crossing from 1.2.x to 1.3.x and there were some significant structural changes in Zen Cart with this transition. So some idea of what changes you had made to your Zen Cart and how extensive they were (stylesheet, template files, module file, language files, extra functions, etc.) would help in giving advice.

    And as always ... a live link to the broken site can be invaluable.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

 

 
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. v154 Alert: Your cache directory does not exist or is not writable
    By mckj in forum General Questions
    Replies: 11
    Last Post: 28 Feb 2015, 03:17 PM
  3. 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
  4. 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
  5. PLEASE HELP: zen_db_cache does not exist
    By isaacr25 in forum Installing on a Linux/Unix Server
    Replies: 15
    Last Post: 14 Nov 2007, 06:14 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