GeekShop reset password problem

fuad-taufiq

Apr 6th, 2017 09:28 AM

i am using geek shop script and all is going well but i realized then , when user try to reset the password when he forgets , the site freeze and show this problem

Swift_TransportException in StreamBuffer.php line 268: Connection could not be established with host mailtrap.io [Connection refused #111]

devdojo

Apr 8th, 2017 03:42 PM

It may be that you do not have your email settings configured. Are you familiar with how to setup your email with Laravel: https://laravel.com/docs/5.4/mail If not I'm sure I can help you out further.

Thanks. TTYS

stantyan

Apr 8th, 2017 04:41 PM

I'm having the same issue. I tried to follow the provided guide, however, I have no idea where to put this command: composer require guzzlehttp/guzzle

is this thing is required for GeekShop to send emails using Mailgun?

fuad-taufiq

Apr 9th, 2017 03:25 AM

thanks for response Admin actually i am new in programing world so i'll be so glad if i can get help further

It may be that you do not have your email settings configured. Are you familiar with how to setup your email with Laravel: https://laravel.com/docs/5.4/mail If not I'm sure I can help you out further.

Thanks. TTYS

devdojo

Apr 15th, 2017 02:15 PM

You shouldn't have to add the composer require guzzlehttp/guzzle it should already be included.

You guys could always use a Gmail account for sending passwords. Inside of your .env file on your server you should see an entry that looks like this:

MAIL_DRIVER=smtp
MAIL_HOST=mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=
MAIL_PASSWORD=
MAIL_ENCRYPTION=null

Try changing this to your Gmail info like so:

MAIL_DRIVER=smtp    
MAIL_HOST=smtp.gmail.com   
MAIL_PORT=587      
[email protected]
MAIL_PASSWORD=youremailpassword
MAIL_ENCRYPTION=tls

And try out the reset password settings :)

Let me know if that works. Thanks.

andrey-fd

Apr 17th, 2017 03:30 PM

Wasn't my case, but I discovered that DOMDocument class isnt isnt installed yet.

apt-get install php7.0-xml fixed this issue.

tnylea

Apr 17th, 2017 05:14 PM

@Andrey-fd,

Thanks for the solution :)