Site maintenance: Tuesday 17 Nov, from 10:00 UTC, about 4–6 hours. Details

This cutover relies on some testing that is still incomplete so may be cancelled at short notice

Forums / Basic Configuration / SSL Configuration

SSL Configuration

Locked

Started by undah on 25 Feb 2009, 10:05 PM · Views: 2,966

Results 1 to 13 of 13
This thread is locked. New replies are disabled.
25 Feb 2009, 10:05 PM
#1
undah avatar

undah

New Zenner

Join Date:
Feb 2009
Posts:
26
Plugin Contributions:
0

SSL Configuration

Hello,

Im in the final stage off launching my shopping cart.

Im using the latest version of the zencart

I have made the necessary changes to the both config files to enable. The files had write permiss before I uploaded and then I changed them back to 444. I have uploaded them, but nothing seems to happened.

1.Do I need to do anything else like linking the https: to the checkout, login, and admin area.

Regards,

Undah

25 Feb 2009, 10:25 PM
#2
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: SSL Configuration

If SSL is set to 'true' in the configure files, your HTTPS_SERVER setting includes an "https" and you have a properly installed SSL certificate, that should be sufficient.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

25 Feb 2009, 11:02 PM
#3
undah avatar

undah

New Zenner

Join Date:
Feb 2009
Posts:
26
Plugin Contributions:
0

Re: SSL Configuration

Then why isn't it working? Please visit my site https://www.mypokergirl.com/zencart

the ssl only work when I type in https:, but when you login, it doesn't turn on.

Thanks for the input,

Undah

25 Feb 2009, 11:25 PM
#4
drbyte avatar

drbyte

Sensei

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

Re: SSL Configuration

It's not switching into SSL mode because either you've not supplied an HTTPS address in your configure.php file, or haven't set ENABLE_SSL to 'true' (with quotes), or you didn't make the file writable before uploading changes to it.

(Yes I know you said you thought you did ... but ... apparently one or more of those things didn't happen as you thought it did ... or it would be working.)

I suspect the ENABLE_SSL setting isn't 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.

26 Feb 2009, 12:30 AM
#5
undah avatar

undah

New Zenner

Join Date:
Feb 2009
Posts:
26
Plugin Contributions:
0

Re: SSL Configuration

Dr.byte,

can I upload my files for you to see?

26 Feb 2009, 1:25 AM
#6
drbyte avatar

drbyte

Sensei

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

Re: SSL Configuration

You can paste the contents here, without the password. Best to wrap it in [ code ] and [ /code ] tags

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

26 Feb 2009, 2:02 AM
#7
undah avatar

undah

New Zenner

Join Date:
Feb 2009
Posts:
26
Plugin Contributions:
0

Re: SSL Configuration

include/config page

<?php /** * dist-configure.php * * @package Configuration Settings * @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 * @version $Id: dist-configure.php 6329 2007-05-16 15:36:56Z drbyte $ * @private */ // 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://mypokergirl.com'); define('HTTPS_SERVER', 'https://mypokergirl.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', 'https://mypokergirl.com/zencart/'); define('DIR_WS_HTTPS_CATALOG', 'https://mypokergirl.com/zencart/'); 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', '/'); admin/includes config page. <?php /** * dist-configure.php * * @package Configuration Settings * @package Admin * @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 * @version $Id: dist-configure.php 6329 2007-05-16 15:36:56Z drbyte $ * @private */ // 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 // HTTP_CATALOG_SERVER is your Main webserver: eg-http://www.yourdomain.com // HTTPS_CATALOG_SERVER is your Secure webserver: eg-https://www.yourdomain.com /* * URL's 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://mypokergirl.com'); define('HTTPS_SERVER', 'https://mypokergirl.com'); define('HTTP_CATALOG_SERVER', 'http://mypokergirl.com'); define('HTTPS_CATALOG_SERVER', 'https://mypokergirl.com'); // 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', 'https://mypokergirl.com/zencart/admin/'); define('DIR_WS_CATALOG', 'https://mypokergirl.com/zencart/'); define('DIR_WS_HTTPS_ADMIN', 'https://mypokergirl.com/zencart/admin/'); define('DIR_WS_HTTPS_CATALOG', 'https://mypokergirl.com/zencart/'); am I missing something?
26 Feb 2009, 3:22 AM
#8
drbyte avatar

drbyte

Sensei

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

Re: SSL Configuration

Only the HTTPx_XXXXXXX settings should contain any URLs.

These DIR_WS_xxxxx defines should not contain a URL:```
define('DIR_WS_CATALOG', 'https://mypokergirl.com/zencart/');
define('DIR_WS_HTTPS_CATALOG', 'https://mypokergirl.com/zencart/');

they should be this:```
define('DIR_WS_CATALOG', '/zencart/');
define('DIR_WS_HTTPS_CATALOG', '/zencart/');

Do similarly with the DIR_WS_xxxxxx defines in your admin file.

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

27 Feb 2009, 1:03 AM
#9
undah avatar

undah

New Zenner

Join Date:
Feb 2009
Posts:
26
Plugin Contributions:
0

Re: SSL Configuration

Dr. Byte,

are you familiar with the cross selling module?

27 Feb 2009, 1:31 AM
#10
fairestcape avatar

fairestcape

Totally Zenned

Join Date:
Mar 2008
Location:
Cape Town &amp; London (depends on the season)
Posts:
2,957
Plugin Contributions:
0

Re: SSL Configuration

undah:

Dr. Byte,

are you familiar with the cross selling module?

Its better not to get cross when you're selling. It can chase customers away. :laugh:

27 Feb 2009, 1:43 AM
#11
drbyte avatar

drbyte

Sensei

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

Re: SSL Configuration

There are various cross sell modules in the Free Addons area, and support threads for them in the Other Contributions section of the forum, where you can read up on experiences others have had with using them and ask questions about them if you need to.

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

27 Feb 2009, 2:09 AM
#12
undah avatar

undah

New Zenner

Join Date:
Feb 2009
Posts:
26
Plugin Contributions:
0

Re: SSL Configuration

Funny stuff. LOL:clap:

27 Feb 2009, 9:58 AM
#13
fairestcape avatar

fairestcape

Totally Zenned

Join Date:
Mar 2008
Location:
Cape Town &amp; London (depends on the season)
Posts:
2,957
Plugin Contributions:
0

Re: SSL Configuration

Hi undah...

Sorry, I couldn't resist making that stupid joke. Glad you enjoyed it though!

Yes, there are many free add on modules that assist you to sell and incentivise customers to buy more. That is the great thing about the ZC community - lots of people willing to contribute to its success.