osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

https:// not quite doing it for me yet!

This is a discussion on https:// not quite doing it for me yet! within the osCMax v1.7 Discussion forums, part of the osCMax v1.7 Forums category; Hi, I have 2 stores on two different servers. One (MS2.2)works works fine with https and I am trying to ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v1.7 Forums > osCMax v1.7 Discussion

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 06-07-2004, 03:57 AM
Active Member
 
Join Date: Nov 2002
Location: Sydney
Posts: 129
Thanks: 12
Thanked 0 Times in 0 Posts
Rep Power: 7
ozstar is on a distinguished road
Default https:// not quite doing it for me yet!

Hi,

I have 2 stores on two different servers. One (MS2.2)works works fine with https and I am trying to set up the other (latest MAX) also to work with the other server's https.

I have the correct paths as I have checked with host support and I am sure I have made the same changes in both catalog and admin config.php files that are in the shop that works.

What is happening..

I get to the site with the usual dom http url. Log in fine using the https url then buy but when I select a product it reverts back to the http url. When I go to the check out it goes back to the https url again and I am led back to another login. When I log in again here I am told my cart is empty.

This are my configs.........

catalog/includes


// Define the webserver and path parameters
// * DIR_FS_* = Filesystem directories (local/physical)
// * DIR_WS_* = Webserver directories (virtual/URL)
define('HTTP_SERVER', 'http://www.starlitesong.com.au'); // eg, http://localhost - should not be empty for productive servers
define('HTTPS_SERVER', 'https://secure5.myownserver.net/~starsong'); // eg, https://localhost - should not be empty for productive servers
define('ENABLE_SSL', true); // secure webserver for checkout procedure?
define('HTTP_COOKIE_DOMAIN', 'www.starlitesong.com.au');
define('HTTPS_COOKIE_DOMAIN', 'www.starlitesong.com.au');
define('HTTP_COOKIE_PATH', '/catalog/');
define('HTTPS_COOKIE_PATH', '/catalog/');
define('DIR_WS_HTTP_CATALOG', '/catalog/');
define('DIR_WS_HTTPS_CATALOG', '/catalog/');
---------------------------------

admin/includes

define('HTTP_SERVER', 'http://www.starlitesong.com.au'); // eg, http://localhost - should not be empty for productive servers
define('HTTP_CATALOG_SERVER', 'http://www.starlitesong.com.au');
define('HTTPS_CATALOG_SERVER', 'https://secure5.myownserver.net/~starsong');
define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module
define('DIR_FS_DOCUMENT_ROOT', '/home/starlite/public_html/catalog/'); // where the pages are located on the server
define('DIR_WS_ADMIN', '/catalog/admin/'); // absolute path required
define('DIR_FS_ADMIN', '/home/starsong/public_html/catalog/admin/'); // absolute pate required
define('DIR_WS_CATALOG', '/catalog/'); // absolute path required
define('DIR_FS_CATALOG', '/home/starsong/public_html/catalog/'); // absolute path required

Thanks

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 06-07-2004, 08:38 PM
neil's Avatar
Active Member
 
Join Date: Nov 2002
Posts: 245
Thanks: 9
Thanked 7 Times in 6 Posts
Rep Power: 6
neil is on a distinguished road
Default

Methinks it is a cookie / session issue.
With a shared ssl it is recommended to use sessions instead of cookies.
Look in your admin/configuration/
In there you can define to use sessions & all should be well.
__________________
HTH
Neil
www.12website.com

"You can have everything in life that you want if you will just help enough other people get what they want."
Zig Ziglar
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 06-07-2004, 10:53 PM
Active Member
 
Join Date: Nov 2002
Location: Sydney
Posts: 129
Thanks: 12
Thanked 0 Times in 0 Posts
Rep Power: 7
ozstar is on a distinguished road
Default

Thanks Neil ..

I have the /tmp as the default dir, and there is a dir with that name on site
Force Cookies FALSE
Session ID ON
User FALSE
IP FALSE
Spider TRUE
Recreate TRUE

In BOTH configures I have the SSL to true with the https URL where it should be.

Yet I still get the 2nd Login page when checking out.

Strange!!


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 06-07-2004, 11:09 PM
neil's Avatar
Active Member
 
