Results 1 to 5 of 5
  1. #1
    Join Date
    Sep 2006
    Posts
    7
    Plugin Contributions
    0

    Default New Zen-cart user needs help

    I am getting a message at the top on my store that states Warning: fopen(D:/inetpub/equineconnections/ZenCart/cache/zc_5655a28f02954eaeb6ccd9609d201292.sql): failed to open stream: Permission denied in D:\inetpub\equineconnections\ZenCart\includes\classes\cache.php on line 113

    Warning: fputs(): supplied argument is not a valid stream resource in D:\inetpub\equineconnections\ZenCart\includes\classes\cache.php on line 114

    Warning: fclose(): supplied argument is not a valid stream resource in D:\inetpub\equineconnections\ZenCart\includes\classes\cache.php on line 115
    we have had this problem a couple of time in the past we just uninstalled the program and then reinstalled it is there a way to fix this without having to uninstall it

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

    Default Re: New Zen-cart user needs help

    You have selected file-based caching in your configure.php files.

    So, you have 2 options:

    1. change from 'file' to 'none' or 'database'
    or
    2. make the path to your cache folder writable:
    Code:
    D:/inetpub/equineconnections/ZenCart/cache/
    .

    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
    Sep 2006
    Posts
    7
    Plugin Contributions
    0

    Default Re: New Zen-cart user needs help

    Thank you for your response but how do I change from 'file' to 'none' or 'database'
    or
    2. make the path to your cache folder writable:
    Code?

  4. #4
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,887
    Plugin Contributions
    0

    Default Re: New Zen-cart user needs help

    this section of your configure.php files ( at bottom)
    // The next 2 "defines" are for SQL cache support.
    // 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', 'database');
    define('DIR_FS_SQL_CACHE', 'C:/Program Files/xampp/htdocs/XXXXXXXXX/cache');

    both configure.php file one in the includes directory and one in admin/includes

    edited: for poor spelling
    Mike
    AEIIA - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  5. #5
    Join Date
    Sep 2006
    Posts
    7
    Plugin Contributions
    0

    Default Re: New Zen-cart user needs help

    Thank you for all your help because of it I have been able to solve the problem...Thank you VERY much

 

 

Similar Threads

  1. New user needs help with a blank page
    By tristancliffe in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 9 Oct 2009, 05:21 PM
  2. New Zen user needs help with setting up specific product
    By jonias in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 10 Feb 2009, 03:23 AM
  3. Zen Cart Newbie - needs help please!!!
    By tonybrown in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 25 May 2008, 10:14 AM
  4. New Zen cart user needs help, Gallery photos for sale
    By davidperks in forum General Questions
    Replies: 5
    Last Post: 11 Jul 2007, 10:29 AM
  5. New User Needs Help
    By WRUKIM in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 2 Jul 2007, 07:55 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