Switcher icon indicating copy to clipboard operation
Switcher copied to clipboard

Request-URI Too Long

Open davidyv opened this issue 9 years ago • 0 comments

Hi,

My site have too many colors value, I got the following error when "Configure Images":

Request-URI Too Long

The requested URL's length exceeds the capacity limit for this server.

So, I changed the "get" to "post" at 72 line in js/easylife_switcher/adminhtml/system.js:

fillValues: function(url, attributeId, type, submitUrl) {
    var that = this;
    that.currentAttributeId = attributeId;
    that.currentType = type;
    that.submitUrl = submitUrl;
    new Ajax.Request(url, {
        method: 'post',
        parameters: {
            attribute_id: attributeId,
            type: type,
            val: $(that.config.prefix + '_' + that.currentAttributeId + '_' + that.currentType).value
        },

then it work.

Could you please check it out? Thank you so much!

Best regards, David

davidyv avatar Jul 14 '15 02:07 davidyv