Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SSL is out when you put a product to the basket


R08ERT

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

Link to comment
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.

Link to comment
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.

 

 

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

Link to comment
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... 😕

Link to comment
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', '');

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...