coneso Posted April 21, 2015 Share Posted April 21, 2015 Hi everyone,In the middle of configuring PrestaShop I got a two strange errors: - When I try to add product to cart I get following error: Impossible to add the product to the cart.textStatus: 'parsererror'errorThrown: 'SyntaxError: Unexpected token {'responseText:111111111111111111111111111111111111111111{"products":[{"id":412,"link":"http:\/\/ehydraulika.pl\/grzejniki-aluminiowe\/412-fondital-nova-florida-serir-800-grzejnik-aluminiowy.html","quantity":2,"image":"http:\/\/ehydraulika.pl\/906-home_default\/fondital-nova-florida-serir-800-grzejnik-aluminiowy.jpg","image_cart":"http:\/\/ehydraulika.pl\/906-cart_default\/fondital-nova-florida-serir-800-grzejnik-aluminiowy.jpg","priceByLine":"95,00 z\u0142","name":"Fondital Nova Florida Serir Super 800 grzejnik aluminiowy","price":"95,00 z\u0142","price_float":77.24,"idCombination":0,"idAddressDelivery":0,"is_gift":false,"hasAttributes":false,"hasCustomizedDatas":false,"customizedDatas":[]}],"discounts":[],"shippingCost":"0,00 z\u0142","shippingCostFloat":0,"wrappingCost":"0,00 z\u0142","nbTotalProducts":2,"total":"95,00 z\u0142","productTotal":"95,00 z\u0142","freeShipping":"0,00 z\u0142","freeShippingFloat":0,"hasError":false,"crossSelling":"" - I also get some random digits (ones) on the top of the layout. I tried to clean cache, cookies and disable debug. No result. The shop is avalible at http://ehydraulika.pl/ Link to comment Share on other sites More sharing options...
tuk66 Posted April 22, 2015 Share Posted April 22, 2015 Search for 111111111111111111111111111111111111111111 in all your files. Link to comment Share on other sites More sharing options...
coneso Posted April 22, 2015 Author Share Posted April 22, 2015 Done, no results. Funny thing, there are more ones in a row when I have a product in cart Link to comment Share on other sites More sharing options...
tuk66 Posted April 22, 2015 Share Posted April 22, 2015 I can see <nav>111111111111111111111111111111111111111111<div id="header_logo"> in the home page. Link to comment Share on other sites More sharing options...
coneso Posted April 22, 2015 Author Share Posted April 22, 2015 tuk66 already done that, no results: http://ctrlv.in/562487 Strange thing is that when the cart is empty, there is 111111 (6), when there is something in the cart (no mather how many items and products), there is 111111111111111111111111111111111111111111 (42)... I think that it has to be some php or js codes output, but don't know how to find it. Any ideas? Link to comment Share on other sites More sharing options...
tuk66 Posted April 22, 2015 Share Posted April 22, 2015 I can see it. Link to comment Share on other sites More sharing options...
coneso Posted April 23, 2015 Author Share Posted April 23, 2015 Found out that this is caused by blockcart module - after disabling it, the ones are all gone. I've searched for the digits in tpl and php files of this module, no results. Another thing is, that when I go to the cart, the cart block is beign set at 580px and the page is looking strange. Example: http://ehydraulika.pl/szybkie-zakupy 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