Jump to content
Sign in to follow this  
R08ERT

SSL is out when you put a product to the basket

Recommended Posts

Hi people, new guy here...

SSL is bought and on. Until now I did these mods:

administration/includes/
define('HTTP_SERVER', 'http://sklepjacka.pl');
define('HTTP_CATALOG_SERVER', 'http://sklepjacka.pl');
define('HTTPS_CATALOG_SERVER', 'https://sklepjacka.pl');
define('ENABLE_SSL_CATALOG', 'true');

includes/
define('HTTP_SERVER', 'http://sklepjacka.pl');
define('HTTPS_SERVER', 'https://sklepjacka.pl');
define('ENABLE_SSL', true);
define('HTTP_COOKIE_DOMAIN', 'sklepjacka.pl');
define('HTTPS_COOKIE_DOMAIN', 'sklepjacka.pl');

Shop: sklepjacka.pl


And locker is shown as safe. When you try to add a product into the basket a warning is shown, and you can't add anything to basket. What's wrong with it?

Regards,
Rob

Share this post


Link to post
Share on other sites

You're not going to get much support here using a template like that. You have a number of problems besides, incl persistent osC sid, and none of your pagination links work. Its best to seek support with the template provider or whoever has been working on your site.

Share this post


Link to post
Share on other sites

The cookie domain should be left blank. Give this a try:

define('HTTP_COOKIE_DOMAIN', '');

define('HTTPS_COOKIE_DOMAIN', '');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '/');

 

If this doesn't work, trying forcing SSL for the whole site. It could be the Add to Cart button code, though it's difficult to determine without seeing the code.

 

 

Edited by Demitry

osCommerce: made for programmers, ...because store owners do not want to be programmers.

https://trends.google.com/trends/explore?date=all&geo=US&q=oscommerce

Share this post


Link to post
Share on other sites

Hi guys. Demitry - I appreciate what you wrote. I think it needs to be rebuild. That shop has no support, developer who sold us this just disappeared one day. For now I need to make it work, and take care in the background to develop something fresh and modern or at least contemporary.

By the way - cookie domain left blank doesn't work either... 😕

Share this post


Link to post
Share on other sites

Since the whole site is running in https, these definitions can be like this:

administration/includes/
define('HTTP_SERVER', 'https://sklepjacka.pl');
define('HTTP_CATALOG_SERVER', 'https://sklepjacka.pl');
define('HTTPS_CATALOG_SERVER', 'https://sklepjacka.pl');
define('ENABLE_SSL_CATALOG', 'true');

includes/
define('HTTP_SERVER', 'https://sklepjacka.pl');
define('HTTPS_SERVER', 'https://sklepjacka.pl');
define('ENABLE_SSL', true);
define('HTTP_COOKIE_DOMAIN', '');
define('HTTPS_COOKIE_DOMAIN', '');

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×