Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Cannot checkout with shared ssl.


marcelev

Recommended Posts

Posted

For some reason I when I press the checkout button to make a purchase .. it just reloads the same page... (I'm using a shared ssl setup.. everything else is working.. The funny thing is that I had it working once.. but I can't remember what I did. I know its a shared ssl problem.. But why would all the other ssl pages work then? Maybe something with sessions?....

 

my configure.php

 

<?php

 

// Define the webserver and path parameters

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

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

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

define('HTTPS_SERVER', 'https://www.ssldomain.com/catalog/directory'); // eg, https://localhost - should not be NULL for productive servers

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

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

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

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_INCLUDES', 'includes/'); // If "URL fopen wrappers" are enabled in PHP (which they are in the default configuration), this can be a URL instead of a local pathname

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', DIR_WS_CATALOG . 'pub/');

define('DIR_FS_DOCUMENT_ROOT', '/usr/local/psa/home/vhosts/domain.com/httpdocs');

define('DIR_FS_CATALOG', '/usr/local/psa/home/vhosts/domain.com/httpdocs/catalog/');

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 NULL for productive servers

define('DB_SERVER_USERNAME', 'xxxxxx');

define('DB_SERVER_PASSWORD', 'xxxxxx');

define('DB_DATABASE', 'xxxxxx');

define('USE_PCONNECT', 'false'); // use persistent connections?

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

?>

Posted

make sure these two

define('DIR_FS_DOCUMENT_ROOT', '/usr/local/psa/home/vhosts/domain.com/httpdocs'); 

define('DIR_FS_CATALOG', '/usr/local/psa/home/vhosts/domain.com/httpdocs/catalog/');

are correctly refrenced to the https server

Posted

Can anyone see whats wrong... I think that it is something with sessions between the non-ssl... ssl.

 

Still can't checkout...

 

The store is

 

h**p://www.gvcreations.com/catalog/default.php

 

 

Some questions...

Should "define('DIR_FS_DOCUMENT_ROOT', and define('DIR_FS_CATALOG'," have the same values in both the nonssl and ssl configurations? (They are both on the same server)

 

Everything works fine but the checkout!

 

I need some help .. I have to get this store finished today!

Archived

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

×
×
  • Create New...