Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

In secure mode before ordering and you are hung up


Guest

Recommended Posts

Posted

Have earlier version osCommerce 2.2 CVS at another of my URLs for over four years it has been working with no problems. Now, I have been struggling to complete the installing of osCommerceMS2v2. I have a shared SSL, have the cache off, and my database works fine. I have searched this forum and checked the bug reporter but have not found the answers. It does seem there is configuring problems that needs clarifying. I believe the problem is with the catalog/admin configure files. The osCommerce MS2v2 everything seems to work fine. It sets the cookie, allows you to create an account, allows one to log yourself in and it takes the order and checks out. It records all the information to the database and it sends out the e-mail just fine. Here is where the problems start. If you log yourself in or you create an account before entering the ordering secure mode you end up in the secure mode and you are hung up. If you don?t log yourself in or create an account before you add something to your cart it will allow you to log yourself in and/or create an account before you check out but again once after your order has been processed your you are still in the secure mode you again you are hung up. I have tried many of the configurations listed here in the forum and none of them have work for me. Please e-mail me!

If not, does anyone have a full zipped copy of osCommerce 2.2 CVS. Thanks.

My catalog configure:

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

define('HTTPS_SERVER', 'https://mysecureorder.net/mysecureurl'); // eg, https://localhost - should not be empty for productive servers

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

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

define('HTTPS_COOKIE_DOMAIN', '');

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

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

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

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

define('DIR_FS_CATALOG', '/my/physical/home/catalog/');

My admin configure:

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

define('HTTP_CATALOG_SERVER', 'http://url.com');

define('HTTPS_CATALOG_SERVER', 'https://mysecureorder.net/mysecureurl');

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

define('DIR_FS_DOCUMENT_ROOT', '/my/physical/home/'); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs)

define('DIR_WS_ADMIN', '/admin/');

define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN);

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

define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG);

Posted

this

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

define('HTTPS_COOKIE_DOMAIN', '');

 

to

 

define('HTTP_COOKIE_DOMAIN', '.url.com');

define('HTTPS_COOKIE_DOMAIN', 'mysecureorder.net/mysecureurl');

 

in admin configure.php, set document_root to $DOCUMENT_ROOT

Posted
this

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

define('HTTPS_COOKIE_DOMAIN', '');

 

to

 

define('HTTP_COOKIE_DOMAIN', '.url.com');

define('HTTPS_COOKIE_DOMAIN', 'mysecureorder.net/mysecureurl');

 

in admin configure.php, set document_root to $DOCUMENT_ROOT

 

Thanks Middle,

I made the changes you suggested and the results are about the same once again at ?your order has been processed? pages still in the secure mode the links or clicks in both right and left hand columns don?t respond although now when I do click the contunie button it takes me back to the catalog index page but I am still in the secure mode and neither the right or left columns clicks respond. The only clicks that work are at the top right log off, my account and check out but not cart contents it is still hanging up. It?s not switching out or between the secure and non secure mode. We must be getting close to solving it!

Again here are my settings with the changes:

My catalog configure:

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

define('HTTPS_SERVER', 'https://mysecureorder.net/mysecureurl'); // 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.url.com');

define('HTTPS_COOKIE_DOMAIN', ''https://mysecureorder.net/mysecureurl');

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

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

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

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

define('DIR_FS_CATALOG', '/my/physical/home/catalog/');

My admin configure:

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

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

define('HTTPS_CATALOG_SERVER', 'https://mysecureorder.net/mysecureurl');

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

define('DIR_FS_DOCUMENT_ROOT', '/my/physical/home/'); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs)

define('DIR_WS_ADMIN', '/admin/');

define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN);

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

define('DIR_FS_CATALOG', '/my/physical/home/catalog/');

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

Maybe you will see something I doing wrong!

Thanks again

Posted

this:

define('HTTP_COOKIE_DOMAIN', 'http://www.url.com');

define('HTTPS_COOKIE_DOMAIN', ''https://mysecureorder.net/mysecureurl');

needs to be:

define('HTTP_COOKIE_DOMAIN', 'www.url.com');

define('HTTPS_COOKIE_DOMAIN', 'mysecureorder.net/mysecureurl');

do not place http:// or https:// in the lines

document_root does not end with a / (check your admin/tools/server info and search for document_root), thus the easiest way is to set it to $DOCUMENT_ROOT

Posted
this:

define('HTTP_COOKIE_DOMAIN', 'http://www.url.com');

define('HTTPS_COOKIE_DOMAIN', ''https://mysecureorder.net/mysecureurl');

needs to be:

define('HTTP_COOKIE_DOMAIN', 'www.url.com');

define('HTTPS_COOKIE_DOMAIN', 'mysecureorder.net/mysecureurl');

do not place http:// or https:// in the lines

document_root does not end with a / (check your admin/tools/server info and search for document_root), thus the easiest way is to set it to $DOCUMENT_ROOT

 

 

Thanks John for your advise.

I have made all the suggested changes no http, no trailing / and have re-set all the hard coded lines with the carts original lines as follows:

Catalog added back:

define('DIR_FS_CATALOG', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']));

admin added back:

define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs)

Results: If you don?t log yourself in or create an account but just add something to the cart and proceed to check out it will allow you to do both ?Log and Create? while your going through the order process but once completed and your at ?your order has been processed? your stuck in the secure mode and none of the column clicks works except the contunie button will return you to the carts index page but your limited to only secure mode features like; log off, my account and check out but no cart content.

If you want to try it here is the link.

http://netclubmall.com/catalog_3/

I have set up a test account.

Login: [email protected]

Password: jacobtest

Or create your own!

I have four other urls that need this cart. If we can?t figure this out I?ll need to find a full version of osCommerce 2.2 CVS.

Thanks for your help!

Jacob

Archived

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

×
×
  • Create New...