I have been playing with OSC and OSCMAX for a bit now. Love it really but now I am lost. I have a fresh install of OSCMAX 1.7. I have also installed a templateshopper template. Everything works great except login/off/sessions. All the variables appear fine. I am on a shared cert too. Here is the quick version:
My domian is http://www.domain.com/catalog
The Secure domain is at https://secure4.hostcompany.com/~username/catalog
When I navigate to 'MyAccount" or try to write a review, it goes to the secure site. When I login it sometimes works and shows the account info and shows the logoff button, but most the time it tries to go to the index page and gets a 404 error. It stays at the secure path but appends the nonssl path. So it goes from
https://secure4.hostcompany.com/~use...alog/login.php
to https://secure4.hostcompany.com/catalog/index.php
It sees to drop the ~username but fails to redirect to the nonssl root. Again, now and then it will work. Can't find a reason.
THEN, when I am logged in if I go to a category the logoff disappears and I will be required to login again!
AND if I am logged in and use the logoff it says I have logged of but then if I hit continue it shows the logoff button again and I am still in.
HELP PLEASE!
Here are my settings:
define('HTTP_SERVER', 'http://www.domain.com'); // eg, http://localhost - should not be empty for productive servers
define('HTTPS_SERVER', 'https://secure.hostcompany.com'); // eg, https://localhost - should not be empty for productive servers
define('ENABLE_SSL', true); // secure webserver for checkout procedure?
define('HTTP_COOKIE_DOMAIN', 'www. domain.com');
define('HTTPS_COOKIE_DOMAIN', 'www. domain.com');
define('HTTP_COOKIE_PATH', '/catalog/');
define('HTTPS_COOKIE_PATH', '/catalog/');
define('DIR_WS_HTTP_CATALOG', '/catalog/');
define('DIR_WS_HTTPS_CATALOG', '/~username/catalog/');
razz





LinkBack URL
About LinkBacks










Bookmarks