Zen Cart Logo
Forums / General Questions / New Zen-cart user needs help

New Zen-cart user needs help

Locked

Views: 1,112

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
5 Sep 2006, 8:42 PM
#1
parsonsway avatar

parsonsway

New Zenner

Join Date:
Sep 2006
Posts:
7
Plugin Contributions:
0

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

5 Sep 2006, 10:58 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

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:```
    D:/inetpub/equineconnections/ZenCart/cache/
5 Sep 2006, 11:11 PM
#3
parsonsway avatar

parsonsway

New Zenner

Join Date:
Sep 2006
Posts:
7
Plugin Contributions:
0

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?

5 Sep 2006, 11:24 PM
#4
barco57 avatar

barco57

Totally Zenned

Join Date:
Apr 2006
Location:
West Salem, IL
Posts:
2,844
Plugin Contributions:
0

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

5 Sep 2006, 11:42 PM
#5
parsonsway avatar

parsonsway

New Zenner

Join Date:
Sep 2006
Posts:
7
Plugin Contributions:
0

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