VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: jaybird2024 on March 09, 2012, 05:22:12 AM

Title: 12 Item limit - Cart Crash
Post by: jaybird2024 on March 09, 2012, 05:22:12 AM
As soon as you add to cart on the 12th item then the cart goes empty.
Is this a setup issue or a bug?

Thanks

Virtuemart 2
Title: Re: 12 Item limit - Cart Crash
Post by: PRO on March 09, 2012, 12:10:42 PM
its not a bug
Title: Re: 12 Item limit - Cart Crash
Post by: simbus82 on March 09, 2012, 16:04:52 PM
Quote from: BanquetTables.pro on March 09, 2012, 12:10:42 PM
its not a bug

Really? And...?
Title: Re: 12 Item limit - Cart Crash
Post by: PRO on March 09, 2012, 16:25:56 PM
it will have to be something on the server, or a joomla configuration
Title: Re: 12 Item limit - Cart Crash
Post by: Milbo on March 09, 2012, 16:36:59 PM
Use vmdebug and take a look on the used ram peak
Title: Re: 12 Item limit - Cart Crash
Post by: jaybird2024 on March 11, 2012, 16:25:59 PM
 Start of shopping:

        vmdebug self::$_jpConfig->lang en_gb
        vmdebug vmTime: loadConfig db no: 0.00460696220398
        vmdebug Start used Ram 5.5M
        vmdebug vmTime: VirtuemartControllerVirtuemart Finished task : 0.609967947006
        vmdebug End used Ram 10.75M
        vmdebug Peak memory peak 10.75M

At around 8 products it stays at around here:

Message

        vmdebug self::$_jpConfig->lang en_gb
        vmdebug vmTime: loadConfig db no: 0.00447297096252
        vmdebug Start used Ram 5.5M
        vmdebug vmTime: VirtuemartControllerCategory Finished task : 0.335774183273
        vmdebug End used Ram 11M
        vmdebug Peak memory peak 11M



11th product when I hit continue shopping then:

        vmdebug self::$_jpConfig->lang en_gb
        vmdebug vmTime: loadConfig db no: 0.00448417663574
        vmdebug Start used Ram 5.5M
        vmdebug vmTime: VirtuemartControllerCategory Finished task : 0.244910001755
        vmdebug End used Ram 10.75M
        vmdebug Peak memory peak 10.75M


12th product when I hit continue shopping then the cart empties:
Message

        vmdebug self::$_jpConfig->lang en_gb
        vmdebug vmTime: loadConfig db no: 0.00450205802917
        vmdebug Start used Ram 5.5M
        vmdebug vmTime: VirtuemartControllerCategory Finished task : 0.258614063263
        vmdebug End used Ram 10.5M
        vmdebug Peak memory peak 10.5M






Joomla Version 1.7.3
VM 2.02

Hardware/OS:
i686 Linux 2GB RAM

Apache version    1.3.42
MySQL version    5.0.95-community

PHP-INFO:
PHP version    5.2.17
memory_limit (Maximum amount of memory a script may consume) 100MB
max_input_time 50
max_execution_time 60

OK, any suggestions?
Thanks


message modified to give more detailed debug messages.
Title: Re: 12 Item limit - Cart Crash
Post by: deck1187hw on March 13, 2012, 18:14:10 PM
It happens the same here, when I add the 12 product in the cart the cart goes empty with no reason...
Title: Re: 12 Item limit - Cart Crash
Post by: jaybird2024 on March 14, 2012, 19:26:23 PM
Quote from: BanquetTables.pro on March 09, 2012, 16:25:56 PM
it will have to be something on the server, or a joomla configuration

What exactly does it have to do with?
Should these not be server requirements listed before anyone installs?
Title: Re: 12 Item limit - Cart Crash
Post by: jaybird2024 on March 16, 2012, 11:06:42 AM
Please help, this trouble is on a LIVE web site.

I can hardly think it is a server issue, I run many joomla VM sites on my server.

PLEASE - What configs could cause this problem?

How to stop the 12 item  cart crash?