Join Date: Nov 2002
Posts: 245
Thanks: 9
Thanked 7 Times in 6 Posts
Rep Power: 6
neil is on a distinguished road
Default

These values are stored in your database.
Easiest way is to log into your online admin through your browser.
yoursite.com.au/admin
Go to configuration/sessions & modify there.
If it is your first time in your online admin - see one of Michaels 'pinned' posts for a walk through.
__________________
HTH
Neil
www.12website.com

"You can have everything in life that you want if you will just help enough other people get what they want."
Zig Ziglar
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 06-08-2004, 03:25 AM
Active Member
 
Join Date: Nov 2002
Location: Sydney
Posts: 129
Thanks: 12
Thanked 0 Times in 0 Posts
Rep Power: 7
ozstar is on a distinguished road
Default

Thanks again,

Yes I made those changes in Admin, however I still get back to the Login a second time when using https. Regular http is fine right to Confirmation.

I also noticed...

When in https after the second log in I don't get to the shipping page I go straight to the Payment area


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6  
Old 06-08-2004, 04:53 AM
neil's Avatar
Active Member
 
Join Date: Nov 2002
Posts: 245
Thanks: 9
Thanked 7 Times in 6 Posts
Rep Power: 6
neil is on a distinguished road
Default

Oh Dear,
Empty your browser cache & Refresh. Have a look if you are loosing your session id.
That is probably why you are having to log back in.
The session id is that long item that attaches itself onto the end of your URL eg:
?osCsid=2b5485191a43e5b950b26c52a2be946e
Do the last 2 lines of both configure.php files look like this:
Code:
define('USE_PCONNECT', 'false'); // use persistent connections?
  define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'
If they do - post the settings in your admin > configuration > sessions
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #7  
Old 06-08-2004, 03:53 PM
Active Member
 
Join Date: Nov 2002
Location: Sydney
Posts: 129
Thanks: 12
Thanked 0 Times in 0 Posts
Rep Power: 7
ozstar is on a distinguished road
Default

Thanks again.. I appreciate your help..

I did a clear browser cache and have tried both IE and NS with the same results.

