X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Random Items Dropping (https://forum.x-cart.com/showthread.php?t=35239)

xcell67 11-06-2007 02:43 PM

Random Items Dropping
 
Hi all,

I recently moved to a VPS from shared hosting and started experiencing this problem:

Customer examples:

Add 4 different items to the cart. Looking at the cart page. Click on a category, a random item drops from the cart, left with 3 items.

Have 2 items in the cart, looking at a product page. Click on add to cart, taken to the cart page but the item wasn't added. Click on back to go back to the product page. Click on add to cart again, this time it adds to the cart.

Have 3 items in cart. Looking at cart page, click on "home" button, random items drops from the cart.


I think you get the picture. This is really confusing me because A. it didn't happen on my shared hosting and I didn't change any files and B. all the situations I described happen at random. It would be easy to pinpoint if i could reproduce the error all of the time.


So I began to look for a solution in the var folder. I have var and all its subfolders set at 777. So that doesn't seem to the be problem. I looked at the error logs, none for php but for env, I get stuff that I think is unrelated:

Code:

-------------------------------------------------
[06-Nov-2007 15:22:38] ENV message:
    Changed options:
        error_reporting = ``0'' (was: ``2039'')
Request URI: /product.php?productid=1945&cat=100&page=
-------------------------------------------------
[06-Nov-2007 15:22:42] ENV message:
    Changed options:
        error_reporting = ``2039'' (was: ``0'')
Request URI: /image.php?id=US2&type=S
-------------------------------------------------



I gave up on the var folder and I looked at config.php:

Code:

# Select the sessions mechanism:
# 1 - PHP sessions data is stored on the file system
# 2 - PHP sessions data is stored on the MySQL database
# 3 - X-Cart internal sessions mechanism is used (highly recommended)
$use_sessions_type = 3;


Does anyone know how xcarts internal sessions mechanism works? Where does it write the sessions to?

Anyway, I changed the session type to 2 and tried to see if the problems would pop up again, and they did.


I'm really stuck here, I've never seen a problem like this. Please help.

balinor 11-06-2007 03:22 PM

Re: Random Items Dropping
 
xcell67, would really help to know what version you are using. This was a bug back in the 4.0.x versions of X-Cart. Can you please add it to your forum signature per the forum guidelines? Thanks!

xcell67 11-06-2007 03:52 PM

Re: Random Items Dropping
 
using 4.1.8

balinor 11-06-2007 03:53 PM

Re: Random Items Dropping
 
Ahhh...well then that bug isn't the issue. Would you mind adding the version to your signature? Thanks!

xcell67 11-06-2007 05:03 PM

Re: Random Items Dropping
 
I do a lot of custom mods to my cart, so the bug might still be there. Do you know the specific 4.0.x setup that described the bug in its changelog.

Vacman 11-06-2007 10:15 PM

Re: Random Items Dropping
 
I will add to this as well. I have noticed that we are experiencing this same issue... BUT I have found that is only seems to happen to people using FireFox. t does not matter if they are running it under Windows or Linux. I can duplicate it under either environment just as easily. I do not seem to experience it under Mac however.

xcell67 11-07-2007 08:24 AM

Re: Random Items Dropping
 
You're lucky Vacman, my problems occur using any browser.

balinor 11-07-2007 08:36 AM

Re: Random Items Dropping
 
Sorry guys, have never seen this issue on the 4.1.8 branch of X-Cart.


All times are GMT -8. The time now is 12:25 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.