Forums / General Questions / ssl can't enable

ssl can't enable

Views: 630

Results 1 to 2 of 2
27 Jan 2011, 11:56 PM
#1
bloomingvine avatar

bloomingvine

New Zenner

Join Date:
Jan 2011
Location:
midwest USA
Posts:
73
Plugin Contributions:
0

ssl can't enable

I just downloaded and installed zen cart v1.3.9h got my ssl working on my site and have changed the code in my two config files as per instructions on the tutorial FAQ for installing ssl or enabling ssl.

here is a copy of the code I used:

on the file labeled includes/dist-config.php

// Define the webserver and path parameters
define('HTTP_SERVER', 'http://bloomingvinedesign.com');
define('HTTPS_SERVER', 'https://bloomingvinedesign.com');
define('ENABLE_SSL', 'true');

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

I installed zen cart using godaddy's install procedure, then unpacked my downloaded zip version and placed it in my local hard drive and ftped the changes on the document config files using dreamweaver.

here is the code I used for admin/includes/dist-config.php

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://bloomingvinedesign.com');
define('HTTPS_SERVER', 'https://bloomingvinedesign.com');
define('HTTP_CATALOG_SERVER', 'http://bloomingvinedesign.com');
define('HTTPS_CATALOG_SERVER', 'https://bloomingvinedesign.com');

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

When I go to the login or customer pages where I need to enter information, ssl does not kick in. It stays in http mode for everything.

I am wondering what I have done wrong, or if there is a difference bewteen the instructions, or if I got a bad copy of zen cart?

I reject your reality and substitute my own--Adam Savage

5 Feb 2011, 4:05 AM
#2
drbyte avatar

drbyte

Sensei

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

Re: ssl can't enable

To enable SSL, you don't edit the dist-config.php file. You edit your two configure.php files.
https://www.zen-cart.com/tutorials/index.php?article=14

.
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.