View Issue Details

IDProjectCategoryView StatusLast Update
0000537OXID eShop (all versions)1. ----- eShop frontend -----public2012-12-10 14:38
Reporterwebtools Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionwon't fix 
Product Version4.0.0.2 revision 14842 
Summary0000537: basketitems from foreign shop
DescriptionAfter installing 2 similar Shops (PE4002) on my localhost, i started testing by adding producs into the basket of shop 1.

After Working within shop 2, i was really surprised to see the product from shop 1 within the basket of shop 2.

I am shure that isn`t wanted ;-)

Of course the items can`t be deleted.
TagsNo tags attached.
Theme
BrowserAll
PHP Version5.2.6
Database Version5.0.33

Activities

dainius.bigelis

2009-01-23 16:16

reporter   ~0000394

Reminder sent to: marco_steinhaeuser, webtools

Hi,

I tried the same case, but I cannot reproduce it on my local. It's very strange case and never experienced such before.
Can you please check if both your shops are not using the same database (dbName in config.inc.php), as this may lead to the same data displayed in two different shops.
If there are different databases used, would be good to know more details about this case for further investigation - what browser you used, you worked on the same browser instance (just different tabs), or separate browser instances, on what OS, etc.

Best regards,

webtools

2009-01-24 16:41

reporter   ~0000395

Hi,

of course there are different databases. because there are different products within each shop. Every Shop has it`s own products.

It is a local Installation of xampp: PHP Version 5.2.6, Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
    with Zend Extension Manager v1.2.0, Copyright (c) 2003-2007, by Zend Technologies with Zend Optimizer v3.3.3, Copyright (c) 1998-2007, by Zend Technologies

Browsers: IE 7.0.5730.13
Firefox: 3.0.5

This error seems to be there only if I use several tabs within one (the same) Broswer-Window

dainius.bigelis

2009-02-02 15:22

reporter   ~0000412

Last edited: 2009-02-02 15:22

I cannot reproduce this localy.
For developers: please check from the source code side, if there is such possibility for mixing the articles between different shops.

arvydas_vapsva

2009-02-20 15:48

reporter   ~0000451

the reason is clear - as cookie is set on entire domain and shops are setup on same domain, thay session is "shared" between shop

arvydas_vapsva

2009-02-21 14:20

reporter   ~0000453

Last edited: 2009-02-21 14:23

i think what we currently have is the best solution for most hosts as usually one shop runs on one domain (i'm not speaking about mall). If we, by default, specify full domain and/or folder in cookie we probably will loose automatical cookie handling for such cases as:

www.shop.com => ssl.shop.com
www.shop.com/forum/ (shared cookie) => www.shop.com/shop

but if it is necessary - i recommend to make a module for oxutilsserver::setOxCookie() where you can include domain name and/or path to shop and problem is gone ..

dainius.bigelis

2009-04-03 11:12

reporter   ~0000695

Reminder sent to: webtools

Hi,

As there was no answer for a long time to this post, we are closing this entry as "Won't fix".
Because we cannot implement this in the general source code, as it's needed only in very few cases, but having this - we would loose the flexibility of all eshop.

Best regards,
Dainius Bigelis

dainius.bigelis

2009-04-03 11:13

reporter   ~0000696

We cannot implement suggested solution (what's only needed in few cases) in the general source code, because in this case we would loose the flexibility for all shop.