Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SSL PROBLEM


Guest

Recommended Posts

Posted

Hi,

 

I'm new to osCommerce and have only just install mysite.

 

The problem i am having is that i can place an order and go to checkout but, on completion of the order

the continue button doesn't redirect to the index?

 

Any ideas

 

Jay Cee

 

 

www.freerangemeat.net

Posted

You've got an https setting wrong in catalog/includes/configure.php

 

https://ssl45.pair.com/index.php?action=notify&notify[]=&osCsid=XXX

 

You can see that is only shows the ssl proxy, not the compete address to your store.

 

One of these is incomplete or wrong.

 

define('HTTP_SERVER', ''); // 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', '');

define('HTTPS_COOKIE_DOMAIN', '');

Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux

Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)

Posted
You've got an https setting wrong in catalog/includes/configure.php

 

https://ssl45.pair.com/index.php?action=notify?ify[]=&osCsid=XXX

 

You can see that is only shows the ssl proxy, not the compete address to your store.

 

One of these is incomplete or wrong.

 

define('HTTP_SERVER', ''); // 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', '');

define('HTTPS_COOKIE_DOMAIN', '');

 

Thank you for you help so far.

I've had a look but, I'm not totally sure what I'm looking for? heres my config

 

define('HTTP_SERVER', 'http://www.freerangemeat.net');

// eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'https://ssl45.pair.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://www.freerangemeat.net');

define('HTTPS_COOKIE_DOMAIN', 'https://ssl45.pair.com/bbeyetaa/');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '/');

define('DIR_WS_HTTP_CATALOG', '/');

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

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', '/usr/www/users/bbeyetaa/');

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

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

 

As i say i can switch between secure ie(my account) and unsecure i.e(products) with no problems and the rest of the checkout is fine it's just the continue button on the 'Your Order Has Been Processed' section that is not linking?

 

many thanks

 

Jay Cee

Posted

define('HTTP_SERVER', 'http://www.freerangemeat.net');

define('HTTPS_SERVER', 'https://ssl45.pair.com/bbeyetaa');

define('ENABLE_SSL', true);

define('HTTP_COOKIE_DOMAIN', 'www.freerangemeat.net');

define('HTTPS_COOKIE_DOMAIN', 'ssl45.pair.com/bbeyetaa');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '/');

define('DIR_WS_HTTP_CATALOG', '/');

define('DIR_WS_HTTPS_CATALOG', '/');

 

Vger

Posted
define('HTTP_SERVER', 'http://www.freerangemeat.net');

define('HTTPS_SERVER', 'https://ssl45.pair.com/bbeyetaa');

define('ENABLE_SSL', true);

define('HTTP_COOKIE_DOMAIN', 'www.freerangemeat.net');

define('HTTPS_COOKIE_DOMAIN', 'ssl45.pair.com/bbeyetaa');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '/');

define('DIR_WS_HTTP_CATALOG', '/');

define('DIR_WS_HTTPS_CATALOG', '/');

 

Vger

 

I've tried the above but I'm still getting the same problem?

 

any ideas?

 

Jay Cee

Posted
I've tried the above but I'm still getting the same problem?

 

any ideas?

 

Jay Cee

Recheck your work and look for an extra configure.php file in includes/local.

 

Just go to your site and click log in. You'll see that the ssl url still does not have your account name after the ssl proxy url.

 

edit: It looks like you've got it now.

Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux

Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)

Posted
Recheck your work and look for an extra configure.php file in includes/local.

 

Just go to your site and click log in. You'll see that the ssl url still does not have your account name after the ssl proxy url.

 

edit: It looks like you've got it now.

 

AlanR gave a very significant little piece of information "look for an extra configure.php file in includes/local" that is lacking at http://www.oscommerce.info/kb/ocCommerce/G...mon_Problems/75

Someone should get this added to the General Information documentation to save some folks a lot of time. :-"

Posted

I'm having this same problem. It also happens sometimes when I try to log in. When it doesn't work, it directs me to my ssl url with two catalog's. See below

 

When it works I get:

https://secureserver18.appliedi.net/adfarro...592a51ad12934ee

 

When it doesn't work, I get:

https://secureserver18.appliedi.net/adfarro...592a51ad12934ee

 

As you can see in the second one, there are two "catalog/catalog", I have no idea why this happens and cannot figure it out. Does anyone know? Thanks!

 

JP

Archived

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

×
×
  • Create New...