StandDuPp Posted April 16, 2011 Share Posted April 16, 2011 Hello everybody,I have a big problem with my PrestaShop 1.4 and default theme. When I try to modify quantity in my cart I receive a technical error:TECHNICAL ERROR: Unable to save update quantityDetails:Error thrown: [object XMLHttpRequest]Text status: parsererrorI tried all methods to resolve but the problem persists.Can anyone help me ? I don't know why appear this error and I don't know how to resolve it Please help me.Thanks. Link to comment Share on other sites More sharing options...
StandDuPp Posted April 17, 2011 Author Share Posted April 17, 2011 Nobody ? Link to comment Share on other sites More sharing options...
design1 Posted April 19, 2011 Share Posted April 19, 2011 Hi,I got the same error. Have you find something?Regards Link to comment Share on other sites More sharing options...
StandDuPp Posted April 19, 2011 Author Share Posted April 19, 2011 Nothing nowhere (( Link to comment Share on other sites More sharing options...
design1 Posted April 19, 2011 Share Posted April 19, 2011 I've tried to change my theme and now will try to replace my modules folder.I don't understand from where that error comes:( Link to comment Share on other sites More sharing options...
StandDuPp Posted April 19, 2011 Author Share Posted April 19, 2011 I resolved this error by disable AJAX Cart from modules-> Block Cart, but now same error appear in "Leave a message" in order. Link to comment Share on other sites More sharing options...
design1 Posted April 19, 2011 Share Posted April 19, 2011 I did the same but doesn't look like a solution:(I hope they will have a look to the bug tracker! Link to comment Share on other sites More sharing options...
toto77 Posted April 20, 2011 Share Posted April 20, 2011 Hi!I have the same problem...Did you resolve the problem?Thank you Link to comment Share on other sites More sharing options...
design1 Posted April 20, 2011 Share Posted April 20, 2011 Hi,No I couldn't. A bug tracker was open. They fixed the problem but need to wait the new release:(Bug Tracker Link to comment Share on other sites More sharing options...
toto77 Posted April 20, 2011 Share Posted April 20, 2011 Ok thank youBut it's weird cause in localhost it's ok no problem...Bye Link to comment Share on other sites More sharing options...
design1 Posted April 21, 2011 Share Posted April 21, 2011 I guess it's because of cookies or something like that.Anyway it's well annoying. Link to comment Share on other sites More sharing options...
toto77 Posted April 21, 2011 Share Posted April 21, 2011 Hi!Can i fix it?Or you don't know?Thanks Link to comment Share on other sites More sharing options...
design1 Posted April 21, 2011 Share Posted April 21, 2011 Hi,Sorry they dont say how to fix it.You have to wait the new version... Link to comment Share on other sites More sharing options...
toto77 Posted April 21, 2011 Share Posted April 21, 2011 OkThanks Link to comment Share on other sites More sharing options...
toto77 Posted April 21, 2011 Share Posted April 21, 2011 Hi!I don't have this problem anymore. I resolved another problem and know everything is cool!It's not a prestashop 1.4 issue.Have a nice daySorry i cannot help more... Link to comment Share on other sites More sharing options...
webbuilder Posted May 8, 2011 Share Posted May 8, 2011 Hi,Prestashop version 1.4PhP 5.2 MysqlI'm studing this problem and it happens on the following conditions:1- The url starts with WWW.2- Your cart is empty 3- You are at the home page4- Ajax is activated5- You press the "buy" buttonWhen looking at the console (modzilla) it says something about cart.php... Someone in a forum said its an enviromental problem.I'm desesperatly seeking for a solution (a REAL solution) Link to comment Share on other sites More sharing options...
prestak999 Posted May 8, 2011 Share Posted May 8, 2011 My solution: Open shopping-cart-product-line.tpl, find the line with link for up, down and delete quantity and remove the class and id tag. The images remain but it will work like a direct link without ajax, but you don't have to disable ajax for a rest of e-shop... In the rest of shop ajax works o.k.... Link to comment Share on other sites More sharing options...
ircykk Posted May 10, 2011 Share Posted May 10, 2011 In file /themes/prestashop/js/cart-summary.js in line 30 after $(document).ready(function() { set baseDir = 'http://domain.pl/dir/'; Where 'http://domain.pl/dir/' i base url of your store 2 Link to comment Share on other sites More sharing options...
UKclearancecentre Posted May 11, 2011 Share Posted May 11, 2011 thanks ircykk your fix seems to have sorted the issue, I only spotted the problem while doing a test transaction so it may have been causing issues on my site for a number of weeks since i upgraded to 1.4 last month Link to comment Share on other sites More sharing options...
UKclearancecentre Posted May 12, 2011 Share Posted May 12, 2011 Unfortunately ircykk your fix seems to have broken some other aspect of the website, the googlecheckout and cheque modules no longer work when i add that code, they just return the customer to the my account page and no order is created. If i take your code out then those modules work ok so obviously some other issue to be resolved yet Link to comment Share on other sites More sharing options...
Dasher3000 Posted May 23, 2011 Share Posted May 23, 2011 Hey guys,Check your SSL settings in your configuration database table.This problem began for me when I started implementing my SSL setup.My setup that caused the problem:1. SSL was DISABLED2. SSL URL was NOT THE SAME as my regular NON-SSL URL.So...even though SSL was disabled, the fact that the SSL URL was different from my NON-SSL URL caused this error.Hope that helps!- Dasher Link to comment Share on other sites More sharing options...
djmila Posted May 23, 2011 Share Posted May 23, 2011 I have Solved Link to comment Share on other sites More sharing options...
design1 Posted May 24, 2011 Share Posted May 24, 2011 @Dasher3000: Thank you very much for your answer! I left http:// in front of my SSL URL. That was my problem.Cheers. Link to comment Share on other sites More sharing options...
unitedgroup Posted June 23, 2011 Share Posted June 23, 2011 goto peference seo/urlleave the ssl blankand even try taking off friendly urlseems to fixed the problem for me. 2 Link to comment Share on other sites More sharing options...
pasko Posted August 21, 2011 Share Posted August 21, 2011 goto peference <br/>seo/url<br/><br/><br/>leave the ssl blank<br/>and even try taking off friendly url<br/><br/>seems to fixed the problem for me. Hi, That fixt it for me thanks! I didn't have to take off the friendly url. Link to comment Share on other sites More sharing options...
pahnas Posted September 1, 2011 Share Posted September 1, 2011 thanks a lot. i use only paypal not googl checkout and it seems that is ok Link to comment Share on other sites More sharing options...
swally Posted September 4, 2011 Share Posted September 4, 2011 I have the same problem when the customer tries to change the quantity up or down or delete the item from their cart. I'm still searching for a fix ... please post if you have found one. Thanks Link to comment Share on other sites More sharing options...
swally Posted September 4, 2011 Share Posted September 4, 2011 I have the same problem when the customer tries to change the quantity up or down or delete the item from their cart. I'm still searching for a fix ... please post if you have found one. Bug Tracker says it is a problem with v1.4.3 and will be fixed in the next release. Problem is, I am using v1.4.4.0 and it is not fixed. Thanks Link to comment Share on other sites More sharing options...
swally Posted September 4, 2011 Share Posted September 4, 2011 This may be a fix for you too: In Back Office, in the Preferences tab, select SEO & URLs; at the bottom of the page, make sure your site url and ssl url are the same ... this seems to have worked for me. Link to comment Share on other sites More sharing options...
oberton Posted November 7, 2011 Share Posted November 7, 2011 I experienced the same issue...after trying every settings in performance or whatever I tried what you guys tried (SSL / non SSL equal) and it now works...THANKS!! Link to comment Share on other sites More sharing options...
crius Posted January 5, 2012 Share Posted January 5, 2012 In Back Office, in the Preferences tab, select SEO & URLs; at the bottom of the page, make sure your site url and ssl url are the same ... this seems to have worked for me. THANKS! Link to comment Share on other sites More sharing options...
webplaneta Posted January 18, 2012 Share Posted January 18, 2012 Hello All! I found another possible solution Find function jsonEncode in classes/Tools.php file : public static function jsonEncode($data) { if (function_exists('json_encode')) return json_encode($data); else { include_once(_PS_TOOL_DIR_.'json/json.php'); $pearJson = new Services_JSON(); return $pearJson->encode($data); } } Replace: public static function jsonEncode($data) { include_once(_PS_TOOL_DIR_.'json/json.php'); $pearJson = new Services_JSON(); return $pearJson->encode($data); } It works! 1 Link to comment Share on other sites More sharing options...
citrusuk Posted February 11, 2012 Share Posted February 11, 2012 add following line theme->prestashop->js-> cart-summary.js in $(document).ready(function() baseDir="yoursite.com" Following upgrade to 1.4.7.0 was getting the previously reported error "ERROR: unable to save update quantity" Added baseDir="www.yoursite.com" as Vivek pointed out above, and all working fine now. Had tried ALL other suggestions, but this is only one that worked for me. Thank you Vivek Tripathi for helping with this. Link to comment Share on other sites More sharing options...
regalosbaratitos Posted February 13, 2012 Share Posted February 13, 2012 Following upgrade to 1.4.7.0 was getting the previously reported error "ERROR: unable to save update quantity" Added baseDir="www.yoursite.com" as Vivek pointed out above, and all working fine now. Had tried ALL other suggestions, but this is only one that worked for me. Thank you Vivek Tripathi for helping with this. hello citrusuk is even that was with this problem and have turned off the ssl and ssl but gave the solution to add the url like indicas works without problems..... thank staff Link to comment Share on other sites More sharing options...
Om Creatiom Posted February 29, 2012 Share Posted February 29, 2012 i buy the power color modula but say Bad configuration file Link to comment Share on other sites More sharing options...
KSteele Posted March 10, 2012 Share Posted March 10, 2012 ircykk you are a genius... thank you for posting this fix.... worked like a charm!!! In file /themes/prestashop/js/cart-summary.js in line 30 after $(document).ready(function() { set baseDir = 'http://domain.pl/dir/'; Where 'http://domain.pl/dir/' i base url of your store Link to comment Share on other sites More sharing options...
mrsmith25 Posted March 23, 2012 Share Posted March 23, 2012 anyone found a fix for people who are using google checkout and experiencing this error? in my SEO area, i have the website and ssl address as the same thing. Both are set to mydomain.com. Do I need to set both to https://mydomain.com or something? I don't know what to do. I have SSL and google checkout. No paypal, or any other payment modules. Link to comment Share on other sites More sharing options...
Ahmet Altinisik Posted March 23, 2012 Share Posted March 23, 2012 I found the solution for the version 1.4.7 in the following page: http://customprestshoptemplates.blogspot.com/2012/03/how-to-fix-critical-ssl-bug-in.html Regards, Link to comment Share on other sites More sharing options...
jihasibrahim Posted March 23, 2012 Share Posted March 23, 2012 ops Link to comment Share on other sites More sharing options...
ryanschostag Posted April 3, 2012 Share Posted April 3, 2012 Hello everybody, I have a big problem with my PrestaShop 1.4 and default theme. When I try to modify quantity in my cart I receive a technical error: TECHNICAL ERROR: Unable to save update quantity Details: Error thrown: [object XMLHttpRequest] Text status: parsererror I tried all methods to resolve but the problem persists. Can anyone help me ? I don't know why appear this error and I don't know how to resolve it Please help me. Thanks. When I try to increase or decrease the quanity of a product in the shopping cart, the following error message occurs: TECHNICAL ERROR: unable to save update quantity Details: Error thrown: [object XMLHttpRequest] Text status: error None of the messages I've seen are helping me specifically. Please help me so that my store looks more professional. It's enhancementco.com. Thank you! Link to comment Share on other sites More sharing options...
ryanschostag Posted April 3, 2012 Share Posted April 3, 2012 I found the solution for the version 1.4.7 in the following page: http://customprestsh...ssl-bug-in.html Regards, How do I use this code in the Prestashop template? Also, when I try to increase or decrease the quanity of a product in the shopping cart, the following error message occurs: TECHNICAL ERROR: unable to save update quantity Details: Error thrown: [object XMLHttpRequest] Text status: error None of the messages I've seen are helping me specifically. Please help me so that my store looks more professional. It's enhancementco.com. Thank you! Link to comment Share on other sites More sharing options...
Smiles Posted April 3, 2012 Share Posted April 3, 2012 Get the file with filezilla for example go to /classes/FrontController.php on line #87 Then you can edit the code. Link to comment Share on other sites More sharing options...
Smiles Posted April 3, 2012 Share Posted April 3, 2012 actually 1.4.7.2 did not solved this problem. And now the statistics.php is loaded unsecure. Link to comment Share on other sites More sharing options...
jonnies_z Posted July 8, 2012 Share Posted July 8, 2012 It's a great.. i can fix the problem.. thanks for ircykk Link to comment Share on other sites More sharing options...
mrnutz Posted December 20, 2012 Share Posted December 20, 2012 (edited) Hi, I have updated the cart-summary.js and set the domain name and ssl domain name to be the same, it works BUT now I notice that the overview of products/price on shopping cart page won't update, the shopping cart module does update. Any one who knows how to fix this? Thank you!!! Edited December 20, 2012 by mrnutz (see edit history) Link to comment Share on other sites More sharing options...
stefanops Posted June 20, 2013 Share Posted June 20, 2013 Ho una versione 1.4.7.0 e ho avuto lo stesso problema. Il carrello non si svuotava, nè si potevano sottrarre o eliminare i prodotti. Ho risolto: Preferenze>Seo & Url e verificate di avere lo stesso identico nome (impostazione url) tra nome dominio e nome dominio ssl. Stavo ammattendo e il problema era notevole. Stefanops Link to comment Share on other sites More sharing options...
tobakstop.dk Posted June 26, 2013 Share Posted June 26, 2013 Try putting back the "www." in prefs/ SEO & URLs/domaine name for shop. Link to comment Share on other sites More sharing options...
blueraccoon Posted June 28, 2013 Share Posted June 28, 2013 TECHNICAL ERROR: unable to save update quantity Details: Error thrown: [object Object] Text status: parsererror I receive the above error message when I try to increase the number of products in my cart past the set carrier weight ranges when the following settings are true: Shipping > Carriers > Out-of-range behavior: Disable Carrier If I change the out-of-range behavior setting to "Apply the cost of the highest defined range" then the error does not occur. Anyone else reporting the same issue? Any ideas on how to fix this? Link to comment Share on other sites More sharing options...
Pedro Lima Posted March 4, 2015 Share Posted March 4, 2015 (edited) In file /themes/prestashop/js/cart-summary.js in line 30 after $(document).ready(function(){set baseDir = 'http://domain.pl/dir/';Where 'http://domain.pl/dir/' i base url of your store This solution didn't worked for me... Also, what is really weird is that this only happens sometimes, it doesn't happens all the times. Can someone please give me a help on this one? Website link is http://www.lenteseoculos.pt Thanks a lot! Edited March 4, 2015 by Pedro Lima (see edit history) Link to comment Share on other sites More sharing options...
Emanuel91 Posted March 9, 2015 Share Posted March 9, 2015 i haved same error when I installed a carrier module, after uninstalling everthing was ok. Link to comment Share on other sites More sharing options...
Pedro Lima Posted March 9, 2015 Share Posted March 9, 2015 I actually upgraded Prestashop to v1.6.0.13 and it seems it solved that problem. At least I've made already many tests and had no problems, and customers stopped complaining. Link to comment Share on other sites More sharing options...
Pedro Lima Posted March 27, 2015 Share Posted March 27, 2015 Actually, problem came back again and it only happens with some products, not with all products. Some products I can delete from shopping cart, others not! Link to comment Share on other sites More sharing options...
ahlawat Posted April 8, 2015 Share Posted April 8, 2015 Hi I am having the same problem.. but only with a few products. When a customer tries to delete a product from his shopping cart this error is displayed TECHNICAL ERROR: unable to save update quantity Details: Error thrown: [object Object] Text status: parsererror Someone please help. I am using 1.6version Link to comment Share on other sites More sharing options...
Pedro Lima Posted April 8, 2015 Share Posted April 8, 2015 I also still with same problem and it's very frustrating that nobody cares to solve this... Link to comment Share on other sites More sharing options...
MarkusH Posted May 26, 2015 Share Posted May 26, 2015 For me it was fixed by setting Friendly URL to NO You'll find it from PREFERENCES - SEO & URLs Link to comment Share on other sites More sharing options...
Pedro Lima Posted May 26, 2015 Share Posted May 26, 2015 (edited) SOLVED (for me)In my case, since I'm using Attribute Wizard Pro, I had to do some changes in some files of my theme in order for code to work properly.After those changes, everything is now perfect! EDIT: Those changes were done as per explanation inside Attribute Wizard Pro module. Edited May 26, 2015 by Pedro Lima (see edit history) Link to comment Share on other sites More sharing options...
mikewolfe014 Posted March 8, 2016 Share Posted March 8, 2016 I had the same problem (TECHNICAL ERROR: unable to save update quantity Details: Error thrown: [object Object] Text status: parsererror) and I manage to solve it by setting the Accented URL to NO in Preferences > SEO & URLs. Friendly URL is set to YES, store domain and SSL domain are both the same (www.domain.tld), PrestaShop v.1.6.0.11 Link to comment Share on other sites More sharing options...
CSEpe Posted April 7, 2016 Share Posted April 7, 2016 Disable module Criteo. Worked for me Link to comment Share on other sites More sharing options...
Demen Selcan Posted May 7, 2016 Share Posted May 7, 2016 (edited) Hi, I solved the issue by updating the url in the file "cart-summary.js". To do so, follow the steps below: Backup the file "cart-summary.js" in the folder paths below, before modifying them. HTML —> Themes —> Default —> JS —> cart-summary.js HTML —> Themes —> Home —> JS —> cart-summary.js Search for "basuri" in your file and replace the existing link to the following "baseUri + 'index.php?controller=cart-summary',"(without the quotation marks) Upload both files back to your server and test if it solved the issue (it definitely did in my case). If it did not solve the issue, you might want to upload the originals back to your server. Cheers, Demen Edited May 7, 2016 by Demen Selcan (see edit history) Link to comment Share on other sites More sharing options...
eshopship.com Posted June 8, 2016 Share Posted June 8, 2016 We were not able to delete item from cart. We just disable error reporting in below file and it resolved. PS 1.6 public_html/config/defines.inc.php change @ini_set('display_errors', 'on'); to @ini_set('display_errors', 'off'); Link to comment Share on other sites More sharing options...
it_rafal Posted March 16, 2017 Share Posted March 16, 2017 I have the same problem in the PS 1.6.1.11: TECHNICAL ERROR: unable to save the update quantity Details: Error thrown: [object Object] Text status: parsererror @ini_set ('display_errors', 'off'); did not help what to do? 1 Link to comment Share on other sites More sharing options...
Capou Posted October 11, 2018 Share Posted October 11, 2018 Hello, Same problem with 1.6.1.11, also with new customer want to create new account same error message. TECHNICAL ERROR: unable to save update quantity Details: Error thrown: [object Object] Text status: parsererror Any solution for fix this bug? Thank you. Link to comment Share on other sites More sharing options...
Capou Posted October 11, 2018 Share Posted October 11, 2018 Hello, Same problem with 1.6.1.11, also with new customer want to create new account same error message. TECHNICAL ERROR: unable to save update quantity Details: Error thrown: [object Object] Text status: parsererror Any solution for fix this bug? Thank you. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now