Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Problem with securing my site with SSL


vahid23

Recommended Posts

Hello

 

I am doing a test site for an actual site that I am creating. the test site can be viewed at http://www.home-loanservice.com/test.

 

the website worked fine untill I configured the SSL for it which is a shared one from the hosting company that is hosting our site. The problem is that it secures the connection but when I add items to my cart and try to check out it ask me to log in as a user and in case I didnt creat one I have that option. The problem is after I sign up for a user name and password and sign in the cart is shown to be empty but when I check out and not signed in the items I added to my cart are shown again when add a new items. so some how they are saved but not when i am signed in

 

The content of my configeration file is as follow

 

define('HTTP_SERVER', 'http://www.home-loanservice.com');

define('HTTPS_SERVER', 'https://secure.bluehost.com/~homeloa2');

define('ENABLE_SSL', true);

define('HTTP_COOKIE_DOMAIN', 'www.home-loanservice.com');

define('HTTPS_COOKIE_DOMAIN', 'www.home-loanservice.com');

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

define('HTTPS_COOKIE_PATH', '/test/');

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

define('DIR_WS_HTTPS_CATALOG', '/test/');

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_INCLUDES', 'includes/');

define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

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', 'pub/');

define('DIR_FS_CATALOG', '/home/homeloa2/public_html/test/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

 

The files for the OSC are located in my public_html folder for my main domain under a folder called 'test'

 

I created a dummy account for who ever that wants to test it and see if they can help me

email :[email protected]

pass :testone

 

If anyone can help me with this i would really appreciate it

 

I don't know if this is a oscommerce bug or something for my setting.

 

 

thank you very much

Link to comment
Share on other sites

I had this problem as well. .the solution was in the line

 

 define('HTTPS_COOKIE_DOMAIN', '???');

 

mine had to be changed to my https shared certificate ie server.secure.co.uk/webaddress.co.uk

 

 

hope that helps

Link to comment
Share on other sites

I had this problem as well. .the solution was in the line

 

 define('HTTPS_COOKIE_DOMAIN', '???');

 

mine had to be changed to my https shared certificate ie server.secure.co.uk/webaddress.co.uk

hope that helps

 

 

 

thank you very much for the fast reply

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...