Results 1 to 9 of 9
  1. #1
    Join Date
    Sep 2009
    Posts
    10
    Plugin Contributions
    0

    Default Directory Change Problem

    I am in the process of moving my store from its development/test location to its final location. I changed all of the entries in the /includes/configure.php and admin/includes/configure.php files and changed the Session Directory. I tested the site and it worked fine. Then I set up SSL and the Authorize.net(AIM) module and I am getting the "System Setup Required" page now. Does any one know what the cause of this. I can post code if necessary.

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

    Default Re: Directory Change Problem

    Post your configure.php files
    Make sure to XX-out your DB Details
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Sep 2009
    Posts
    10
    Plugin Contributions
    0

    Default Re: Directory Change Problem

    Non admin
    PHP Code:
    /*************** 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://shop.gofishretail.com');
      //define('HTTPS_SERVER', 'https://shop.gofishretail.com');
      
    define('HTTP_SERVER''http://www.gofishretail.com');
      
    define('HTTPS_SERVER''https://www.gofishretail.com');

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

    // 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''/');
      
    define('DIR_WS_HTTPS_CATALOG''/');

      
    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''/var/www/vhosts/gofishretail.com/httpdocs/');

      
    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_SERVER''**********');
      
    define('DB_SERVER_USERNAME''********');
      
    define('DB_SERVER_PASSWORD''*********');
      
    define('DB_DATABASE''**********');
      
    define('USE_PCONNECT''************');
      
    define('STORE_SESSIONS''db');
      
    // for STORE_SESSIONS, use 'db' for best support, or '' for file-based storage

      // 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''/var/www/vhosts/gofishretail.com/httpdocs/cache'); 
    Admin
    PHP Code:
    /*************** NOTE: This file is similar, but DIFFERENT from the "store" version of configure.php. ***********/
    /***************       The 2 files should be kept separate and not used to overwrite each other.      ***********/

    // Define the webserver and path parameters
      // Main webserver: eg-http://www.your_domain.com - 
      // HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com
      // HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com
      // HTTP_CATALOG_SERVER is your Main webserver: eg-http://www.your_domain.com
      // HTTPS_CATALOG_SERVER is your Secure webserver: eg-https://www.your_domain.com
      /* 
       * URLs for your site will be built via:  
       *     HTTP_SERVER plus DIR_WS_ADMIN or
       *     HTTPS_SERVER plus DIR_WS_HTTPS_ADMIN or 
       *     HTTP_SERVER plus DIR_WS_CATALOG or 
       *     HTTPS_SERVER plus DIR_WS_HTTPS_CATALOG
       * ...depending on your system configuration settings
       *
       * If you desire your *entire* admin to be SSL-protected, make sure you use a "https:" URL for all 4 of the following:
       */
      //define('HTTP_SERVER', 'http://shop.gofishretail.com');
      //define('HTTPS_SERVER', 'https://shop.gofishretail.com');
      //define('HTTP_CATALOG_SERVER', 'http://shop.gofishretail.com');
      //define('HTTPS_CATALOG_SERVER', 'https://shop.gofishretail.com');
      
    define('HTTP_SERVER''https://www.gofishretail.com');
      
    define('HTTPS_SERVER''https://www.gofishretail.com');
      
    define('HTTP_CATALOG_SERVER''http://www.gofishretail.com');
      
    define('HTTPS_CATALOG_SERVER''https://www.gofishretail.com');

      
    // Use secure webserver for catalog module and/or admin areas?
      
    define('ENABLE_SSL_CATALOG''true');
      
    define('ENABLE_SSL_ADMIN''true');

    // 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_ADMIN''/admin/');
      
    define('DIR_WS_CATALOG''/');
      
    define('DIR_WS_HTTPS_ADMIN''/admin/');
      
    define('DIR_WS_HTTPS_CATALOG''/');

      
    define('DIR_WS_IMAGES''images/');
      
    define('DIR_WS_ICONS'DIR_WS_IMAGES 'icons/');
      
    define('DIR_WS_CATALOG_IMAGES'HTTP_CATALOG_SERVER DIR_WS_CATALOG 'images/');
      
    define('DIR_WS_CATALOG_TEMPLATE'HTTP_CATALOG_SERVER DIR_WS_CATALOG 'includes/templates/');
      
    define('DIR_WS_INCLUDES''includes/');
      
    define('DIR_WS_BOXES'DIR_WS_INCLUDES 'boxes/');
      
    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_CATALOG_LANGUAGES'HTTP_CATALOG_SERVER DIR_WS_CATALOG 'includes/languages/');

    // * 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_ADMIN''/var/www/vhosts/gofishretail.com/httpdocs/admin/');
      
    //define('DIR_FS_CATALOG', '/var/www/vhosts/gofishretail.com/subdomains/shop/httpdocs/');
      
    define('DIR_FS_CATALOG''/var/www/vhosts/gofishretail.com/httpdocs/');

      
    define('DIR_FS_CATALOG_LANGUAGES'DIR_FS_CATALOG 'includes/languages/');
      
    define('DIR_FS_CATALOG_IMAGES'DIR_FS_CATALOG 'images/');
      
    define('DIR_FS_CATALOG_MODULES'DIR_FS_CATALOG 'includes/modules/');
      
    define('DIR_FS_CATALOG_TEMPLATES'DIR_FS_CATALOG 'includes/templates/');
      
    define('DIR_FS_BACKUP'DIR_FS_ADMIN 'backups/');
      
    define('DIR_FS_EMAIL_TEMPLATES'DIR_FS_CATALOG 'email/');
      
    define('DIR_FS_DOWNLOAD'DIR_FS_CATALOG 'download/');

    // define our database connection
      
    define('DB_TYPE''mysql');
      
    define('DB_PREFIX''');
      
    define('DB_SERVER''*******');
      
    define('DB_SERVER_USERNAME''***********');
      
    define('DB_SERVER_PASSWORD''**********');
      
    define('DB_DATABASE''************');
      
    define('USE_PCONNECT''***********');
      
    define('STORE_SESSIONS''db');
      
    // for STORE_SESSIONS, use 'db' for best support, or '' for file-based storage

      // 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''/var/www/vhosts/gofishretail.com/subdomains/shop/httpdocs/cache'); 

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

    Default Re: Directory Change Problem

    Check this in your admin file - the only one I found


    Code:
    define('DIR_FS_SQL_CACHE', '/var/www/vhosts/gofishretail.com/subdomains/shop/httpdocs/cache');
    Zen-Venom Get Bitten

  5. #5
    Join Date
    Sep 2009
    Posts
    10
    Plugin Contributions
    0

    Default Re: Directory Change Problem

    I changed that but am still getting the same result. Anything else I can try?

  6. #6
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Directory Change Problem

    Where is your site?
    Zen-Venom Get Bitten

  7. #7
    Join Date
    Sep 2009
    Posts
    10
    Plugin Contributions
    0

    Default Re: Directory Change Problem


  8. #8
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Directory Change Problem

    I am loading your secure pages just fine???
    Zen-Venom Get Bitten

  9. #9
    Join Date
    Sep 2009
    Posts
    10
    Plugin Contributions
    0

    Default Re: Directory Change Problem

    Sorry, I did not get a chance to post yesterday. I was able to get it working. First i tried to reload both configure.php files from my backup and make the edits again. It still did not work. Then I reloaded the entire Zen Cart directory from the backup, made the changes to the configure.php files again then used the Fix Cache Key utility to change the SESSION_WRITE_DIRECTORY rather than change it through the control panel. And it works!

    I did find something when looking through these files so much. I do not think this is what caused my problem but it I am not sure. I am trying to make my entire admin area SSL. In the tutorial about setting up SSL it says"
    NOTE: As of v1.3.x, the Admin area can only secure the "login" page via SSL unless you set the HTTP_SERVER in your "admin/includes/configure.php" to an SSL URL, in which case the entire admin area will be treated as SSL rather than only selected relevant pages. This will be changing during the admin-rewrite phase scheduled for completion sometime after Zen Cart v2.0 is released.
    In the admin sections' configure.php file the instructions say:
    * If you desire your *entire* admin to be SSL-protected, make sure you use a "https:" URL for all 4 of the following:
    */
    define('HTTP_SERVER', 'http://shop.gofishretail.com');
    define('HTTPS_SERVER', 'https://shop.gofishretail.com');
    define('HTTP_CATALOG_SERVER', 'http://shop.gofishretail.com');
    define('HTTPS_CATALOG_SERVER', 'https://shop.gofishretail.com');
    The Instructions given in the file suggest you set the HTTP_CATALOG_SERVER' to SSL as well as 'HTTP_SERVER' where the tutorial does not. Which is correct?

 

 

Similar Threads

  1. v155 change admin directory name
    By godt in forum General Questions
    Replies: 2
    Last Post: 12 Jul 2016, 02:00 PM
  2. v151 can't change directory name
    By geoffreykilts in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 18 May 2015, 04:07 PM
  3. Change Image Directory
    By KThompson in forum General Questions
    Replies: 6
    Last Post: 7 Dec 2007, 12:05 AM
  4. Change Directory Location
    By a4tech in forum Installing on a Linux/Unix Server
    Replies: 4
    Last Post: 16 Jul 2007, 09:12 AM
  5. 1.3.6. Directory Change/ Language Modification
    By Rabbcon in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 29 Dec 2006, 11:24 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