Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    Apr 2008
    Location
    Santa Cruz, California
    Posts
    22
    Plugin Contributions
    0

    Default System Setup Required after attempting to enable SSL

    Morning' Folks,
    I am running Zen-Cart 1.3.8. I recently upgraded my PayPal account to Website Payments Pro, and subsequently enabled this payment module in my store. Then I quickly realized that, whoops, I need an SSL certificate. So I upgraded to secure hosting with a privately signed SSL certificate from my host (dreamhost).
    I was following the Enable SSL tutorial (https://www.zen-cart.com/tutorials/index.php?article=14) to enable SSL on my zen-cart store. All was well and I could access my store via https no problem. Then I made the required changes to my configure.php files, and suddenly the System Setup Required page popped up. So I uploaded unedited copies of the configure files but the System Setup Required page is still there. I tried running Dr. Byte's fix_cache_key utility as that seemed to fix this issue for other people in a similar mess, but I don't think I'm doing it right because all that happens is it loads a System Setup Required page where the heading text is orange instead of black.

    My store is here:
    http://www.joshuacripps.com/zencart/store/

    Here are the changes I made to the configure.php files:

    ---------------------------------------------------
    from ../store/includes/configure.php
    ---------------------------------------------------
    define('ENABLE_SSL', 'false'); ------------> define('ENABLE_SSL', 'true');


    ------------------------------------------------------------
    from ../store/admin/includes/configure.php
    ------------------------------------------------------------
    define('ENABLE_SSL_ADMIN', 'false'); -------------> define('ENABLE_SSL_ADMIN', 'true');

    In both files the servers were set up as follows:

    define('HTTP_SERVER', 'http://www.joshuacripps.com');
    define('HTTPS_SERVER', 'https://www.joshuacripps.com');

    Not being able to access my store is kinda bumming me out, so I'd appreciate any help I could get on solving this dilemma.

    Thanks, Zenners!

    ~Josh
    Joshua Cripps Fine Nature Photography
    http://www.joshuacripps.com

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: System Setup Required after attempting to enable SSL

    The "Thank you for loading Zen Cart" screen appears for exactly the reasons mentioned on that page.
    Most likely your edits to the configure.php files have broken something. Or maybe the files didn't upload at all. Or maybe you set their permissions too restrictive, such that they can't be read.

    Additionally, running fix_cache_key is pointless unless you've been changing servers or changing folders in which your Zen Cart setup resides.

    Also, uploading blank copies of configure.php is counter-productive. If you're going to revert back to how things were before you made your recent changes, you'll want to use backup copies you made just before you did the edits. If you use blank/default contents, that info is worthless and is going to trigger the "Thank you for loading" screen ... because there's no working information in the files.
    .

    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
    Apr 2008
    Location
    Santa Cruz, California
    Posts
    22
    Plugin Contributions
    0

    Default Re: System Setup Required after attempting to enable SSL

    Hi DrB.

    Thanks for replying. When I said that I uploaded unedited copies of the configure files, I meant that I reverted back to the files as they were just before I made the edits. So I'm pretty sure these files are ok, but just in case I goofed something up, I requested backup files from my host from a week ago (since which time I haven't done anything to the store other than attempt to enable SSL).

    As for the file permissions, I was very careful about setting the permissions as I uploaded. I set the files on the server to 644 so that I could overwrite them, then I set them back to 444 after I had uploaded the new configure files.

    Any other guesses or things I could try?

    Thanks,

    Josh
    Joshua Cripps Fine Nature Photography
    http://www.joshuacripps.com

  4. #4
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: System Setup Required after attempting to enable SSL

    If you set them to 644 again, what happens when you visit the site?
    .

    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
    Apr 2008
    Location
    Santa Cruz, California
    Posts
    22
    Plugin Contributions
    0

    Default Re: System Setup Required after attempting to enable SSL

    Set to 644, unfortunately no change in the site. Still System Setup Required
    Joshua Cripps Fine Nature Photography
    http://www.joshuacripps.com

  6. #6
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: System Setup Required after attempting to enable SSL

    Okay, ON THE SERVER, what is the COMPLETE content of the /includes/configure.php file? (mask out the database password when posting here, but make sure it's correct)
    .

    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.

  7. #7
    Join Date
    Apr 2008
    Location
    Santa Cruz, California
    Posts
    22
    Plugin Contributions
    0

    Default Re: System Setup Required after attempting to enable SSL

    ../includes/configure.php
    ---------------------------------
    Code:
    <?php
    /**
     * @package Configuration Settings circa 1.3.8
     * @copyright Copyright 2003-2007 Zen Cart Development Team
     * @copyright Portions Copyright 2003 osCommerce
     * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
     */
    
    
    /*************** 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://www.joshuacripps.com');
      define('HTTPS_SERVER', 'https://www.joshuacripps.com');
    
      // 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', '/zencart/store/');
      define('DIR_WS_HTTPS_CATALOG', '/zencart/store/');
    
      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', '/home/.canadians/joshuacripps/joshuacripps.com/zencart/store/');
    
      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', 'mysql.joshuacripps.com');
      define('DB_SERVER_USERNAME', '*********');
      define('DB_SERVER_PASSWORD', '********');
      define('DB_DATABASE', 'zencart');
      define('USE_PCONNECT', 'false');
      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', 'none'); 
      define('DIR_FS_SQL_CACHE', '/home/.canadians/joshuacripps/joshuacripps.com/zencart/store/cache');
    
    // EOF
    ------------------------------------
    ../includes/admin/configure.php
    ------------------------------------
    Code:
    <?php
    /**
     * @package Configuration Settings circa 1.3.8
     * @copyright Copyright 2003-2007 Zen Cart Development Team
     * @copyright Portions Copyright 2003 osCommerce
     * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
     */
    
    
    /*************** 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://www.joshuacripps.com');
      define('HTTPS_SERVER', 'https://www.joshuacripps.com');
      define('HTTP_CATALOG_SERVER', 'http://www.joshuacripps.com');
      define('HTTPS_CATALOG_SERVER', 'https://www.joshuacripps.com');
    
      // Use secure webserver for catalog module and/or admin areas?
      define('ENABLE_SSL_CATALOG', 'false');
      define('ENABLE_SSL_ADMIN', '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_ADMIN', '/zencart/store/admin/');
      define('DIR_WS_CATALOG', '/zencart/store/');
      define('DIR_WS_HTTPS_ADMIN', '/zencart/store/admin/');
      define('DIR_WS_HTTPS_CATALOG', '/zencart/store/');
    
      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', '/home/.canadians/joshuacripps/joshuacripps.com/zencart/store/admin/');
      define('DIR_FS_CATALOG', '/home/.canadians/joshuacripps/joshuacripps.com/zencart/store/');
    
      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', 'mysql.joshuacripps.com');
      define('DB_SERVER_USERNAME', '*******');
      define('DB_SERVER_PASSWORD', '********');
      define('DB_DATABASE', 'zencart');
      define('USE_PCONNECT', 'false');
      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', 'none'); 
      define('DIR_FS_SQL_CACHE', '/home/.canadians/joshuacripps/joshuacripps.com/zencart/store/cache');
    
    // EOF
    Joshua Cripps Fine Nature Photography
    http://www.joshuacripps.com

  8. #8
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: System Setup Required after attempting to enable SSL

    What are all the names of the folders in your /zencart/store/includes/ directory?
    .

    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.

  9. #9
    Join Date
    Apr 2008
    Location
    Santa Cruz, California
    Posts
    22
    Plugin Contributions
    0

    Default Re: System Setup Required after attempting to enable SSL

    /zencart/store/includes/ contains:

    auto_loaders
    classes
    extra_cart_actions
    extra_configures
    extra_datafiles
    functions
    index_filters
    init_includes
    languages
    modules
    templates
    Joshua Cripps Fine Nature Photography
    http://www.joshuacripps.com

  10. #10
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: System Setup Required after attempting to enable SSL

    Among other things, the system checks for:

    - existence of /includes/configure.php
    - valid content in that file, including a valid definition of DIR_FS_CATALOG and DB_TYPE
    - a check of whether DIR_FS_CATALOG followed by /includes/classes/ points to a real folder on your server
    - a check of whether /includes/classes/db/mysql/query_factory.php exists on your server
    - a check of whether /includes/autoload_func.php exists on the server
    - etc

    There are only 3 reasons for any of those to fail:
    1. You've got missing files on the server (or you've drag-and-dropped them into other locations by mistake)
    2. You've got incorrect settings in the definitions in the configure.php files
    3. You've got permissions all screwed up and the various files/folders aren't readable.
    .

    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.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. System Setup Required...4 years after setup
    By advancing in forum General Questions
    Replies: 6
    Last Post: 12 Mar 2015, 06:07 PM
  2. v139h System Setup Required
    By colourcanada in forum General Questions
    Replies: 2
    Last Post: 16 Jun 2012, 03:19 PM
  3. System Setup Required
    By Jordan_Jed in forum General Questions
    Replies: 4
    Last Post: 2 May 2011, 03:27 PM
  4. 'System Setup Required' after install error
    By EggDesign in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 7 Sep 2010, 11:07 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