Thanks.
Title: Re: 12 Item limit - Cart Crash
Post by: Urs on March 16, 2012, 11:13:01 AM
Same problem here!

And if i put 17 things in the cart - show cart - only 5 things in there.

regards


Urs
Title: Re: 12 Item limit - Cart Crash
Post by: Sensei2 on March 19, 2012, 12:09:03 PM
I have the same bug. Cannot add more then 5-6 items. Then cart became empty. I noticed, it is happened more when changing category. But in fact no explanation.
Please help, my site http://www.elastotechnic.com/index.php/ru/katalog - you can try to add 7 items! It is a problem!!!
Virtuemart's developers, when this problem will be resolved, will be update soon? I made much work but now all this is not working!!!
Title: Re: 12 Item limit - Cart Crash
Post by: jaybird2024 on March 20, 2012, 19:05:15 PM
Ok time for a rant. I don't usually do this but I have trusted and supported VM for many years, I even made public extensions for it.

Time used to take less than 24 hours to get an issue addressed/fixed in virtuemart.
Ever since VM 2, support has gone downhill, it has been almost 2 weeks since my issue was first posted in this thread.

Why complain about free open-source code and support? TRUST!
Over 900 items in my database and it is upsetting to my client because of lost sales.
Silly me for not testing mass volume orders before trusting virtuemart to be stable and have reliable support.

I am obviously not the only person in need of help on this issue, our clients are loosing money!

VM2 support responses, IF ANY, are now in unintelligible broken English. I am not against international brotherhood/sisterhood but for goodness sake, lets remember what language the forum started in and predominately required by its users! Did we subcontract to foreign support that does not understand basic English?

TYPICAL CURRENT QUESTIONS & REPLIES:
USER: "Feature XYZ does not work, how do I fix it."
NEW DEVELOPER: "Yes, the new version is developed for XYZ feature."
WTF?

WHAT THE HELL HAS HAPPENED TO VIRTUEMART?
This used to be the greatest Joomla Component ever!

At this rate, if LIVE-CART or another top open-source cart ever gets into the Joomla business, VM will be history.

If support is short on help, perhaps a subscription based support is in order? I would gladly pay a small monthly fee of like $5.00 for access to on the spot support. People in the business of installing shopping carts are usually making money, such a small fee would not be a hinder so many would pay.

Ok, my rant and offer to a solution is done.
I really love virtuemart, which is the reason I hate to see it go to crap.


Meanwhile, can someone PLEASE tell us how to fix this cart emptying issue?
Our clients are loosing money and VM is loosing credibility!

Thanks
Title: Re: 12 Item limit - Cart Crash
Post by: PRO on March 22, 2012, 15:39:59 PM
Jaybird,

Have you tried with and without SEF?

Whats the session lifetime set to?

Have you tried to install the site on a development domain and convert to J2.5?

Have you examined it with httpfox?

Have you posted a url in this thread?

Are there any joomla security plugins/components installed?


Besides this thread where there seems to be 2 people with the same problem, I have not heard of this. I cannot reproduce it.
and there has not been a url posted.
Title: Re: 12 Item limit - Cart Crash
Post by: deck1187hw on March 22, 2012, 16:41:18 PM
Quote from: BanquetTables.pro on March 22, 2012, 15:39:59 PM
Jaybird,

Have you tried with and without SEF?

Whats the session lifetime set to?

Have you tried to install the site on a development domain and convert to J2.5?

Have you examined it with httpfox?

Have you posted a url in this thread?

Are there any joomla security plugins/components installed?


Besides this thread where there seems to be 2 people with the same problem, I have not heard of this. I cannot reproduce it.
and there has not been a url posted.


Hi BanquetTables.pro

- I tried in Joomla 1.7 and the latest Joomla 2.5.3
- Session Lifetime is set to 120 mins (database)
- I tried with and without SEF

I don't know if I' wrong but I realize that when a user add an item to the cart, the The user session stores a really big variable. And this multiplied by 11 it's really huge.
Wouldn't be better to add a variable for each article in the cart?

