Customer Review - Opps something went wrong error

I have just installed the customer review add on and it seems to work OK if Firefox but when I use Explorer 9 it comes up with an error after I submit a product review post.



Error Oops, Something went wrong (error). Please try again.



The review does actually get submitted and I can see in teh back office but it is not acceptable for customers to see this error.



What could be the cause ?? I have cleared the cache and restarted Explorer.



Thanks

Paul

screen2.jpg

Hello Pbraz!



I've noticed it several times as well. Guess it's a CS-Cart bug. I think it's necessary to contact CS-Cart directly, they have to fix it.



Best regards, Alt-team

Same problem for me too in explorer 9, fine in chrome



added to bug tracker



John

I had somebody from CS Cart look at this problem and they fixed it. Not sure exactly what they did but this is their response.





“I have fixed this bug on your server. I changed code in the ajax.js file located in the js directory.”



Paul

[quote name='Pbraz' timestamp='1346672309' post='144176']

I had somebody from CS Cart look at this problem and they fixed it. Not sure exactly what they did but this is their response.





“I have fixed this bug on your server. I changed code in the ajax.js file located in the js directory.”



Paul

[/quote]



Can you ask them what they did? Since they wont know what I am talking about coming from me but from you they will.

All they said was.



“It is a bug in CS-Cart. It will be fixed in our next version.”



I will ask them to post something here.



Paul

This is what I was given by CS Cart Tech Support. Please use at your own risk.



In order to fix this bug you need to replace the following part of code:



in the ajax.js file located in the js directory. If it is not difficult for you, please post it o the forum.

in the ajax.js file located in the js directory. If it is not difficult for you, please post it o the forum.



if (params.obj && params.obj.hasClass('cm-comet')) {

$.ajaxSubmit(params.obj, null, {url: url, result_ids: result_ids});

} else {

if ($.browser.msie) {

// move request params from url

// to params.data

// to fix incorrect support of ajax requests

// with some encodings

var params_data = [];

for (i in params.data) {

params_data.push(i + '=' + params.data[i]);

}

var index = url.indexOf('?');





with this one:





if (params.obj && params.obj.hasClass('cm-comet')) {

$.ajaxSubmit(params.obj, null, {url: url, result_ids: result_ids});

} else {

if ($.browser.msie || true) {

// move request params from url

// to params.data

// to fix incorrect support of ajax requests

// with some encodings

var params_data = [];

params_data.push($.param(params.data));

var index = url.indexOf('?');



in the ajax.js file located in the js directory.

Thanks Paul for doing that I will see if it helps me and report back