Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    Feb 2015
    Location
    Reading
    Posts
    6
    Plugin Contributions
    0

    Default Alert: Your cache directory does not exist or is not writable

    New installation of zen cart 1.5.4 on Windows 2008 r2 - when loading admin, I am getting the below ALERT.

    Alert: Your cache directory does not exist or is not writable: C:/inetpub/wwwroot/issue/cache... This must be fixed before the page can load correctly

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Alert: Your cache directory does not exist or is not writable

    Check the path "C:/inetpub/wwwroot/issue/cache" for a cache file and it's properties
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Feb 2015
    Location
    Reading
    Posts
    6
    Plugin Contributions
    0

    Default Re: Alert: Your cache directory does not exist or is not writable

    there are only 2 files in the cache folder "index.php and .htaccess" no cache file

    I read in a post there were a fix for this issue in version 1.5.3

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Alert: Your cache directory does not exist or is not writable

    What are the properties of the cache folder/directory??
    Zen-Venom Get Bitten

  5. #5
    Join Date
    Feb 2015
    Location
    Reading
    Posts
    6
    Plugin Contributions
    0

    Default Re: Alert: Your cache directory does not exist or is not writable

    I gave the folder full control for everything - also the IIS_IUSERS havd FC. However I can't change the RO attrib on the properties manu, which applies only to the files.

  6. #6
    Join Date
    Jul 2012
    Posts
    16,734
    Plugin Contributions
    17

    Default Re: Alert: Your cache directory does not exist or is not writable

    Quote Originally Posted by mckj View Post
    I gave the folder full control for everything - also the IIS_IUSERS havd FC. However I can't change the RO attrib on the properties manu, which applies only to the files.
    What are the contents of your includes/configure.php file with your DB_PASSWORD obscured?
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  7. #7
    Join Date
    Feb 2015
    Location
    Reading
    Posts
    6
    Plugin Contributions
    0

    Default Re: Alert: Your cache directory does not exist or is not writable

    include/configure.php

    ?php
    /**
    * @package Configuration Settings circa 1.5.4
    * @copyright Copyright 2003-2014 Zen Cart Development Team
    * @copyright Portions Copyright 2003 osCommerce
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    * File Built by zc_install on 2015-02-22 07:12:37
    */


    /*************** NOTE: This file is similar, but DIFFERENT from the "admin" version of configure.php. ***********/
    /*************** The 2 files should be kept separate and not used to overwrite each other. ***********/

    // Define the webserver and path parameters
    // HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com
    // HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com
    define('HTTP_SERVER', 'http://localhost');
    define('HTTPS_SERVER', 'https://localhost');
    define('HTTP_CATALOG_SERVER', 'http://localhost');
    define('HTTPS_CATALOG_SERVER', 'https://localhost');

    // Use secure webserver for checkout procedure?
    define('ENABLE_SSL', 'false');

    // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
    // * DIR_WS_* = Webserver directories (virtual/URL)
    // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
    define('DIR_WS_CATALOG', '/issue/');
    define('DIR_WS_HTTPS_CATALOG', '/issue/');

    define('DIR_WS_IMAGES', 'images/');
    define('DIR_WS_INCLUDES', 'includes/');
    define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
    define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
    define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
    define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
    define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/');
    define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/');

    define('DIR_WS_PHPBB', '/');

    // * DIR_FS_* = Filesystem directories (local/physical)
    //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
    define('DIR_FS_CATALOG', 'C:/inetpub/wwwroot/issue/');

    //the following path is a COMPLETE path to the /logs/ folder eg: /var/www/vhost/accountname/public_html/store/logs ... and no trailing slash
    define('DIR_FS_LOGS', 'C:/inetpub/wwwroot/issue/logs');

    define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
    define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
    define('DIR_WS_UPLOADS', DIR_WS_IMAGES . 'uploads/');
    define('DIR_FS_UPLOADS', DIR_FS_CATALOG . DIR_WS_UPLOADS);
    define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');

    // define our database connection
    define('DB_TYPE', 'mysql');
    define('DB_PREFIX', '');
    define('DB_CHARSET', 'utf8');
    define('DB_SERVER', 'localhost');
    define('DB_SERVER_USERNAME', 'root');
    define('DB_SERVER_PASSWORD', '******');
    define('DB_DATABASE', 'BeeKeeping');

    // 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', 'none');
    define('DIR_FS_SQL_CACHE', 'C:/inetpub/wwwroot/issue/cache');

    // EOF

  8. #8
    Join Date
    Feb 2012
    Location
    mostly harmless
    Posts
    1,809
    Plugin Contributions
    8

    Default Re: Alert: Your cache directory does not exist or is not writable

    Quote Originally Posted by mckj View Post
    I gave the folder full control for everything - also the IIS_IUSERS havd FC. However I can't change the RO attrib on the properties manu, which applies only to the files.
    Sounds like you are having difficulty working with permissions and attributes in w2k8 (cannot change RO)... Feel free to elaborate further if this is not correct.

    Any reason you are tring to set up / manage a w2k8 server to host Zen Cart (instead of using a LAMP environment or a third party hosted and managed server)?

    Does your account have "ownership" for the folder AND contents? Does your account, the user PHP is running under, and the user IIS is running under all have RW permissions for the folder and contents? Are any denied permission (other configured permissions or inherited rules; effective permissions tool can be useful to check this)?

    Have you tried starting "cmd.exe" (command line) as a administrator and using "attrib.exe" (view and change file attributes such as RO / hidden)? Sometimes command line is simpler and faster for viewing and adjusting filesystem attributes.

  9. #9
    Join Date
    Feb 2015
    Location
    Reading
    Posts
    6
    Plugin Contributions
    0

    Default Re: Alert: Your cache directory does not exist or is not writable

    1 - I gave the folder FC - I am not sure if the error is really related to permission because I sort a previous post for 1.5.3 - and it was fixed with a script.

    2 my hobby is beekeeping - and I want to start hosting it soon - so I want to build a web site at home first. I can use Ubuntu Desktop would that be a better OS?


    3 I gave the user IIS_IUSERS full permission "there isn't a PHP account"
    -----I will have a look at the permission again. However, the reason why I posted this alert is because I saw - the same alert for 1.5.3 - but the resolution is only for 1.5.3.

  10. #10
    Join Date
    Jul 2012
    Posts
    16,734
    Plugin Contributions
    17

    Default Re: Alert: Your cache directory does not exist or is not writable

    Said you gave permissions to the folder, but there should also be file and sub-folder/file permissions to also set. Folder permissions alone won't allow writing files to the folder.

    I set up iis a while ago on a vista system and somewhat recall running into issues. Was the server "disabled" when trying to modify the permissions or did it get restarted after making the changes? (Assuming still having the issue even after the posted changes had been made for FC.)
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Downloadable products directory does not exist
    By mjmmagno in forum General Questions
    Replies: 0
    Last Post: 15 Feb 2010, 03:47 AM
  2. sessions directory does not exist
    By jakumpe in forum Basic Configuration
    Replies: 3
    Last Post: 18 Aug 2009, 05:45 AM
  3. Downloadable Products Directory Does not Exist
    By tenessaa in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 18 Nov 2008, 05:05 PM
  4. HELP - cache does not exist
    By midiwhale in forum General Questions
    Replies: 16
    Last Post: 8 Jan 2007, 01:13 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR