musicmaster Posted October 29, 2012 Share Posted October 29, 2012 (edited) I am using a modified Likaweb Prestashop_new2 theme. Things worked ok after the update to 1.5.2 but seemed not totally stable so I decided to replace a few files with the PS 1.5.2 originals. This concerned order-address.js, order-opc.js, order-opc.ptpl and order-opc-new-account.tpl. On my test computer this worked fine but on my production computer this led to a Javascript error. So I switched the files back. Unfortunately the Javascript error stayed. Switching off all caching didn't help. The error starts as follows: Impossible to add the product to the cart.textStatus: 'parsererror'errorThrown: 'SyntaxError: JSON.parse: unexpected character'responseText:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="nl"><head> What follows looks like the html code of a complete page. See also the attached image. For the moment I have switched off the Ajax functionality of my webshop but I would like to find a real solution. BTW: with AJAX enabled the product is added internally to the cart, but you don't see it nor the animation and you need to refresh the page to see that it was added. Edited October 30, 2012 by musicmaster (see edit history) Link to comment Share on other sites More sharing options...
w3bsolutions Posted April 1, 2013 Share Posted April 1, 2013 Hi! Same thing happens to me... how did you solve it? TIA Link to comment Share on other sites More sharing options...
yaniv14 Posted April 1, 2013 Share Posted April 1, 2013 can you post a link to your site? Link to comment Share on other sites More sharing options...
w3bsolutions Posted April 1, 2013 Share Posted April 1, 2013 Got it solved already removing my custom index.html. Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts