Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

https set to true causes login and new account errors


steve189

Recommended Posts

Hi,

 

My store is running perfectly well when https (using a shared certificate my hosting co. provides) is set to 'false' in

 

catalog/includes/configure.php

 

and

 

catalog/admin/includes/configure.php

 

I have created a couple of fictitious 'customers' to test the stores functionality with.

 

When I set https to 'true' I can no longer sign in as a returning customer, I get this warning:

 

Error: No match for E-Mail Address and/or Password.

 

Also, I can no longer create a new account as a new customer.

 

Once https is set back to 'false' everything works perfectly well again.

 

Here are my alterations to the catalog/includes/configure.php

 

 

define('HTTP_SERVER', 'http://www.fishingtackle4u.org'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'https://neptune.unitedhosting.co.uk/~admin219/'); <-- given to me by my hosting help desk // eg, https://localhost - should not be empty for productive servers

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

define('HTTP_COOKIE_DOMAIN', 'www.fishingtackle4u.org');

define('HTTPS_COOKIE_DOMAIN', '~admin219'); <--- Note: I've also tried this as fishingtackle4u.org

define('HTTP_COOKIE_PATH', '/catalog/');

define('HTTPS_COOKIE_PATH', '/catalog/'); <--- this was blank

define('DIR_WS_HTTP_CATALOG', '/catalog/');

define('DIR_WS_HTTPS_CATALOG', '/catalog/'); <--- this was blank

 

I'm totally going around in circles at this point and my friend who the shop belongs to wants to complete stocking it this week and open next week. As far as security goes the paypal side of things is secure but I really want to crack this to make the whole catalog and login side secure.

 

Anyone here had the same problem?

Anyone see what I'm doing wrong above?

Anyone know of any other threads addressing this issue?

 

I was quite proud having achieved a working store (many thanks to the osCommerce team providing such a cool package) as a newbie to php and mySql based applications so this is 'doin' me 'ead in'..

 

Any help will be much appreciated.

Regards,

Steve189

Link to comment
Share on other sites

UPDATE:

 

I seem to have fixed the login issue by removing the / from the end of the https: url however now I have a new problem.

 

I can login, add a few products to my cart and then go to checkout, have to login again and then my cart is empty!

 

I'll have a look around the forum in the meantime to see if this has happened elsewhere.

 

Aaaaarghhhhhhhhh!

 

Steve189

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...