thyseus / yii-user-management

a user management module collection for the yii framework
185 stars 122 forks source link

Email Registration Activation not working #32

Open lguilherme opened 12 years ago

lguilherme commented 12 years ago

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?

thyseus commented 12 years ago

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?

lguilherme commented 12 years ago

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.

tricoder42 commented 12 years ago

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

thyseus commented 12 years ago

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

tricoder42 commented 12 years ago

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

waitekk commented 11 years ago

Shouldn't this be closed?

jason-stack commented 11 years ago

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