Closed (fixed)
Project:
Ubercart
Version:
7.x-3.10
Component:
Orders
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Nov 2017 at 02:15 UTC
Updated:
30 Nov 2017 at 07:49 UTC
Jump to comment: Most recent
When a customer orders many products (like the current one has 149) I cannot edit the order. If i click the delete button next to the product the form submits and returns but nothing changes. Similarly I cannot change the quantity. I get no message and have turned on all error message and nothing. I do not get the 'Order changes saved' either. However, on smaller orders things seem fine.
Any advice?
Thanks
fixed: max_input_vars was too small in php.ini
Comments
Comment #2
ascii122 commentedmax_input_vars was too small in php.ini. DOH!
Comment #3
tr commentedThanks for reporting the fix. Not too many people have 149 line items in their orders!
Comment #4
ascii122 commentedYeah and as soon as I wrote this out I was like.. I wonder and sure enough with so many items it was exceeding max_input_vars. So I felt like an idiot since less than 10 mins after I submitted I figured it out. We're using drupal + uber for businesses to order a lot of stuff but most of them are not that big.
so anyway ... if folk ever have this problem check your php.ini
cheers
Comment #5
ascii122 commentedjust fyi: the default on my system was max_input_vars = 1000 which borked on big orders ..(which is kind of astounding) so I set it to 10000 and things are good