yii-user-management icon indicating copy to clipboard operation
yii-user-management copied to clipboard

Email Registration Activation not working

Open lguilherme opened this issue 13 years ago • 7 comments

Hello,

I'm registering and receiving the email to Activate my registration but when I click on the link to activate I get this message:

Activation did not work Profile found, but no associated user. Possible database inconsistency. Please contact the System administrator with this error message, thank you

Can you guys help me please?

lguilherme avatar Aug 25 '12 05:08 lguilherme

Did you activate the profile submodule? This quite rare error message means, that the user you are trying to activate has no profile associated (there is no "profile" with the user_id of the user). Maybe there was an error creating the profile while registering. Could you check this in the database?

thyseus avatar Aug 25 '12 07:08 thyseus

I did all the installation process again to make sure and still not working. The profile submodule is activated and when I register it's sending to my database so it's registered there but I'm not able to activate my account.

But I didn't understand when you say that the user has no profile associated. This means that the admin needs to register the user before?

So I tried to disable the email activation but also the enableActivationConfirmation = false it's not working.

lguilherme avatar Aug 25 '12 17:08 lguilherme

I can confirm this issue. There's new profile in database, but no associated user.

tricoder42 avatar Oct 04 '12 09:10 tricoder42

I pushed a commit that should fix the issue: https://github.com/thyseus/yii-user-management/commit/ff44b0a66d20b058992d2f25155a30acb3fcd164

thyseus avatar Oct 04 '12 09:10 thyseus

Yep, it's working. Great work, thank you.

tricoder42 avatar Oct 04 '12 09:10 tricoder42

Shouldn't this be closed?

waitekk avatar Nov 07 '12 21:11 waitekk

Activation did not work.. I think i am using the newest version.

jason-stack avatar Jul 29 '13 08:07 jason-stack