Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    Jun 2005
    Posts
    37
    Plugin Contributions
    0

    Default SQL Cahce Method Creating Too Much Memory (disk space using file method)

    I'm using the SQL Cahce Method and my hosting server is shutting me down after a three days or so because the cahce folder takes up too much hard drive space. Is there a way I can limit the amount of drive space it takes up?

  2. #2
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: SQL Cahce Method Creating Too Much Memory

    set cache to DB or set to none
    Zen cart PCI compliant Hosting

  3. #3
    Join Date
    Jun 2005
    Posts
    37
    Plugin Contributions
    0

    Default Re: SQL Cahce Method Creating Too Much Memory

    Quote Originally Posted by Merlinpa1969 View Post
    set cache to DB or set to none
    where do I go to do this?

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

    Default Re: SQL Cahce Method Creating Too Much Memory

    /includes/configure.php
    and
    /admin/includes/configure.php

    Code:
    // For SQL_CACHE_METHOD, you can select from:  none, database, or file
    // If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache
    // or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder
    // ie: /path/to/your/webspace/public_html/zen/cache   -- leave no trailing slash
    define('SQL_CACHE_METHOD', 'none');
    .

    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.

  5. #5
    Join Date
    Jun 2005
    Posts
    37
    Plugin Contributions
    0

    Default Re: SQL Cahce Method Creating Too Much Memory (disk space using file method)

    Thank you for your help.

 

 

Similar Threads

  1. v151 Too much space between thumbnails
    By SilverHD in forum General Questions
    Replies: 11
    Last Post: 14 May 2013, 11:12 PM
  2. URGENT: too much CPU and memory usage after upgrade
    By dealbyethan.com in forum General Questions
    Replies: 9
    Last Post: 3 Oct 2010, 01:56 PM
  3. Too much space under my banner
    By markus75 in forum General Questions
    Replies: 0
    Last Post: 11 Aug 2008, 01:21 AM
  4. Too much blank space - The center column is too low
    By gems14k in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 9 Aug 2006, 05:21 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