Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Shopping Cart Add Not Working


Guest

Recommended Posts

I moved my store up to the root directory recently and now when you add a product to the cart and then continue shopping and add another product, the first product added is gone.

 

CHeck out my config:

 

 define('HTTP_SERVER', 'http://www.reelproshop.com/'); // eg, http://localhost - should not be empty for productive servers
 define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers
 define('ENABLE_SSL', false); // secure webserver for checkout procedure?
 define('HTTP_COOKIE_DOMAIN', 'http://www.reelproshop.com/');
 define('HTTPS_COOKIE_DOMAIN', '');
 define('HTTP_COOKIE_PATH', 'http://www.reelproshop.com/');
 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/');

 define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');
 define('DIR_FS_CATALOG', '/home/reelpro/public_html/');
 define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
 define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

Thanks for your time

Link to comment
Share on other sites

Also- the cart is not remembering the member, and making them re-login.. must be a cache issue I can't figure out...

 

Thanks

Link to comment
Share on other sites

I moved my store up to the root directory recently and now when you add a product to the cart and then continue shopping and add another product, the first product added is gone.

 

CHeck out my config:

 

 define('HTTP_SERVER', 'http://www.reelproshop.com/'); // eg, http://localhost - should not be empty for productive servers
?define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers
?define('ENABLE_SSL', false); // secure webserver for checkout procedure?
?define('HTTP_COOKIE_DOMAIN', 'http://www.reelproshop.com/');
?define('HTTPS_COOKIE_DOMAIN', '');
?define('HTTP_COOKIE_PATH', 'http://www.reelproshop.com/');
?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/');

?define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');
?define('DIR_FS_CATALOG', '/home/reelpro/public_html/');
?define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
?define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

Thanks for your time

 

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

define('HTTPS_COOKIE_DOMAIN', 'should not be left empty');

define('HTTP_COOKIE_PATH', 'http://www.reelproshop.com/');

define('HTTPS_COOKIE_PATH', ''should not be left empty'');

define('DIR_WS_HTTP_CATALOG', ''should not be left empty'');

\\This need to point to the catalog dir

define('DIR_WS_HTTPS_CATALOG', ''should not be left empty'');

define('DIR_WS_IMAGES', 'images/');

Thank You In Advance, For Your Assistance

From A Newbie Point Of View...

 

Happiness is Getting OSC Operating to it's fullest potential and

with the help of Contributors and Forum Moderators, we can all do it. Support the cause. Donate to osCommerce.

 

baesic2

Link to comment
Share on other sites

Please disregard the previous advice, it is incorrect. Use these settings:

 

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

define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers

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

define('HTTP_COOKIE_DOMAIN', 'www.reelproshop.com');

define('HTTPS_COOKIE_DOMAIN', '');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '');

define('DIR_WS_HTTP_CATALOG', '/');

define('DIR_WS_HTTPS_CATALOG', '');

 

Vger

Link to comment
Share on other sites

Please disregard the previous advice, it is incorrect.  Use these settings:

 

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

define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers

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

define('HTTP_COOKIE_DOMAIN', 'www.reelproshop.com');

define('HTTPS_COOKIE_DOMAIN', '');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '');

define('DIR_WS_HTTP_CATALOG', '/');

define('DIR_WS_HTTPS_CATALOG', '');

 

Vger

 

 

Thanks, but that didn't do the trick... Do I have to edit the admin configure the same way? You can see the cart at reelproshop.com

Link to comment
Share on other sites

Another note worth mentioning, we generated a CSR key for an SSL cert. but have not purchased the cert or implemented it yet. I don't think that would mess up my cache though?

Link to comment
Share on other sites

This is what the admin looks like:

 

efine('HTTP_SERVER', 'http://www.reelproshop.com'); // eg, http://localhost - should not be empty for productive servers
 define('HTTP_CATALOG_SERVER', 'http://www.reelproshop.com');
 define('HTTPS_CATALOG_SERVER', '');
 define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module
 define('DIR_FS_DOCUMENT_ROOT', '/home/reelpro/public_html/'); // where the pages are located on the server
 define('DIR_WS_ADMIN', '/admin/'); // absolute path required
 define('DIR_FS_ADMIN', '/home/reelpro/public_html/admin/'); // absolute pate required
 define('DIR_WS_CATALOG', ''); // absolute path required
 define('DIR_FS_CATALOG', '/home/reelpro/public_html/'); // absolute path required
 define('DIR_WS_IMAGES', 'images/');
 define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
 define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . '../images/');
 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_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/');
 define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');
 define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');
 define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');
 define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

Link to comment
Share on other sites

Hey Guys, Sorry about that but you were right,, it fixed it.

 

I didn't reazline that I couldn't execute the file transfer because the file was not set to excute under the chmod command..

 

THANKS!!!

 

Let me know if you need any graphic work or such for any of your upcoming stores and I"ll be happy to contribute.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...