djpaul Posted March 11, 2012 Share Posted March 11, 2012 Hello, Here again, the last thing didn't resolve the problem. On most systems and browser it's unable to add a product to the basket. Tried in ff, ie, and chrome but it doesn't work. It loads and then when he's done the basket is still empty. Last night i tried with my phone (android mobile safari 4.0) and there it worked, but when i use ff on my android, it doesn't work. How can i found out where this problem is coming from? Prestashop 1.4.7 (test site on www.dj-paul.net) p.s., cleared the cookies, still no effect.. p.s.2 there is 1 product on it (Licht -> Licht effecten & Led -> Led effect) Thanks! Paul Link to comment Share on other sites More sharing options...
jhnstcks Posted March 11, 2012 Share Posted March 11, 2012 I have had this problem on a previous version, and it was solved by uninstalling the cart block, then re-installing it. Link to comment Share on other sites More sharing options...
djpaul Posted March 12, 2012 Author Share Posted March 12, 2012 Well, just tried that. The block looks better now and the ajax works again. But unfotunaly that was not the solution. Still nothing. I will try to add more products, maybe there is something wrong with that product. Let you know! Link to comment Share on other sites More sharing options...
djpaul Posted March 12, 2012 Author Share Posted March 12, 2012 Well, unfortunaly that doesn't work either... If someone has more suggestions, please come! Regards, Paul Link to comment Share on other sites More sharing options...
jimmy622001 Posted March 13, 2012 Share Posted March 13, 2012 I keep having to reset the Ajax in the shopping cart in order to be able to add products to the basket for some reason it keeps on failing and after disabling and enabling ajax again it works again but i am not sure for how long. this has become a daily routine now and i am suspecting something to do with the images on the site so if anybody has found a solution to this bug i would really appreciate some help or pointing me in the right direction. thanks Dimitri [email protected] Link to comment Share on other sites More sharing options...
djpaul Posted March 14, 2012 Author Share Posted March 14, 2012 Well, tried that also, but still nothing. Anybody please? I realy don't know where to start looking and i want this website to be ready soon... Thanks! Regards, Paul Link to comment Share on other sites More sharing options...
shacker Posted March 14, 2012 Share Posted March 14, 2012 hi. DO you get some javascript errors on the console of google chrome? (tools, javascript console) Link to comment Share on other sites More sharing options...
keithwjones Posted March 14, 2012 Share Posted March 14, 2012 http://www.prestashop.com/forums/topic/12617-technical-error-unable-to-add-the-product/ Look at end of thread about changing a file. Keith Link to comment Share on other sites More sharing options...
djpaul Posted March 14, 2012 Author Share Posted March 14, 2012 There where several errors, most of them could find a jquery script. So i checked the files and they where not there. After copying most errors where gone. Now i still have 2 errors: 1. Uncaught TypeError: Object #<Object> has no method 'pngFix' 2. Uncaught TypeError: Object #<Object> has no method 'Tooltip' 3. 4event.layerX and event.layerY are broken and deprecated in WebKit. They will be removed from the engine in the near future. First 2 are not that bad, but i don't know the last one.... Link to comment Share on other sites More sharing options...
shacker Posted March 14, 2012 Share Posted March 14, 2012 last one is normal, is a advert of google chrome. You can remove adding this javascript in the header.tpl <script type="text/javascript">/*<![CDATA[*/(function(){ // remove layerX and layerY var all = $.event.props, len = all.length, res = []; while (len--) { var el = all[len]; if (el != 'layerX' && el != 'layerY') res.push(el); } $.event.props = res; }());/*]]>*/</script> Link to comment Share on other sites More sharing options...
djpaul Posted March 14, 2012 Author Share Posted March 14, 2012 Damnn... I cannot find anything. Just turned of the friendly urls, cleared the cache and cookies... Nothing.. Link to comment Share on other sites More sharing options...
djpaul Posted March 14, 2012 Author Share Posted March 14, 2012 Anybody an idea where to start searching? on my phone (android with mobile safari it works) but all other browsers not... Link to comment Share on other sites More sharing options...
djpaul Posted March 15, 2012 Author Share Posted March 15, 2012 Hello, Can somebody from prestashop maybe help me? I tried everything and did some debugging with firebug. All i get is: http://www.dj-paul.net/cart.php?add=1&ajax=true&id_product=14&qty=1&token=9946d856e89cb648959bb455b1caebb5 add 1 ajax true id_product 14 qty 1 token 9946d856e89cb648959bb455b1caebb5 No further errors or what so ever. Could somebody please assist, i can't go further now... Regards, Paul Link to comment Share on other sites More sharing options...
djpaul Posted May 13, 2012 Author Share Posted May 13, 2012 Problem is solved. deu to the importer for oscommerce. That importer added some fields to the database which had no default value. In this case it went wrong and no field was added... So case closed... thanks for the support!!! Link to comment Share on other sites More sharing options...
shacker Posted May 14, 2012 Share Posted May 14, 2012 perfect! Link to comment Share on other sites More sharing options...
Recommended Posts