Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Random Items Dropping

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 11-06-2007, 02:43 PM
 
xcell67 xcell67 is offline
 

Senior Member
  
Join Date: Dec 2003
Posts: 149
 

Default 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.
Reply With Quote
  #2  
Old 11-06-2007, 03:22 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default 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!
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 11-06-2007, 03:52 PM
 
xcell67 xcell67 is offline
 

Senior Member
  
Join Date: Dec 2003
Posts: 149
 

Default Re: Random Items Dropping

using 4.1.8
Reply With Quote
  #4  
Old 11-06-2007, 03:53 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Random Items Dropping

Ahhh...well then that bug isn't the issue. Would you mind adding the version to your signature? Thanks!
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 11-06-2007, 05:03 PM
 
xcell67 xcell67 is offline
 

Senior Member
  
Join Date: Dec 2003
Posts: 149
 

Default 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.
__________________
v 4.1.8
Reply With Quote
  #6  
Old 11-06-2007, 10:15 PM
  Vacman's Avatar 
Vacman Vacman is offline
 

X-Adept
  
Join Date: Sep 2005
Location: Torrance, CA
Posts: 792
 

Default 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.
__________________
Carl Tice

X-Cart 4.6.6
X-Payments 3.0
ReBOOT 3.4.1

PHP 5.6.30
MySQL 5.6.35
Linux 2.6.32-042stab120.18
ionCube PHP Loader v4.7.3
Perl 5.10.1
Reply With Quote
  #7  
Old 11-07-2007, 08:24 AM
 
xcell67 xcell67 is offline
 

Senior Member
  
Join Date: Dec 2003
Posts: 149
 

Default Re: Random Items Dropping

You're lucky Vacman, my problems occur using any browser.
__________________
v 4.1.8
Reply With Quote
  #8  
Old 11-07-2007, 08:36 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Random Items Dropping

Sorry guys, have never seen this issue on the 4.1.8 branch of X-Cart.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 06:21 AM.

   

 
X-Cart forums © 2001-2020