Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Items gone after I hit Checkout


palmatec

Recommended Posts

I am working on the site using the IP address because my client's store has to remain on her old server until I get this worked out.

 

URL: http://65.109.231.43/catalog/

 

After I add items to the cart, I click "checkout" and it switches to my Shared SSL path. At that point the shopping cart is empty again. Then after I log in, I am still in the secure pages, but when I click on any product, it switches back to http non-secure pages, and the cookies get set there.

 

Is there a setting to prevent the links from pointing back to the non-secure pages. I assume that is the problem. The software is included with my hosting account, so I assume it will work on this server.

 

Any help would be most appreciated.

 

Thanks...

Link to comment
Share on other sites

There should be no need to use the ip address, because you should be able to use a temporary pathway provided by your hosting company e.g.

http://servername.yourhosts.com/yourdomain.com

 

Make sure that in your includes/configure.php file your http_cookie_domain reads just 'www.yourdomain.com' - or your ip address if you use that.

 

Try leaving both the https_cookie_domain and https_cookie_path blank - and this may resolve your problem.

 

Vger

Link to comment
Share on other sites

  • 2 weeks later...

The secure address is: https://host.totera.com/wanderingangus/catalog/

The IP address is: http://65.109.231.43/catalog/

 

Any idea what's causing this issue to happen? This forum is very hard to navigate. I can't find other topics I've posted. I don't know if Vger is responding to me or divinenlightenment..

 

Anyhow, I really need to solve this problem. I did once, but now I can't find the forum that had the answer, and I can't figure out why it started happening again.

 

Thanks,

Frank

palmatec

Link to comment
Share on other sites

<?php

/*

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

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

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

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

define('HTTP_COOKIE_DOMAIN', '65.109.231.43');

define('HTTPS_COOKIE_DOMAIN', '65.109.231.43');

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

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

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

define('DIR_WS_HTTPS_CATALOG', '/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/wanderin/wanderingangus-www/catalog/');

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

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

define('DIR_FS_CACHE', DIR_FS_CATALOG . 'cache/');

define('STORE_PAGE_PARSE_TIME_LOG', DIR_FS_CATALOG . 'logs/page_parse_time.log');

define('EnableELF2Logging', 'false');

 

// define our database connection

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

define('DB_SERVER_USERNAME', '');

define('DB_SERVER_PASSWORD', '');

define('DB_DATABASE', '');

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

Try:

 

define('HTTP_SERVER', 'http://65.109.231.43'); // eg, http://localhost - should not be empty for productive servers
define('HTTPS_SERVER', 'https://host.totera.com'); // eg, https://localhost - should not be empty for productive servers
define('ENABLE_SSL', true); // secure webserver for checkout procedure?
define('HTTP_COOKIE_DOMAIN', '65.109.231.43');
define('HTTPS_COOKIE_DOMAIN', 'host.totera.com');
define('HTTP_COOKIE_PATH', '/catalog/');
define('HTTPS_COOKIE_PATH', '/wanderingangus/catalog/');
define('DIR_WS_HTTP_CATALOG', '/catalog/');
define('DIR_WS_HTTPS_CATALOG', '/wanderingangus/catalog/');

 

Matti

Link to comment
Share on other sites

Make the admin/file_manager.php file have permissions of 400 (read only) and then your customer won't be able to use it to edit files using the File Manager at all - unless they know how to reset permissions!

 

Vger

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...