Forums / General Questions / Error when enabling SSL for secure checkout

Error when enabling SSL for secure checkout

Views: 1,339

Results 1 to 11 of 11
11 Nov 2012, 5:48 PM
#1
shopville avatar

shopville

Zen Follower

Join Date:
Aug 2012
Posts:
331
Plugin Contributions:
0

Error when enabling SSL for secure checkout

Hello Everyone,

I have a dedicated HTTPS/SSL and have successfully enabled it for the admin,
however when i set checkout ssl to "True" the links get damaged,

For ex. when sign in is clicked the page is being forwarded to:

https://www.***********.comindex.php/?main_page=login&zenid=b80156e0eda267c342aba6c27298e6aa

Note missing / slash between .com & index.php

And chrome displays this error:

The server at www.***********.comindex.php can't be found, because the DNS lookup failed. DNS is the network service that translates a website's name to its Internet address. This error is most often caused by having no connection to the Internet or a misconfigured network. It can also be caused by an unresponsive DNS server or a firewall preventing Google Chrome from accessing the network.

iv'e since disabled ssl for checkout

Your help is much appreciated

Thanks

11 Nov 2012, 6:06 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Error when enabling SSL for secure checkout

Post your /includes/configure.php file contents

Zen-Venom Get Bitten

11 Nov 2012, 6:30 PM
#3
shopville avatar

shopville

Zen Follower

Join Date:
Aug 2012
Posts:
331
Plugin Contributions:
0

Re: Error when enabling SSL for secure checkout

Removed

11 Nov 2012, 6:32 PM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Error when enabling SSL for secure checkout

Missing the slash

  define('DIR_WS_CATALOG', '/');
  define('DIR_WS_HTTPS_CATALOG', [B]''[/B]);

Should be

  define('DIR_WS_CATALOG', '/');
  define('DIR_WS_HTTPS_CATALOG', [B]'/'[/B]);

Also you are www or not

  define('HTTP_SERVER', 'http://chequesplus.com');
  define('HTTPS_SERVER', 'https://[B]www[/B].chequesplus.com');

Zen-Venom Get Bitten

11 Nov 2012, 6:36 PM
#5
shopville avatar

shopville

Zen Follower

Join Date:
Aug 2012
Posts:
331
Plugin Contributions:
0

Re: Error when enabling SSL for secure checkout

Thanks so much! works like a charm!

Also you are www or not

I don't know!

11 Nov 2012, 6:38 PM
#6
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Error when enabling SSL for secure checkout

I don't know!
Check what variant your ssl certificate is issued to
Either to www or not and adjust your configures as required

Zen-Venom Get Bitten

11 Nov 2012, 6:42 PM
#7
shopville avatar

shopville

Zen Follower

Join Date:
Aug 2012
Posts:
331
Plugin Contributions:
0

Re: Error when enabling SSL for secure checkout

I think it is without www but it works fine with www

11 Nov 2012, 6:52 PM
#8
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Error when enabling SSL for secure checkout

Then edit the following in red

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

Zen-Venom Get Bitten

11 Nov 2012, 7:05 PM
#9
shopville avatar

shopville

Zen Follower

Join Date:
Aug 2012
Posts:
331
Plugin Contributions:
0

Re: Error when enabling SSL for secure checkout

Any benefit with www over non www?

11 Nov 2012, 7:54 PM
#10
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Error when enabling SSL for secure checkout

Look at your private key, certificate request(CSR), and your certificate(CRT)
They will indicate what it was issued to

Zen-Venom Get Bitten

12 Nov 2012, 1:45 PM
#11
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: Error when enabling SSL for secure checkout

ShopVille:

Any benefit with www over non www?

Technically no, there is no benefit in using 'www'.

Practically, a lot of people (incorrectly) believe a website should have a 'www' and will attempt to add it even when it isn't required. For this reason most sites will set up 'www' as an ALIAS to pacify such people.

Basically it is the site owners prerogative as to whether they call their host 'www' or not. Personally, I think the only people that benefit from it are the keyboard manufacturers because they get to sell a new keyboard every time someone wears out their 'w' key. <g>

About the only time that calling a host 'www' actually makes sense is if your domain has more than one server, in which case
https://www.mydomain.com and www2.mydomain.com does make sense.. two different sites, same domain.

These are often confused as being sub-domains rather that host names though, and not many people actually use them in the way intended.

Cheers
Rod

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.