shopwareDowntown / downtown

With our portal, we want to support local authorities and merchants. We want to connect merchants with closed stores to their customers. And we want to keep in mind, that not every merchant has a sophisticated digital strategy - or even a homepage.
https://github.com/shopwareDowntown/portal/wiki
MIT License
45 stars 29 forks source link

Failed merchant registration #338

Closed Nico-Schaefer-2111 closed 4 years ago

Nico-Schaefer-2111 commented 4 years ago

Hey, I just installed downtown on a Server. Now i tried to register myself as a test merchant. I clicked on the link in the Mail and got the following Error:

Bildschirmfoto 2020-10-06 um 11 12 27

The activation code in the database was set to null, but the merchant was not activatet.

mitelg commented 4 years ago

getenv returns false if the given parameter name does not exist https://www.php.net/manual/en/function.getenv.php

so I guess you need to setup MERCHANT_PORTAL correctly in your .env file

Nico-Schaefer-2111 commented 4 years ago

Ah, perfect. Did not recognize that it has to be put in the .env file. Thanks!

Nico-Schaefer-2111 commented 4 years ago

Ah i just missed out to test the login. So the login directly after that still does not work. The database column active is still set to 0 on this merchant, but there was no error shown.

shyim commented 4 years ago

It will be active when the user has clicked on the mail and the portal owner has activated him