Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Hosting OSC 2.31 On A Imac


gaspower

Recommended Posts

Posted

Hello,

I have a strange error. I am using my Mac as a development server for my current site. Everything works fine except for one issue on the Mac. On the product_info.php page, when I click on Add To Cart, the shopping cart will show empty? But if I search for the product and it shows in advance_search_results.php and click the Buy It Now button, the product will add to the shopping cart? On my live site, the product_info.php Add To Cart works fine.

 

By chance I changed the config to the following and still no luck,

 

define('HTTP_SERVER', 'http://192.168.1.6');

define('HTTPS_SERVER', 'http://192.168.1.6');

define('ENABLE_SSL', false);

define('HTTP_COOKIE_DOMAIN', '');

define('HTTPS_COOKIE_DOMAIN', '');

define('HTTP_COOKIE_PATH', '/~user/');

define('HTTPS_COOKIE_PATH', '/~user/');

 

and

 

define('HTTP_SERVER', 'http://192.168.1.6');

define('HTTPS_SERVER', 'http://192.168.1.6');

define('ENABLE_SSL', false);

define('HTTP_COOKIE_DOMAIN', '192.168.1.6');

define('HTTPS_COOKIE_DOMAIN', '192.168.1.6');

define('HTTP_COOKIE_PATH', '/~user/');

define('HTTPS_COOKIE_PATH', '/~user/');

 

Thanks JR

Archived

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

×
×
  • Create New...