Thank you very much in advance.
Title: Re: 12 Item limit - Cart Crash
Post by: PRO on March 23, 2012, 11:51:37 AM
What do you have set for?
mysql   or mysqli?

Title: Re: 12 Item limit - Cart Crash
Post by: peppiweb on May 07, 2012, 02:48:50 AM
I also have the 12 item problem which is a major issue as the average number of plants ordered is 12. If I add 12 of one product - no problem. But if I go through and order one of 12 different plants anything I click after that clears all items from the cart. This site is live http://www.kapitinursery.co.nz and this issue is a major problem HELP please.

Using Joomla 1.7.5
Virtuemart 2.02   (I did upgrade however found other issues like no Ajax cart pop-up, so reverted)

I'm a long time Virtuemart user (around 5yrs) and have always been a huge fan. It;s been so excellent I've never had to post on this forum before. Sadly VM2 has been something of a nightmare.
Hope you can help
Title: Re: 12 Item limit - Cart Crash
Post by: Milbo on May 07, 2012, 12:42:08 PM
Just update to 2.0.6.

The popup works. There is a new option in the vm config in the tab checkout. Just enable the pop up there. Just the default was not set, please apologize.
Title: Re: 12 Item limit - Cart Crash
Post by: _kuro on July 12, 2012, 01:50:57 AM
I have the problem using joomla 2.5.4 and VM 2.0.6

http://www.clickmarket.com.mx/

I need to know where i have to change the limit of the products . . . Because only can charge 20 !

Please, i need good options without upgrading  :D

Title: Re: 12 Item limit - Cart Crash
Post by: Milbo on July 12, 2012, 10:23:07 AM
When you do not have template overrides, the upgrade is painless, else you can see the changes in the upgrade view.
Title: Re: 12 Item limit - Cart Crash
Post by: _kuro on July 12, 2012, 16:29:28 PM
QuoteWhen you do not have template overrides, the upgrade is painless, else you can see the changes in the upgrade view.

Where' s the upgrade view?
Sorry to ask 'bout this, but i'm a new joomla and virtuemart user.



Title: Re: 12 Item limit - Cart Crash
Post by: jenkinhill on July 12, 2012, 17:28:31 PM
com_virtuemart.2.0.8_layout_changes.zip  - http://dev.virtuemart.net/projects/virtuemart/files
Title: Re: 12 Item limit - Cart Crash
Post by: _kuro on July 12, 2012, 18:28:47 PM
@jenkinhill

Is necessary realize the upgrade?
How many products can i charge to the cart with this upgrade?
Because the client want as minimun 60

Title: Re: 12 Item limit - Cart Crash
Post by: _kuro on July 12, 2012, 21:08:52 PM
Someone know something about my last question?

Please, urgent

Thanks
Title: Re: 12 Item limit - Cart Crash
Post by: _kuro on July 13, 2012, 00:41:58 AM
Good afternoon.

Wich image is related to quantity products at cart?

I can't locate it.

Thanks
VM 2.0.6
Joomla 2.5.4
PHP 5.2.17
Title: Re: 12 Item limit - Cart Crash
Post by: _kuro on July 13, 2012, 02:11:14 AM
i apply the upgrade and the cart erase it in 17 products!
Title: Re: 12 Item limit - Cart Crash
Post by: _kuro on July 13, 2012, 18:35:52 PM
I have a problem with VirtueMart Cart. I can only add up to 20 products, and on number 21 it empties the cart. Is there any way to increase the number of added products?
Please Help!!!!

VM 2.0.6
Joomla 2.5.4

Title: Re: 12 Item limit - Cart Crash
Post by: _kuro on July 13, 2012, 19:04:35 PM
@peppiweb

http://forum.virtuemart.net/index.php?topic=99768.msg330209#msg330209
Title: Re: 12 Item limit - Cart Crash
Post by: robinclapp on July 14, 2012, 05:04:24 AM
I have the same problem.  Too many items added to the cart and it empties.

I followed your thread that suggested that I set the session handler to none.  But if I do that, I can no longer log into the backend as an administrator.  Is that really the solution?

Robin