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 ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| 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 |
| Sponsored Links | ||
| ||
|
#2
| ||||
| ||||
| 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 |
|
#3
| |||
| |||
| 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!! |
|
#4
| ||||
| ||||
| 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 |
|
#5
| |||
| |||
| 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 |
|
#6
| ||||
| ||||
| 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'
|
|
#7
| |||
| |||
| 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:
catalog/configure Quote:
Quote:
|
|
#8
| ||||
| ||||
| 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 |
|
#9
| |||
| |||
| 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 |
|
#10
| |||
| |||
| 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 |
| Sponsored Links | ||
| ||
| |
| Thread Tools | |
| |
| ||||
| 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 |