Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Checkout looping back to shipping cart


mblessed

Recommended Posts

Hello,

I have looked through past posts but could not find a definte answer to my problem. The other day my web host switched to a new server and since then I have been haveing problems with my checkout. I have two domain names on one dedicated server and they both were working fine until the server change.

 

What is happening is that when you click on continue to go to the next page after the shipping page it will take you back to the shopping cart contents. If you click continue shopping it takes you back to the shopping cart contents.

 

Is there anyone out there who can tell me how to correct this, please let me know. I am not a pro at this and I really cannot figure out what went wrong.

 

Any help will be appreciated.

Link to comment
Share on other sites

you need to edit your configure.php files and set the secure server, domain, paths etc. to point to the right place.

Link to comment
Share on other sites

you need to edit your configure.php files and set the secure server, domain, paths etc. to point to the right place.

[/quote

 

Can someone please tell me what to change to make this work. I have made changes but they did not work . These are what began as.

My shopping cart is still looping but now when you hit the check out it goes back to the cart contents and when you click on continue shopping from the cart contents it goes to the shipping page. I do not know what to do to make this work.

 

Here is my cashacreations/includes/configure.php

<?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://www.simplyuniquegiftsonline.com/cashacreations'); // eg, http://localhost - should not be empty for productive servers

 

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

 

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

 

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

 

define('HTTPS_COOKIE_DOMAIN','http://www.simplyuniquegiftsonline.com/cashacreations');

 

define('HTTP_COOKIE_PATH','/');

 

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

 

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

 

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

 

 

 

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

 

Here is my cashacreations/admin/includes/configure.php

 

<?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://www.simplyuniquegiftsonline.com/cashacreations'); // eg, http://localhost - should not be empty for productive servers

define('HTTP_CATALOG_SERVER', 'http://www.simplyuniquegiftsonline.com/cashacreations');

define('HTTPS_CATALOG_SERVER', 'https://www.simplyuniquegiftsonline.com/cashacreations.com');

define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module

define('DIR_FS_DOCUMENT_ROOT', '/home/simpl11/public_html/cashacreations/'); // where the pages are located on the server

define('DIR_WS_ADMIN', '/cashacreations/admin/'); // absolute path required

define('DIR_FS_ADMIN', '/home/simpl11/public_html/cashacreations/admin/'); // absolute pate required

define('DIR_WS_CATALOG', '/cashacreations'); // absolute path required

define('DIR_FS_CATALOG', '/home/simpl11/public_html/cashacreations/'); // 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/');

 

// 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 persisstent connections?

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

?>

Link to comment
Share on other sites

if the url is this:

www.cashacreations.com

 

why you're using everywhere

www.simplyuniquegiftsonline.com

Link to comment
Share on other sites

We have gone through these same issues with this same site a couple weeks ago. Seems she want 2 shops and 1 database. I don't remember where that thread is or how it ended.

 

 

if the url is this:

www.cashacreations.com

 

why you're using everywhere

www.simplyuniquegiftsonline.com

Link to comment
Share on other sites

We have gone through these same issues with this same site a couple weeks ago. Seems she want 2 shops and 1 database. I don't remember where that thread is or how it ended.

 

 

It ended where it was working fine after I was told that I would have to direct cashacreations through simplyuniquegiftsonline.com.

This is what I was told:

 

If you add the ssl certificate to your main or primary domain, you can

still

access it with your addon domain, you would need to change the url for

secure

pages to a path using the primary domain, as an example:

 

http://addondomain.com/page.htm

for ssl secured pages would change to:

https://primarydomain.com/addondomainfolder/page.htm

This method would be secure, without a mismatch error. You would only

need to

change the url for a secure connection, regular pages would remain

using your

addon domain name path.

 

I did that and it was working fine but last week my hosting service moved

the servers and update the mysql and it caused my cashacreations site to loop.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...