Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

pls help fix codes for my "add to cart" button


gigant

Recommended Posts

;) Thanks for taking time to read and respond to a newbie question... I have successfully activated my shared ssl for my first OSCommerce installation(at yahoo hosting) but I'm having problem now with my other clickable buttons particularly the "add to cart" and the "update" buttons(although my "buy now" button is working perfectly as it is)... This is what happens when i click on "add to cart"... a security alert(i'm using IE) pops up "You are about to be redirected to a connection that is not secure... Do you wish to continue?" when clicked "YES" ... it shows "Your Shopping Cart is Empty"(or it won't simply add the product if my cart has initially something on it.) I can't even delete a product on my cart because "update" button just does nothing too :( I've been searching for an answer on our contributions area but nothing seems to fit... I know you good guys out there with experience could lend me a hand =) Thanks and have a nice day!

 

By the way, in case you need to see my configure.php(OSCommerce is installed on a folder named "ssl") ... Thanks!!!

-------

define('HTTP_SERVER', 'http://mywebsite.com'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'https://s.p6.hostingprod.com/@mywebsite.com'); // eg, https://localhost - should not be empty for productive servers

define('ENABLE_SSL', true); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN', 'http://mywebsite.com');

define('HTTPS_COOKIE_DOMAIN', 's.p6.hostingprod.com/@mywebsite.com');

define('HTTP_COOKIE_PATH', '/ssl/');

define('HTTPS_COOKIE_PATH', '/ssl/');

define('DIR_WS_HTTP_CATALOG', '/ssl/');

define('DIR_WS_HTTPS_CATALOG', '/ssl/');

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/');

 

define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');

define('DIR_FS_CATALOG', '/ssl/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

define('USE_PCONNECT', 'false'); // use persistent connections?

define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...