Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help: Form weirdness after order.


neoyoda

Recommended Posts

After placing an order (when the guy on the board shows up on checkout_success.php), if I click "Continue" it takes me up to the root of the site, rather than the directory I should be in. So like for example, I go from here:

 

-https://ssl.dotnet.com/vernscheese/checkout_success.php?osCsid=50aed1aea6cacdb6e4a624e6afdf0030

 

to here:

 

-https://ssl.dotnet.com/index.php?action=notify&notify[]=&osCsid=50aed1aea6cacdb6e4a624e6afdf0030

 

when it should be going here:

 

-https://ssl.dotnet.com/vernscheese/index.php?action=notify&notify[]=&osCsid=50aed1aea6cacdb6e4a624e6afdf0030

 

I can't figure out where it's messing up. everything else seems to work fine. This is my includes/configure.php, minus the database connection bit.

 

<?php

// Define the webserver and path parameters
// * DIR_FS_* = Filesystem directories (local/physical)
// * DIR_WS_* = Webserver directories (virtual/URL)
 define('HTTP_SERVER', 'http://new.vernscheese.com'); // eg, http://localhost - should not be empty for productive servers
 define('HTTPS_SERVER', 'https://ssl.dotnet.com'); // eg, https://localhost - should not be empty for productive servers
 define('ENABLE_SSL', true); // secure webserver for checkout procedure?
 define('HTTP_COOKIE_DOMAIN', 'new.vernscheese.com');
 define('HTTPS_COOKIE_DOMAIN', 'ssl.dotnet.com');
 define('HTTP_COOKIE_PATH', '/');
 define('HTTPS_COOKIE_PATH', '/vernscheese/');
 define('DIR_WS_HTTP_CATALOG', '/');
 define('DIR_WS_HTTPS_CATALOG', '/vernscheese/');
 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/vernscheese/vernscheese.com/html');
 define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
 define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

Please help, I'm stumped at the moment.

Link to comment
Share on other sites

Just an update:

 

I am also having problems logging in using Internet Explorer (I was using firefox before). I can create a new account but if I try to log into an existing account it yields a 404 error. Also, when placing an order in IE it seems to submit to the correct address on the checkout_success page (as opposed to the original post where it didn't even show the right address in firefox), however this also yields a 404 error in IE.

Link to comment
Share on other sites

No guarantee and make a backup copy of the configure files first, but you might try this, it worked for someone else with a similar problem (http://www.oscommerce.com/forums/index.php?s=&...ndpost&p=729230):

 

Change:

 

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

 

To:

 

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

 

And change:

 

define('HTTPS_COOKIE_DOMAIN', 'ssl.dotnet.com');

 

to

 

define('HTTPS_COOKIE_DOMAIN', 'ssl.dotnet.com/vernscheese');

 

And change:

 

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

 

to

 

define('HTTPS_COOKIE_PATH', '/');

 

And change

 

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

 

to

 

define('DIR_WS_HTTPS_CATALOG', '/');

 

Then make the related changes to the /admin/includes/configure.php file.

Rule #1: Without exception, backup your database and files before making any changes to your files or database.

Rule #2: Make sure there are no exceptions to Rule #1.

Link to comment
Share on other sites

Mike: I feel a little like an idiot ...

 

No need to, it's just a learning experience.

Rule #1: Without exception, backup your database and files before making any changes to your files or database.

Rule #2: Make sure there are no exceptions to Rule #1.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...