Thread: SSL issues

Page 1 of 2 12 LastLast
Results 1 to 10 of 20
  1. #1
    Join Date
    Jun 2006
    Posts
    28
    Plugin Contributions
    0

    Default SSL issues

    Hi,

    When you are using SSL with the cart, what files need to be copied into the secure folder on the server? I uploaded the entire zencart dir to my secure dir, but when I click the goto checkout button it says it's looking for (and can't find)

    The requested URL /mysite/store2/zc_install/index.php was not found on this server.

    The link on the checkout button is actually:

    https://secure2secure.com/mysite/sto...ckout_shipping

    EDITED: Never, ever post the zen_id or zenAdminID (session id) in a forum, email, newsgroup, newsletter, advertisement, etc. etc. etc. or you will be doomed ...

  2. #2
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: SSL issues

    Hi Dante, you were correct in adding ALL the files to the secure server
    you will need to modify the includes/configure.php and the
    admin/includes/configure.php on the secure server,

    in the very last line you will see a line that ends in /cache

    somewhere in this line you will see something like httpdocs
    you will need to change this part to the name of the secure folder.
    Zen cart PCI compliant Hosting

  3. #3
    Join Date
    Jun 2006
    Posts
    28
    Plugin Contributions
    0

    Default Re: SSL issues

    I did that.

    It still wants to goto the same URL tho.

    https://secure2secure.com/ian/store2...tall/index.php

    If you go there you'll see the error I am receiving.

    My config files are setup as:

    includes/configure.php

    PHP Code:
    // Define the webserver and path parameters
      // HTTP_SERVER is your Main webserver: eg, http://www.yourdomain.com
      // HTTPS_SERVER is your Secure webserver: eg, https://www.yourdomain.com
      
    define('HTTP_SERVER''http://factoryshoe.ianarmstrong.com');
      
    define('HTTPS_SERVER''https://secure2secure.com/ian');

      
    // Use secure webserver for checkout procedure?
      
    define('ENABLE_SSL''true'); 
    admin/includes/configure.php

    PHP Code:
    define('HTTP_SERVER''http://factoryshoe.ianarmstrong.com');
      
    define('HTTPS_SERVER''https://secure2secure.com/ian');
      
    define('HTTP_CATALOG_SERVER''http://factoryshoe.ianarmstrong.com');
      
    define('HTTPS_CATALOG_SERVER''https://secure2secure.com/ian');

      
    // Use secure webserver for catalog module and/or admin areas?
      
    define('ENABLE_SSL_CATALOG''true');
      
    define('ENABLE_SSL_ADMIN''false'); 
    On secure side - includes/configure.php

    PHP Code:

    // Define the webserver and path parameters
      // HTTP_SERVER is your Main webserver: eg, http://www.yourdomain.com
      // HTTPS_SERVER is your Secure webserver: eg, https://www.yourdomain.com
      
    define('HTTP_SERVER''http://factoryshoe.ianarmstrong.com');
      
    define('HTTPS_SERVER''https://secure2secure.com/ian');

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

    .
    .
    .
     
    define('SQL_CACHE_METHOD''none'); 
      
    define('DIR_FS_SQL_CACHE''/home/secure2/ian/public_html/factoryshoe/store2/cache'); 
    admin/includes/configure.php

    PHP Code:
     define('HTTP_SERVER''http://factoryshoe.ianarmstrong.com');
      
    define('HTTPS_SERVER''https://secure2secure.com/ian');
      
    define('HTTP_CATALOG_SERVER''http://factoryshoe.ianarmstrong.com');
       
    define('HTTPS_CATALOG_SERVER''https://secure2secure.com/ian');

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

    .
    .
    .

     
    define('SQL_CACHE_METHOD''none'); 
      
    define('DIR_FS_SQL_CACHE''/home/secure2/ian/public_html/factoryshoe/store2/cache'); 

  4. #4
    Join Date
    Feb 2006
    Posts
    326
    Plugin Contributions
    0

    Default Re: SSL issues

    You can also check with your hosting provider to see if your domain can be setup to share the same folder for http and https. Simplifies things tremendously, if it is availab.e
    Give us your best shot!
    http://www.photoimprints.com

  5. #5
    Join Date
    Jun 2006
    Posts
    28
    Plugin Contributions
    0

    Default Re: SSL issues

    I don't think I'll be able to do that. I have to use a shared cert and their setup is that I have to ftp info a totally diff server to access the secure side.

  6. #6
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: SSL issues

    Ok you changed those thats Kool,

    now look at the VERY bottom of the config files

    you will see a list that looks like this
    /your/server/path/here/to/cache

    you need to make the path changes for the Secure server, your host should be able to give you these absolute paths,

    If you dont want to go through the headache of having to make ALL changes to any files and upgrads/ insert moduels and all 2x you might want to take a look at the certified hosts,

    that setup is definitly NOT e commerce SSL friendly
    Zen cart PCI compliant Hosting

  7. #7
    Join Date
    Jun 2006
    Posts
    28
    Plugin Contributions
    0

    Default Re: SSL issues

    Ok I've changed them to:

    define('DIR_FS_SQL_CACHE', '/home/secure2/public_html/ian/store2/cache');

    .. which is the absolute path to my store files on the secure server.

    Still getting the same error tho.

  8. #8
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: SSL issues

    there are several of these in each config file
    You need to modify the ones in the secure folder
    Zen cart PCI compliant Hosting

  9. #9
    Join Date
    Jun 2006
    Posts
    28
    Plugin Contributions
    0

    Default Re: SSL issues

    There are several places in each config file that you have to change the "cache" path? I only see one line in each config file that relates to the cache directory... Am I misunderstanding what you mean?

    I have changed the ones on the secure server.

  10. #10
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: SSL issues

    there are other lines that look like that,
    they are all server paths,
    they wont all have cache at the end.
    lol
    this is the trouble with this kind of setup, it is confusing and a pain in the ......... to maintain
    Zen cart PCI compliant Hosting

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. SSL Issues
    By z06man in forum General Questions
    Replies: 7
    Last Post: 16 Oct 2010, 09:09 PM
  2. SSL Issues!
    By mthddsgns in forum General Questions
    Replies: 1
    Last Post: 6 Oct 2009, 10:22 PM
  3. SSL Issues
    By alphatrion in forum General Questions
    Replies: 6
    Last Post: 12 Sep 2007, 02:28 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