Jump to content

help: customer login and customer pass recovery stopped working


Recommended Posts

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

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

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

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

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 by chanansh (see edit history)
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...