I recently switched webhosting providers and I reinstalled PrestaShop on my new webhost and pointed my domains nameservers to the new host. Lucky it's already resolving to the new host.
However I noticed when I tried to add an item to my cart, I receive the following error message.
Impossible to add the product to the cart. textStatus: 'parsererror' errorThrown: 'SyntaxError: Unexpected token <' responseText: {"products":[{"id":8,"link":"http:\/\/canadeals.com\/en\/women-dg-sunglasses\/8-women-s-dg-sunglasses-style-dg-0001.html","quantity":1,"image":"http:\/\/canadeals.com\/24-home_default\/women-s-dg-sunglasses-style-dg-0001.jpg","image_cart":"http:\/\/canadeals.com\/24-cart_default\/women-s-dg-sunglasses-style-dg-0001.jpg","priceByLine":"CAD$5.00","name":"Women's DG Sunglasses style DG-0001","price":"CAD$5.00","price_float":5,"idCombination":0,"idAddressDelivery":0,"is_gift":false,"hasAttributes":false,"hasCustomizedDatas":false,"customizedDatas":[]},{"id":9,"link":"http:\/\/canadeals.com\/en\/mens-dg-sunglasses\/9-men-s-x-loop-sunglasses-style-x-0001.html","quantity":2,"image":"http:\/\/canadeals.com\/25-home_default\/men-s-x-loop-sunglasses-style-x-0001.jpg","image_cart":"http:\/\/canadeals.com\/25-cart_default\/men-s-x-loop-sunglasses-style-x-0001.jpg","priceByLine":"CAD$10.00","name":"Men's X-Loop Sunglasses style X-0001","price":"CAD$10.00","price_float":10,"idCombination":0,"idAddressDelivery":0,"is_gift":false,"hasAttributes":false,"hasCustomizedDatas":false,"customizedDatas":[]}],"discounts":[],"shippingCost":"CAD$2.00","shippingCostFloat":2,"wrappingCost":"CAD$0.00","nbTotalProducts":3,"total":"CAD$17.00","productTotal":"CAD$15.00","freeShipping":"CAD$0.00","freeShippingFloat":0,"hasError":false,"crossSelling":""}
Fibernet Corp is a Utah hosting company.
Does anyone know why i'm receiving this error message instead of adding the product to the cart?