FalsAlarm Posted September 8, 2014 Share Posted September 8, 2014 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? Link to comment Share on other sites More sharing options...
El Patron Posted September 8, 2014 Share Posted September 8, 2014 check the configuration (compatibility of ps with new server) bo-->advanced parms-->configuration many times, when we move hosting, the underlying server may not be set up to run prestashop properly, when we do typical install it tells us the important stuff, so hopefully there we be info on what needs to be fixed from that page. Link to comment Share on other sites More sharing options...
NemoPS Posted September 10, 2014 Share Posted September 10, 2014 You get this as well in the response? Fibernet Corp is a Utah hosting company. ? If so, you need your hosting to get rid of these ads Link to comment Share on other sites More sharing options...
FalsAlarm Posted September 11, 2014 Author Share Posted September 11, 2014 Yes, I beleive the problem is called by the webhosts ads. Fibernet Corp is a Utah hosting company. LOL i'll switch hosts again to see if the issue dissapears 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