We have some products that have tons of options and are getting the following error popup in cs-cart:
Oops, something went wrong (Request-URI Too Large). Please try again.
How to fix or increase URI limit. Is there a cs-cart setting for this? Server setting?
martfox
February 23, 2017, 12:00am
2
We have some products that have tons of options and are getting the following error popup in cs-cart:
Oops, something went wrong (Request-URI Too Large). Please try again.
How to fix or increase URI limit. Is there a cs-cart setting for this? Server setting?
Inside Apache settings, the limit is a configurable value, "LimitRequestLine". Increase this value to something larger.
I had this show up aftet I had a custom addon created for my options and applied global options to many.
I increased the values on server, but didnt help. In the end the developer changed hi addon, and from what I can gather, there was a reason to use a different request other than other than "GET" or " POST" but I dont know exactly which.
John
martfox
February 23, 2017, 12:00am
4
That's right, because the GET method has a length limit of 255 chars and the GET request has the url and parameters in one string and then sends null.
http.open("GET", url+"?"+params, true);
http.send(null);
the POST request sends the url and the parameters in separate commands
http.open("POST", url, true);
http.send(params);
Yes. We had an option mod made also. They used get and obviously should of used post.
Sent from my iPhone using Tapatalk