nevmic Posted May 23, 2007 Posted May 23, 2007 I have a very strange without any logic problem. I have a VPS and have an osc shop set-up without problems (shop 1). Then I installed another shop with its own configuration (shop 2). I have Ultimate SEO contribution installed in both shops meaning that most pages are rewritten using htaccess from .php to .html The problem is this. I go to shop 1. Everything is fine. - If I click on any page with .html (rewritten with htaccess) then website works fine. - If I click on any https pages, website works fine - If I click on any page which ends with .php (example index.php or privacy.php), the categories of shop 1 and changed with categories of shop 2. Products are still of shop 1. If I click on a product page, the categories come back to normal, then I click again on a .php page and categories change to shop 2. Any ideas of what could be wrong? Thanks
nevmic Posted May 23, 2007 Author Posted May 23, 2007 The problem seems to have been solved by changing these: define('HTTP_COOKIE_DOMAIN', 'www.domain.com'); define('HTTPS_COOKIE_DOMAIN', 'wws.domain.com'); to this: define('HTTP_COOKIE_DOMAIN', 'www.domain.com/'); define('HTTPS_COOKIE_DOMAIN', 'wws.domain.com/'); I added / at the end
♥Vger Posted May 23, 2007 Posted May 23, 2007 You did mean to write? define('HTTPS_COOKIE_DOMAIN', 'www.domain.com/'); and not: define('HTTPS_COOKIE_DOMAIN', 'wws.domain.com/'); and the correct place to put the sforward slash is not there, but in http and https_cookie_path e.g. '/' Vger
nevmic Posted May 23, 2007 Author Posted May 23, 2007 You did mean to write?define('HTTPS_COOKIE_DOMAIN', 'www.domain.com/'); and not: define('HTTPS_COOKIE_DOMAIN', 'wws.domain.com/'); and the correct place to put the sforward slash is not there, but in http and https_cookie_path e.g. '/' Vger Thanks for your answer. I agree with you on the http_cookie_path .. in fact I have it there as well however for some reason, when I included the slash at the back as indicated above it seemed to do the trick. I am currently installing another shop to further test this issue and will keep you informed. With regards to the other point. I am using 'wws' instead of 'www' to distinguish between the 2 cookies. If I am wrong, please let me know.
Guest Posted May 23, 2007 Posted May 23, 2007 Thanks for your answer. I agree with you on the http_cookie_path .. in fact I have it there as well however for some reason, when I included the slash at the back as indicated above it seemed to do the trick. I am currently installing another shop to further test this issue and will keep you informed. With regards to the other point. I am using 'wws' instead of 'www' to distinguish between the 2 cookies. If I am wrong, please let me know. Does wws.domain.com get to your website?
nevmic Posted May 23, 2007 Author Posted May 23, 2007 Does wws.domain.com get to your website? yes... it is just a cookie
nevmic Posted May 23, 2007 Author Posted May 23, 2007 wws means nothing, use www Vger ok... thanks . .will change it
Recommended Posts
Archived
This topic is now archived and is closed to further replies.