rialni Posted March 10, 2014 Share Posted March 10, 2014 Hi, I've spent the last hours searching through solutions for my problem, but I don't seem to be able to find the correct fix for this. Site is: philippejse(.)dk When you fill in the information to send to a friend on the site, the following error generates: "Your e-mail could not be sent. Please check the e-mail address and try again" I have updated the module to 1.4 and tried all sorts of solutions with sendtofriendextra.tlp etc. Does anyone know of a solution for this issue? Link to comment Share on other sites More sharing options...
tashkas Posted March 10, 2014 Share Posted March 10, 2014 something wrong on your end its working normaly check does your server send at all emails Link to comment Share on other sites More sharing options...
rialni Posted March 10, 2014 Author Share Posted March 10, 2014 Sorry, I'm not sure I understand you? Is it working, when you try it? Server sends all other emails by the way and email test in back office goes through perfectly Link to comment Share on other sites More sharing options...
dioniz Posted March 10, 2014 Share Posted March 10, 2014 Does it work with default theme? Link to comment Share on other sites More sharing options...
rialni Posted March 10, 2014 Author Share Posted March 10, 2014 I don't know, but I haven't changed anything in the module before, so why would it? It is the modified default theme that you see as is I can't activate default theme on this site - it has more than 1000 visitors a day and needs to work 24/7 in best shape. I'm trying to solve this silently Mail is set to PHP in backoffice, could that be the issue? I tried activating SMTP but couldn't get it to work. Link to comment Share on other sites More sharing options...
dioniz Posted March 10, 2014 Share Posted March 10, 2014 Oh ok, didn't know it's live site. Have you tried to reset module after upgrade and cleared cache? Link to comment Share on other sites More sharing options...
rialni Posted March 10, 2014 Author Share Posted March 10, 2014 Oh ok, didn't know it's live site. Have you tried to reset module after upgrade and cleared cache? Yes, I tried that Link to comment Share on other sites More sharing options...
dioniz Posted March 10, 2014 Share Posted March 10, 2014 I can see 2 errors in console: "NetworkError: 404 Not Found - http://philippejse.dk/modules/sendtoafriend/sendtoafriend.js" SyntaxError: missing ; before statement 'hideOnContentClick': true, maybe there is your problem Link to comment Share on other sites More sharing options...
rialni Posted March 10, 2014 Author Share Posted March 10, 2014 How do I fix this? Do you know? Thanks for your assistance. It is highly appreciated Link to comment Share on other sites More sharing options...
dioniz Posted March 10, 2014 Share Posted March 10, 2014 Sorry i don't know how to fix this because first error is related to sendtoafriend.js which is empty anyway but other error is related to product.js line 574 col 22 Link to comment Share on other sites More sharing options...
rialni Posted March 12, 2014 Author Share Posted March 12, 2014 Does anybody have a solution to this issue? It's still the same. Tried all sorts of solutions, but I haven't been able to find one that works Next step, I will have to deactivate the module. Please? Sorry i don't know how to fix this because first error is related to sendtoafriend.js which is empty anyway but other error is related to product.js line 574 col 22 That's ok. Thanks for trying anyway Link to comment Share on other sites More sharing options...
rialni Posted March 12, 2014 Author Share Posted March 12, 2014 Has noone else experienced this issue? Link to comment Share on other sites More sharing options...
rialni Posted March 16, 2014 Author Share Posted March 16, 2014 Remains unsolved - frustrating Link to comment Share on other sites More sharing options...
dioniz Posted March 16, 2014 Share Posted March 16, 2014 Which version of prestashop do you have? Link to comment Share on other sites More sharing options...
rialni Posted March 16, 2014 Author Share Posted March 16, 2014 1.5.6.1 Link to comment Share on other sites More sharing options...
dioniz Posted March 16, 2014 Share Posted March 16, 2014 Can you try and overwrite your sendtoafriend-extra.tpl with this github file from https://github.com/PrestaShop/PrestaShop-1.5/blob/master/modules/sendtoafriend/sendtoafriend-extra.tpl Link to comment Share on other sites More sharing options...
rialni Posted March 16, 2014 Author Share Posted March 16, 2014 Thanks dioniz. I did it last week and unfortunately it didn't help Link to comment Share on other sites More sharing options...
dioniz Posted March 16, 2014 Share Posted March 16, 2014 Can you try something. In file themes/yourtheme/js/product.js on line around 574 you have this code: //$('.thickbox').fancybox({ 'hideOnContentClick': true, 'transitionIn' : 'elastic', 'transitionOut' : 'elastic' }); Can you remove // I dont know if this will help but site is throwing error cause of this. There's lot of tweaking in this file Link to comment Share on other sites More sharing options...
rialni Posted March 17, 2014 Author Share Posted March 17, 2014 That removed the syntax error but other than that, it didn't solve the problem. I really can't figure out what makes this happen. Link to comment Share on other sites More sharing options...
rialni Posted March 23, 2014 Author Share Posted March 23, 2014 I've deactivated the module. But if anyone comes up with a fix for this issue, I'll be very interested to hear about it Thanks Link to comment Share on other sites More sharing options...
inweb Posted March 23, 2014 Share Posted March 23, 2014 Enable it again and I might find out what's wrong there. 1 Link to comment Share on other sites More sharing options...
rialni Posted March 25, 2014 Author Share Posted March 25, 2014 Oh Sorry, I missed your reply I've enabled it now. Hope you can help. Thanks for looking at it Link to comment Share on other sites More sharing options...
inweb Posted March 25, 2014 Share Posted March 25, 2014 There is a problem in moduels/sendtoafriend/sendtoafriend_ajax.php file which is returning 0 instead of 1. However there are a lot of cases when zero is returned. It is hard to debug. Link to comment Share on other sites More sharing options...
rialni Posted March 25, 2014 Author Share Posted March 25, 2014 Hard as in impossible? Do you think you can help, or should I just forget about it? It's not essential, but 'nice to have' Link to comment Share on other sites More sharing options...
inweb Posted March 25, 2014 Share Posted March 25, 2014 (edited) Without an access to that file it is impossible. Edited March 25, 2014 by inweb (see edit history) Link to comment Share on other sites More sharing options...
rialni Posted March 25, 2014 Author Share Posted March 25, 2014 Okay. Thanks, I'll forget about it That's the first issue ever, I haven't solved through this forum Link to comment Share on other sites More sharing options...
Recommended Posts