chanansh Posted July 30, 2013 Share Posted July 30, 2013 I have prepared a shop a month ago. Everything worked fine. Now I wanted to open it and suddenly the customer login/password reset fails. url: www.yogly.co.il It is urgent so I will appreciate your help. Hanan Using latest prestashop 1.5.4.1 Link to comment Share on other sites More sharing options...
AppleEater Posted July 31, 2013 Share Posted July 31, 2013 www.inmotionhosting.com/support/edu/prestashop-15/308-password-change-via-database www.prestashop.com/forums/topic/233195-new-better-way-to-reset-admin-password-prestashop-15-too/ Link to comment Share on other sites More sharing options...
chanansh Posted August 2, 2013 Author Share Posted August 2, 2013 Hi PrestaShop Apprentice, you suggestion is not relevant. My problem is that CUSTOMERS cannot recover their password Does anybody know how do I fix this? Link to comment Share on other sites More sharing options...
yaniv14 Posted August 2, 2013 Share Posted August 2, 2013 It seems that the problem is with you email configuration in BO. check if you are getting emails from contact page and also you can test emails sending in BO. Also you have many parts in your site that are not align right to left. If you need help fixing it just ask. Link to comment Share on other sites More sharing options...
chanansh Posted August 2, 2013 Author Share Posted August 2, 2013 Hi Yaniv, I am able to send emails from BO when press the send mail button. I am trying to debug the Swift Package php I don't understand why is there a bug there but it is in at /tools/swift/Swift/Plugin/MailSend.php line 160. Thank you for your comment about the alignment and your offer to help. Actually I followed a bit of the posting here on RTL and I changed some CSS. Can you help me make my website look better? I would be glad. Thanks. Hanan. Link to comment Share on other sites More sharing options...
yaniv14 Posted August 2, 2013 Share Posted August 2, 2013 I will do my best. Check if this will help http://www.presto-changeo.com/en/content/9-fix-email-problems If not I recommend changing you mail server to gmail just to see if the problem is with prestashop or in your mail server Link to comment Share on other sites More sharing options...
chanansh Posted August 2, 2013 Author Share Posted August 2, 2013 I found that the error happens in under /tools/swift/Swift/Plugin/MailSend.php line 160 due to the $subject variable which is in MIME code: =?utf-8?Q?[Yogly]=D7=90=D7=99=D7=A9=D7=95=D7=A8?= =?utf-8?Q?=D7=90=D7=99=D7=A4=D7=95=D7=A1?= =?utf-8?Q?=D7=A1=D7=99=D7=A1=D7=9E=D7=90-?= =?utf-8?Q?_=D7=90=D7=AA=D7=A8_Yogly?= If I convert it with MIME decoder I get a healthy string in Hebrew [Yogly] אישור איפוס סיסמא - אתר Yogly If I change $subject to "subject" sending the mail works. Link to comment Share on other sites More sharing options...
chanansh Posted August 2, 2013 Author Share Posted August 2, 2013 Hi Yaniv, I already checked the solution you have proposed above but it didn't work. Something is either wrong with the subject variable or with GoDaddy mailing php server Link to comment Share on other sites More sharing options...
chanansh Posted August 2, 2013 Author Share Posted August 2, 2013 (edited) Solved! (I think it is a patch more than a solution, but still, it works) In /tools/swift/Swift/Plugin/MailSend.php line 136: //$subject_enc = $message->headers->has("Subject") ? $message->headers->getEncoded("Subject") : ""; $subject_enc = mb_encode_mimeheader($subject_orig, 'UTF-8', "B","\0"); Edited August 2, 2013 by chanansh (see edit history) 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