Shuey Posted January 19, 2006 Posted January 19, 2006 I'm hoping someone can help me out. I went away on vacation and was receiving complaints from clients that they could not checkout. After items are added to the cart, and then when you proceed to checkout you're brought to the screen, "Your shopping cart is empty" Anyone have any ideas? It was working fine before and I didn't make any recent changes? Here is my configure.php define('HTTP_SERVER', 'http://www.inveniotechnology.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://inveniotechnology.com'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'www.inveniotechnology.com'); define('HTTPS_COOKIE_DOMAIN', 'inveniotechnology.com'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); define('DIR_WS_HTTP_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); 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/'); Thanks, Dale
ozEworks Posted January 20, 2006 Posted January 20, 2006 It does seem like an SSL problem. I think people are losing the SID. You need to do some testing. Log in and watch the osCID in the URL, See when it disappears
Shuey Posted January 20, 2006 Author Posted January 20, 2006 hi kym, i understand basically what you are saying in theory, but not sure how to check. i am looking at the url and not sure how to proceed. can you please be a bit more specific? or perhaps take a look and let me know what i should be looking for. the site is http:///www.inveniotechnology.com thanks, shuey
Shuey Posted January 20, 2006 Author Posted January 20, 2006 it does seem to be an SSL error of some sort. in the configure.php file i changed the line to read: define('ENABLE_SSL', false); // secure webserver for checkout procedure? and it works. however when i change it back to true it does not work and just brings me back to the "your cart is empty" screen. anyone have any suggestions on what to do? i am not using a shared SSL certificate. is there anything i can ask my webhosting company to do? or is there someway to clear a cache or something on my end? if anyone can please help it would be much appreciated, as we cannot accept orders. thanks! shuey
Guest Posted January 21, 2006 Posted January 21, 2006 if you do not have an SSL then you leave that setting to false. If you get one. (dedicated or shared) your host will send you the path to place for the HTTPS settings and then you can enable the SSL.
Shuey Posted January 21, 2006 Author Posted January 21, 2006 enigma1 - thanks but i have an ssl certificate and when set to true it doesn't seem to work all of a sudden. it has been working for a couple years now. anyone with any ideas? i'm in real need of help!!! thx, shuey
Guest Posted January 21, 2006 Posted January 21, 2006 maybe the SSL was expired? check with whois dbase. Or if you got a new one from your host did they installed it? From what you said I take it its a dedicated one.
Shuey Posted January 21, 2006 Author Posted January 21, 2006 it is a dedicated ssl cert and isn't expired... here's the response from my webhosting company: I have checked your issue once again. I am not able to see any problem with the server. If this is a problem with session, then even your logins should not work. You will have to check this issue with the OsCommerce forums. The php version currently running on the server is php-4.4.1. Please check with them if there is any specific issue with it. i'm not sure where to problem solve next...
Guest Posted January 21, 2006 Posted January 21, 2006 next thing then check the osc admin -> configuration->sessions make sure Force Cookie Use is true, and as a test leave the rest of the other options there to false. And try it. PS: I assume your cookies domain settings in the configure.php are correct along with the https path
AlanR Posted January 21, 2006 Posted January 21, 2006 Try removing the www from the http defines, like so... define('HTTP_SERVER', 'http://inveniotechnology.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://inveniotechnology.com'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'inveniotechnology.com'); define('HTTPS_COOKIE_DOMAIN', 'inveniotechnology.com'); It's setting cookies for the www and the non www domains which normally is fine but let's see what happens. Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)
Guest Posted January 21, 2006 Posted January 21, 2006 Try removing the www from the http defines, like so... define('HTTP_SERVER', 'http://inveniotechnology.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://inveniotechnology.com'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'inveniotechnology.com'); define('HTTPS_COOKIE_DOMAIN', 'inveniotechnology.com'); It's setting cookies for the www and the non www domains which normally is fine but let's see what happens. yea tell me about it, the host knows the www details for the cookie path. Otherwise you start doing combinations with/wihout the www :lol:
Shuey Posted January 22, 2006 Author Posted January 22, 2006 hi alan, removing the www out of the path seems to have worked. i'm going to do a bit more testing but right now it seems to have worked. not sure i understand why removing the www out of the path worked... :-" thanks for the help! shuey
Recommended Posts
Archived
This topic is now archived and is closed to further replies.