Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Not adding to cart/not logging in


Recommended Posts



I just installed osC today on my local server (PHP PERL SSL cURL mySQL, and EVERYTHING else) for some unknown resaon every time I loging it wont show that I am logged in when I try to add a product to the cart it just say's that my cart is empty, when I goto check out it ask for me to log in again, and then once I do it takes me back to the main page, I have changed nothing apart from the home page txt my URL currently is I don't know what is going on, it will write the data for a new user to the database, it will add products, tax codes, Currencies to the database but wont stay logged in on the store side. help please

Link to comment
Share on other sites

ok so the problem is no longer there, I don't know what it was, but may have had something to do with http_server in configure.php tested on windows 7 and also Ubuntu via VMBox. everything is working fine once I change it from this:


define('HTTP_SERVER', 'localhost');

define('HTTPS_SERVER', 'localhost');


to this:


define('HTTP_SERVER', '');

define('HTTPS_SERVER', '');


everything worked fine, it post order to database, customer logs in can place item into cart, go through checkout and come out the otherside alive, then can view said order in "My Account" I can view said order via admin. everything is working fine now.



Link to comment
Share on other sites


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

  • Create New...