After clearing I cannot get to the https url with a 'No page found' result, but unless you see why below, it could be the host with maintenance. I will check this.. (Edit - I have checked and they are down due to formmail spam o'load)

Anyway, this is what I have..


Quote:
Session Directory /tmp
Force Cookie Use False
Check SSL Session ID True
Check User Agent False
Check IP Address False
Prevent Spider Sessions True
Recreate Session True
Also....


catalog/configure

Quote:
define('HTTP_SERVER', 'http://www.starlitesong.com.au'); // eg, http://localhost - should not be empty for productive servers
define('HTTPS_SERVER', 'https://secure5.myownserver.net/~starsong'); // eg, https://localhost - should not be empty for productive servers
define('ENABLE_SSL', true); // secure webserver for checkout procedure?
define('HTTP_COOKIE_DOMAIN', 'starlitesong.com.au');
define('HTTPS_COOKIE_DOMAIN', 'starlitesong.com.au');
define('HTTP_COOKIE_PATH', '/catalog/');
admin/configure

Quote:
define('HTTP_SERVER', 'http://www.starlitesong.com.au'); // eg, http://localhost - should not be empty for productive servers
define('HTTP_CATALOG_SERVER', 'http://www.starlitesong.com.au');
define('HTTPS_CATALOG_SERVER', 'https://secure5.myownserver.net/~starsong');
define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module
define('DIR_FS_DOCUMENT_ROOT', '/home/starsong/public_html/catalog/'); // where the pages are located on the server
define('DIR_WS_ADMIN', '/catalog/admin/'); // absolute path required
define('DIR_FS_ADMIN', '/home/starsong/public_html/catalog/admin/'); // absolute pate required
define('DIR_WS_CATALOG', '/catalog/'); // absolute path required
define('DIR_FS_CATALOG', '/home/starsong/public_html/catalog/'); // absolute path required
Thanks

[/quote]
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #8  
Old 06-08-2004, 05:12 PM
neil's Avatar
Active Member
 
Join Date: Nov 2002
Posts: 245
Thanks: 9
Thanked 7 Times in 6 Posts
Rep Power: 6
neil is on a distinguished road
Default

The difference I have is this:
Code:
Session Directory  	/tmp  	 
Force Cookie Use 	False 	 
Check SSL Session ID 	False 	 
Check User Agent 	False 	 
Check IP Address 	False 	 
Prevent Spider Sessions 	True 	 
Recreate Session 	True
I can't see www.starlitesong.com.au in my browser? Is this online or are you working locally
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #9  
Old 06-08-2004, 05:20 PM
Active Member
 
Join Date: Nov 2002
Location: Sydney
Posts: 129
Thanks: 12
Thanked 0 Times in 0 Posts
Rep Power: 7
ozstar is on a distinguished road
Default

Thanks again..

I have changed the Sessions to read like yours but I have been informed the secure server is down due to them fixing the spam problem. Hopefully I can try in a few hours again.

Thanks

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #10  
Old 06-15-2004, 09:42 PM
Active Member
 
Join Date: Nov 2002
Location: Sydney
Posts: 129
Thanks: 12
Thanked 0 Times in 0 Posts
Rep Power: 7
ozstar is on a distinguished road
Default

Hi,

With latest MAX Everything works fine except when I still cannot get https to work.

After I log in as customer I go here and choose the product. Note session ID.

http://www.starliterecords.com.au/ca...2e2fde50a5aaaa

When I 'Add to Cart' I go here - Note NO session ID

http://www.starliterecords.com.au/ca...pping_cart.php

When I click 'Checkout Button' I go here to new Login Page. Note NEW Session ID.

https://secure5.myownserver.net/~ID/...653a7a22b5796c

>>>>> Here is my CATALOG configure.php

define('HTTP_SERVER', 'http://www.starliterecords.com.au'); // eg, http://localhost - should not be empty for productive servers
define('HTTPS_SERVER', 'https://secure5.myownserver.net/~ID'); // eg, https://localhost - should not be empty for productive servers
define('ENABLE_SSL', true); // secure webserver for checkout procedure?
define('HTTP_COOKIE_DOMAIN', 'starliterecords.com.au');
define('HTTPS_COOKIE_DOMAIN', 'starliterecords.com.au'); ??? Should it be https address above
define('HTTP_COOKIE_PATH', '/catalog/');
define('HTTPS_COOKIE_PATH', '/catalog/'); ????? Should it be https address above
define('DIR_WS_HTTP_CATALOG', '/catalog/');
define('DIR_WS_HTTPS_CATALOG', '/catalog/');


>>>> Here is my ADMIN configure.php

define('HTTP_SERVER', 'http://www.starliterecords.com.au'); // eg, http://localhost - should not be empty for productive servers
define('HTTP_CATALOG_SERVER', 'http://www.starliterecords.com.au');
define('HTTPS_CATALOG_SERVER', 'https://secure5.myownserver.net/~ID');
define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module
define('DIR_FS_DOCUMENT_ROOT', '/home/starlite/public_html/catalog/'); // where the pages are located on the server
define('DIR_WS_ADMIN', '/catalog/admin/'); // absolute path required
define('DIR_FS_ADMIN', '/home/starlite/public_html/catalog/admin/'); // absolute pate required
define('DIR_WS_CATALOG', '/catalog/'); // absolute path required
define('DIR_FS_CATALOG', '/home/starlite/public_html/catalog/'); // ab

>>>> Admin SESSIONS

Session Directory /tmp
Force Cookie Use False
Check SSL Session ID False
Check User Agent False
Check IP Address False
Prevent Spider Sessions True
Recreate Session True
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Prev/Next and Https humanode osCommerce 2.2 Discussion 0 11-24-2005 09:46 PM
https error wheelie osCommerce 2.2 Installation Help 6 07-23-2004 03:34 AM
https-problem springbank osCommerce 2.2 Installation Help 1 01-05-2004 09:31 AM
when in https.... Anonymous osCommerce 2.2 Modification Help 2 12-28-2002 07:36 PM
Too much https: ?? sheikyerbouti osCommerce 2.2 Installation Help 2 12-11-2002 06:40 PM


All times are GMT -8. The time now is 05:05 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax