Browsing articles in "Development"

Prestashop TECHNICAL ERROR XMLHttpRequest

Nov 29, 2011   //   by admin   //   Development  //  No Comments

A few days ago, i had a trouble with one prestashop installation. It was not possible to add or lower a product quantity in the prestashop summary, but still in the blockcart if not on the summary page.

Each time i got this well known prestashop error message :

TECHNICAL ERROR: unable to save adresses

Details:

Error thrown: [object XMLHttpRequest]

Text status: parsererror

If you google that message you can find a lot of hints of possibles way to fix this error and i hope they could help people to solve their problems.

In my case, none of this patch could fix the problem. In fact, the error was introduced by another module that was printing to screen using “echo” on the extraShoppingCart hook and thus returned when an ajax call was used on cart.php page.

So, if you encounter this problem, you should check if nothing is echoed when calling cart.php execpt what it should be!