cchhaass Posted September 5, 2011 Share Posted September 5, 2011 Hi, I'm using prestashop for the last weeks and in the last days an error appeared. Once you go to your cart, if you modify the quantities of the products you selected, the cart doesn't update and the following error appears... See attached. Thanx Link to comment Share on other sites More sharing options...
Pevasch Posted September 6, 2011 Share Posted September 6, 2011 Hi, I have an identical problem. It came up after the Presta site was hacked. My problem is not the +/- error but the login procedure for the guests. After they have filled in the form this message appears: Technical error: Unable to save account Details: Error thrown: (object XMLHttpRequest) Text status: Error Does anyone has a solution for this problem? It's quite urgent as well as I am losing customers!! Many thanks Peter Link to comment Share on other sites More sharing options...
tomerg3 Posted September 7, 2011 Share Posted September 7, 2011 It's hard to tell what is the exact cause of it, but in short, the page is expecting to get a certain Javascript response from an ajax file, and it is not getting it. You can make the following change which should return some sort of error that is the cause of the failure. You will need to find the JS file which makes the ajax call (search in files for "Unable to save account" or the error you have if it's a different one). In this case it's in themes/xxxx/js/order-opc.js You will need to comment one line and add another. Change $.ajax({ type: 'POST', url: callingFile, async: false, cache: false, dataType : "json", data: 'ajax=true&'+params+'&token=' + static_token , success: function(jsonData) { To $.ajax({ type: 'POST', url: callingFile, async: false, cache: false, //dataType : "json", data: 'ajax=true&'+params+'&token=' + static_token , success: function(jsonData) { alert(jsonData); This should display a JS alert with the error. Make sure to turn on error reporting in /config/config.inc.php line #29. Link to comment Share on other sites More sharing options...
cchhaass Posted September 8, 2011 Author Share Posted September 8, 2011 Hi, and can you say what to do to actualise the card and don't have this error alert. Thanx!!! 1 Link to comment Share on other sites More sharing options...
tomerg3 Posted September 8, 2011 Share Posted September 8, 2011 Edit /themes/your_theme/js/cart-summary.js and make a similar change as I posted above. Link to comment Share on other sites More sharing options...
cchhaass Posted September 5, 2012 Author Share Posted September 5, 2012 (edited) Problem solved, just had to empty the fields in SEO & URL. See attach Edited September 5, 2012 by cchhaass (see edit history) 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