bilma Posted March 7, 2011 Share Posted March 7, 2011 hi,im getting the technical error while clicking the payment option , in update of prestashop1.4.0.15 .TECHNICAL ERROR: unable to save message Details:Error thrown: [object XMLHttpRequest]Text status: errorplease help me... Link to comment Share on other sites More sharing options...
bilma Posted March 28, 2011 Author Share Posted March 28, 2011 the same technical error is appear in the fresh install of prestashop1.4.0.17.1.login using email and password2.added the product to cart3.enter the leave a messagenote: if i type message and then click the tab twice,the error wont appear.but i type the message and click the payment option the alert is displayed as technical errorplease help to solve this.. Link to comment Share on other sites More sharing options...
sbnet Posted March 31, 2011 Share Posted March 31, 2011 I have the same problem.Anyone already fixed this ? Link to comment Share on other sites More sharing options...
Arkhee Posted April 4, 2011 Share Posted April 4, 2011 Hi, same problem here.As far as I saw, running prestashop in debugger, it seems the "error" is triggered when the cursor is still inside the textarea field, and you click on any link that loads another page.If I understood well, the comment is updated dynamically through an ajax call, the call is triggered when the field loses focus. Two results are possible for this call : success and error. It seems the "error" handler is called immediatly when you click on any link that loads another page, even if the comment is being save correctly.For the time being I temporarilly solved the problem by changing the code this way, in themes/[yourtheme]/js/order-opc.jsaround line 610 :Original code : error: function(XMLHttpRequest, textStatus, errorThrown) { alert("TECHNICAL ERROR: unable to save message \n\nDetails:\nError thrown: " + XMLHttpRequest + "\n" + 'Text status: ' + textStatus); } my code : error: function(XMLHttpRequest, textStatus, errorThrown) { if(typeof(errorThrown)!="undefined") { alert("TECHNICAL ERROR: unable to save message \n\nDetails:\nError thrown: " + XMLHttpRequest + "\n" + 'Text status: ' + textStatus); } } when this particular error triggers, the "errorThrown" is "undefined", so I just prevented the alert to be displayed in that case. Link to comment Share on other sites More sharing options...
Baka Posted April 6, 2011 Share Posted April 6, 2011 hi thanx for this tips! Link to comment Share on other sites More sharing options...
sbnet Posted May 10, 2011 Share Posted May 10, 2011 Thank you very much Arkhee ! Link to comment Share on other sites More sharing options...
chup Posted June 7, 2011 Share Posted June 7, 2011 hi Arkhee, in the case, will the message still be send across if u disable the error message? Link to comment Share on other sites More sharing options...
airbag Posted July 4, 2011 Share Posted July 4, 2011 Again, thank you from me. Noticed this error when I turned on HTTPS mode in Firefox... but had not noticed it before.Now works well with your change thanks!Regards Link to comment Share on other sites More sharing options...
baclink Posted July 5, 2011 Share Posted July 5, 2011 Hi,the error appear only when the cursor in inside the text field and you clik on the link for payment. to solve this, you can just bring the "terms of service" tickbox after the 'leave a message".i will try it and let you guys know about the outcome Link to comment Share on other sites More sharing options...
hellotheworld Posted October 15, 2011 Share Posted October 15, 2011 !! Do not change anything before reading THIS post-fix : !! http://forge.prestashop.com/browse/PSCFI-2082 It's a small bug solved in the Presta's theme, but as to be fixed in custom themes. Link to comment Share on other sites More sharing options...
Recommended Posts