StandDuPp 0 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. Share this post Link to post Share on other sites
design1 0 Posted April 19, 2011 Hi,I got the same error. Have you find something?Regards Share this post Link to post Share on other sites
StandDuPp 0 Posted April 19, 2011 Nothing nowhere (( Share this post Link to post Share on other sites
design1 0 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:( Share this post Link to post Share on other sites
StandDuPp 0 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. Share this post Link to post Share on other sites
design1 0 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! Share this post Link to post Share on other sites
toto77 1 Posted April 20, 2011 Hi!I have the same problem...Did you resolve the problem?Thank you Share this post Link to post Share on other sites
design1 0 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 Share this post Link to post Share on other sites
toto77 1 Posted April 20, 2011 Ok thank youBut it's weird cause in localhost it's ok no problem...Bye Share this post Link to post Share on other sites
design1 0 Posted April 21, 2011 I guess it's because of cookies or something like that.Anyway it's well annoying. Share this post Link to post Share on other sites
toto77 1 Posted April 21, 2011 Hi!Can i fix it?Or you don't know?Thanks Share this post Link to post Share on other sites
design1 0 Posted April 21, 2011 Hi,Sorry they dont say how to fix it.You have to wait the new version... Share this post Link to post Share on other sites
toto77 1 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... Share this post Link to post Share on other sites
webbuilder 0 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) Share this post Link to post Share on other sites
prestak999 0 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.... Share this post Link to post Share on other sites
ircykk 8 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 Share this post Link to post Share on other sites
UKclearancecentre 3 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 Share this post Link to post Share on other sites
UKclearancecentre 3 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 Share this post Link to post Share on other sites
Dasher3000 3 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 Share this post Link to post Share on other sites
design1 0 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. Share this post Link to post Share on other sites
unitedgroup 2 Posted June 23, 2011 goto peference seo/urlleave the ssl blankand even try taking off friendly urlseems to fixed the problem for me. 2 Share this post Link to post Share on other sites
pasko 8 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. Share this post Link to post Share on other sites
pahnas 2 Posted September 1, 2011 thanks a lot. i use only paypal not googl checkout and it seems that is ok Share this post Link to post Share on other sites
swally 0 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 Share this post Link to post Share on other sites
swally 0 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 Share this post Link to post Share on other sites
swally 0 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. Share this post Link to post Share on other sites
oberton 7 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!! Share this post Link to post Share on other sites
crius 0 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! Share this post Link to post Share on other sites
webplaneta 0 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 Share this post Link to post Share on other sites
citrusuk 0 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. Share this post Link to post Share on other sites
regalosbaratitos 1 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 Share this post Link to post Share on other sites
Om Creatiom 0 Posted February 29, 2012 i buy the power color modula but say Bad configuration file Share this post Link to post Share on other sites
KSteele 8 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 Share this post Link to post Share on other sites
mrsmith25 0 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. Share this post Link to post Share on other sites
Ahmet Altinisik 0 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, Share this post Link to post Share on other sites
ryanschostag 0 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! Share this post Link to post Share on other sites
ryanschostag 0 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! Share this post Link to post Share on other sites
Smiles 5 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. Share this post Link to post Share on other sites
Smiles 5 Posted April 3, 2012 actually 1.4.7.2 did not solved this problem. And now the statistics.php is loaded unsecure. Share this post Link to post Share on other sites
jonnies_z 5 Posted July 8, 2012 It's a great.. i can fix the problem.. thanks for ircykk Share this post Link to post Share on other sites
mrnutz 0 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) Share this post Link to post Share on other sites
stefanops 0 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 Share this post Link to post Share on other sites
tobakstop.dk 0 Posted June 26, 2013 Try putting back the "www." in prefs/ SEO & URLs/domaine name for shop. Share this post Link to post Share on other sites
blueraccoon 3 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? Share this post Link to post Share on other sites
Pedro Lima 25 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) Share this post Link to post Share on other sites
Emanuel91 1 Posted March 9, 2015 i haved same error when I installed a carrier module, after uninstalling everthing was ok. Share this post Link to post Share on other sites
Pedro Lima 25 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. Share this post Link to post Share on other sites
Pedro Lima 25 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! Share this post Link to post Share on other sites
ahlawat 0 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 Share this post Link to post Share on other sites
Pedro Lima 25 Posted April 8, 2015 I also still with same problem and it's very frustrating that nobody cares to solve this... Share this post Link to post Share on other sites
MarkusH 0 Posted May 26, 2015 For me it was fixed by setting Friendly URL to NO You'll find it from PREFERENCES - SEO & URLs Share this post Link to post Share on other sites
Pedro Lima 25 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) Share this post Link to post Share on other sites
mikewolfe014 0 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 Share this post Link to post Share on other sites
CSEpe 3 Posted April 7, 2016 Disable module Criteo. Worked for me Share this post Link to post Share on other sites
Demen Selcan 0 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) Share this post Link to post Share on other sites
eshopship.com 1 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'); Share this post Link to post Share on other sites
it_rafal 1 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 Share this post Link to post Share on other sites
Capou 0 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. Share this post Link to post Share on other sites
Capou 0 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. Share this post Link to post Share on other sites