wayneo Posted October 12, 2005 Share Posted October 12, 2005 After i add an item from my store to my cart i click on checkout and it takes me to login.php After i log in it takes me to shopping_cart.php and tells me that my cart is empty, so i click continue... ... now it takes me to the index.php and i'm not logged in. I'm going round in circles, what am i missing? Thanks Wayneo Link to comment Share on other sites More sharing options...
rnorth6920 Posted October 13, 2005 Share Posted October 13, 2005 After i add an item from my store to my cart i click on checkout and it takes me to login.php After i log in it takes me to shopping_cart.php and tells me that my cart is empty, so i click continue... ... now it takes me to the index.php and i'm not logged in. I'm going round in circles, what am i missing? Thanks Wayneo Join the club :( Link to comment Share on other sites More sharing options...
♥Vger Posted October 13, 2005 Share Posted October 13, 2005 Check your includes/configure.php file for what you have written for http_cookie_domain and https_cookie_domain. http_cookie_domain should just be www.yourdomain.com (no http://) https_cookie_domain has no https:// in it Vger Link to comment Share on other sites More sharing options...
rnorth6920 Posted October 13, 2005 Share Posted October 13, 2005 I may have found out why mine quit working right. I updated the configure.php file, but the chmod was wrong so it wasnt updating the code I put in. Give that a try and it might work.......mine is. Link to comment Share on other sites More sharing options...
wayneo Posted October 13, 2005 Author Share Posted October 13, 2005 I may have found out why mine quit working right. I updated the configure.php file, but the chmod was wrong so it wasnt updating the code I put in. Give that a try and it might work.......mine is. OK so i checked my http:// and https:// they are as they are supposed to be. Also i checked my configure.php permissions and they are fine, and saved. NOW WHAT???? Maybe my buttons are pointing to the wrong pages.php Please help Link to comment Share on other sites More sharing options...
♥Vger Posted October 13, 2005 Share Posted October 13, 2005 If you don't have ssl installed then make sure, in includes/configure.php, that enable_ssl is set to false, and that the https_server, https_cookie_domain and https_cookie_path are left blank. If you have shared ssl then make sure you are set up for shared ssl and not a full ssl cert. Vger Link to comment Share on other sites More sharing options...
wayneo Posted October 14, 2005 Author Share Posted October 14, 2005 If you don't have ssl installed then make sure, in includes/configure.php, that enable_ssl is set to false, and that the https_server, https_cookie_domain and https_cookie_path are left blank. If you have shared ssl then make sure you are set up for shared ssl and not a full ssl cert. Vger Hi there again, thank you for your advice but it's still not working. Here they are: 'HTTP_SERVER', 'http://aussiemall.com.au'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://mercury.websiteactive.com/~aussiema'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'www.aussiemall.com.au'); define('HTTPS_COOKIE_DOMAIN', 'mercury.websiteactive.com/~aussiema'); define('HTTP_COOKIE_PATH', '/commerce/'); define('HTTPS_COOKIE_PATH', '/https://mercury.websiteactive.com/~aussiema/commerce/'); define('DIR_WS_HTTP_CATALOG', '/commerce/'); define('DIR_WS_HTTPS_CATALOG', '/commerce/'); Is this right or not? Have a look at www.aussiemall.com.au and see for yourselves. I'm using a shared ssl with 'mercury.websiteactive.com/~aussiema' as my in for it. I want to know what to do Thank you Link to comment Share on other sites More sharing options...
gellnsh Posted October 17, 2005 Share Posted October 17, 2005 Hi there again, thank you for your advice but it's still not working. Here they are: 'HTTP_SERVER', 'http://aussiemall.com.au'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://mercury.websiteactive.com/~aussiema'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'www.aussiemall.com.au'); define('HTTPS_COOKIE_DOMAIN', 'mercury.websiteactive.com/~aussiema'); define('HTTP_COOKIE_PATH', '/commerce/'); define('HTTPS_COOKIE_PATH', '/https://mercury.websiteactive.com/~aussiema/commerce/'); define('DIR_WS_HTTP_CATALOG', '/commerce/'); define('DIR_WS_HTTPS_CATALOG', '/commerce/'); Is this right or not? Have a look at www.aussiemall.com.au and see for yourselves. I'm using a shared ssl with 'mercury.websiteactive.com/~aussiema' as my in for it. I want to know what to do Thank you Hi, Change this: define('HTTPS_COOKIE_PATH', '/https://mercury.websiteactive.com/~aussiema/commerce/'); to this: define('HTTPS_COOKIE_PATH', '/commerce/'); that should do it Link to comment Share on other sites More sharing options...
Guest Posted October 19, 2005 Share Posted October 19, 2005 I am having the same problem and mine is set just as above with /catalog/ Link to comment Share on other sites More sharing options...
wayneo Posted October 19, 2005 Author Share Posted October 19, 2005 I am having the same problem and mine is set just as above with /catalog/ Everything you have suggested i have done OR was done already???? This is the senario - I sign in > choose a product > add to cart > told "your shopping cart is empty" > click continue > get taken back to index.php but now i'm not signed in????? Here is my configure.php file define('HTTP_SERVER', 'http://aussiemall.com.au'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://mercury.websiteactive.com/~aussiema'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'www.aussiemall.com.au'); define('HTTPS_COOKIE_DOMAIN', 'mercury.websiteactive.com/~aussiema'); define('HTTP_COOKIE_PATH', '/commerce/'); define('HTTPS_COOKIE_PATH', '/commerce/'); define('DIR_WS_HTTP_CATALOG', '/commerce/'); define('DIR_WS_HTTPS_CATALOG', '/commerce/'); 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/'); I have been stuck on this for almost a week now, i really need to get it resolved. Please help or point me in another direction. Thanks Link to comment Share on other sites More sharing options...
wayneo Posted October 20, 2005 Author Share Posted October 20, 2005 Everything you have suggested i have done OR was done already???? This is the senario - I sign in > choose a product > add to cart > told "your shopping cart is empty" > click continue > get taken back to index.php but now i'm not signed in????? Here is my configure.php file define('HTTP_SERVER', 'http://aussiemall.com.au'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://mercury.websiteactive.com/~aussiema'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'www.aussiemall.com.au'); define('HTTPS_COOKIE_DOMAIN', 'mercury.websiteactive.com/~aussiema'); define('HTTP_COOKIE_PATH', '/commerce/'); define('HTTPS_COOKIE_PATH', '/commerce/'); define('DIR_WS_HTTP_CATALOG', '/commerce/'); define('DIR_WS_HTTPS_CATALOG', '/commerce/'); 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/'); I have been stuck on this for almost a week now, i really need to get it resolved. Please help or point me in another direction. Thanks Everything is ok with my configure.php file. What else could it be? Why am i not getting any products to add to my shopping cart? I need to aproach this from a new angle!!!! Link to comment Share on other sites More sharing options...
Guest Posted October 20, 2005 Share Posted October 20, 2005 define('HTTP_SERVER', 'http://aussiemall.com.au'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://mercury.websiteactive.com/~aussiema'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'www.aussiemall.com.au'); define('HTTPS_COOKIE_DOMAIN', 'mercury.websiteactive.com/~aussiema'); define('HTTP_COOKIE_PATH', '/commerce/'); define('HTTPS_COOKIE_PATH', 'mercury.websiteactive.com/~aussiema'); define('DIR_WS_HTTP_CATALOG', '/commerce/'); define('DIR_WS_HTTPS_CATALOG', 'mercury.websiteactive.com/~aussiema'); I currently have shared SSL also Wayneo and this is how I set mine up and it works like a charm. Now my only problem is....anytime I turn on require cookies for session, I get the cookies_enabled.php even though I and 3 other machines have them enabled. Link to comment Share on other sites More sharing options...
wayneo Posted October 22, 2005 Author Share Posted October 22, 2005 define('HTTP_SERVER', 'http://aussiemall.com.au'); // eg, http://localhost - should not be empty for productive serversdefine('HTTPS_SERVER', 'https://mercury.websiteactive.com/~aussiema'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'www.aussiemall.com.au'); define('HTTPS_COOKIE_DOMAIN', 'mercury.websiteactive.com/~aussiema'); define('HTTP_COOKIE_PATH', '/commerce/'); define('HTTPS_COOKIE_PATH', 'mercury.websiteactive.com/~aussiema'); define('DIR_WS_HTTP_CATALOG', '/commerce/'); define('DIR_WS_HTTPS_CATALOG', 'mercury.websiteactive.com/~aussiema'); I currently have shared SSL also Wayneo and this is how I set mine up and it works like a charm. Now my only problem is....anytime I turn on require cookies for session, I get the cookies_enabled.php even though I and 3 other machines have them enabled. I emailed Vger and got it sorted out, no more posts thank you. Sorted at last, thanks Vger!!! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.