Forums / Setup & design / User Register not register?!

User Register not register?!

Author Message

Pierandrea Della Putta

Tuesday 19 April 2011 7:53:13 am

In Ezpublish Community 4.2011, when you try register normal user from font-end site ( normal side ), you are redirect to user/success, but, if you see under "Users/Guest accounts" no one is register!

It is a iussue or it's my error?

Nicolas Pastorino

Tuesday 19 April 2011 10:54:27 am

Hello Pierandrea,

I just tried this on a fresh 4.2011 install, and it seems to works fine for me. Once you filled-out the registration form, the user/success view reads :

Your account was successfully created. An email will be sent to the specified address. 
Follow the instructions in that email to activate your account.

You should have received an email at the address specified upon registration. In my case, i received an email reading the following :

Thank you for registering at localhost/ezpublish_community_project-4.2011-with_ezc/index.php/eng.
Your account information
Username: jeanvoye
Email: nicolas.pastorino+test @ gmail.com

Click the following URL to confirm your account http://localhost/ezpublish_community_project-4.2011-with_ezc/index.php/eng/user/activate/18a13ea5ba06cc24e8a4f20373df26d4

Link to user information:http://localhost/ezpublish_community_project-4.2011-with_ezc/index.php/eng/content/view/full
Thank you for registering at localhost/ezpublish_community_project-4.2011-with_ezc/index.php/eng.
Your account informationUsername: jeanvoyeEmail: nicolas.pastorino+test@gmail.com

Click the following URL to confirm your accounthttp://localhost/ezpublish_community_project-4.2011-with_ezc/index.php/eng/user/activate/18a13ea5ba06cc24e8a4f20373df26d4

Link to user information:http://localhost/ezpublish_community_project-4.2011-with_ezc/index.php/eng/content/view/full

At this point in time, no user object is published yet, which explains why you do not see it in the content tree. When clicking the user/activate/.. link, publication occurs, and the user object is then visible in the content tree.

In case you did not receive the registration email, you may want to have a look in your junk mail folder.

Let us know how things go,
Cheers,

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye

Pierandrea Della Putta

Tuesday 19 April 2011 10:46:52 pm

Thanks for your reply. My problem occurred when I upgraded an installation of z 4.4. Even if I click the email link, no object is created. Anyway, somewhere in the object is created, because if I try again to re-register with the same user or with the same mail, tells me that someone already has that user or the mail.

Marko Žmak

Tuesday 19 April 2011 11:33:54 pm

Hm, maybe the user is created in another group and not in "Users/Guest accounts"? Try doing a search (in the admin interface) for this registered user's username or email address and see what you get.

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

Pierandrea Della Putta

Tuesday 19 April 2011 11:48:14 pm

Already tried, no object is found.
Actually I removed the override of the user registration and clicking on the link of the email the user is created. But I have to customize the registration, to register under a given group with the class that I will

Nicolas Pastorino

Wednesday 20 April 2011 1:06:44 am

"

Actually I removed the override of the user registration and clicking on the link of the email the user is created.

"

Had you copied and pasted the content of the original template ? The business logic should be the same to function correctly.

Cheers,

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye

Chen Xiongjie

Wednesday 20 April 2011 5:13:04 am

Hi,

Is it related to this? https://github.com/ezsystems/ezpublish/blob/master/doc/bc/4.5/changes-4.5.0.txt

"User object is not created until the user activates the account if activation is enabled."

eZ Comments: http://projects.ez.no/ezcomments
twitter: http://twitter.com/xiongjie

Pierandrea Della Putta

Wednesday 20 April 2011 5:26:54 am

Ok, the problem seems solved when you activate your account through the mail and GeneratePasswordIfEmpty= false, at least in my case!
Thank you all for your support!

Marko Žmak

Wednesday 20 April 2011 5:37:05 am

"

Hi,

Is it related to this? https://github.com/ezsystems/ezpublish/blob/master/doc/bc/4.5/changes-4.5.0.txt

"User object is not created until the user activates the account if activation is enabled."

"

Hm, this bring up another question... What about this scenario:

  • the user registers but he doesn't get the activation mail (because of some error or similar)
  • the user then contacts the site administrator to help him

The site administrator wants to acitvate the user manually, but he cannot because the user object is not yet published.

So what would be the solution for this problem?

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

Chen Xiongjie

Tuesday 26 April 2011 7:16:01 am

@Marko, he can go to admin user interface and in 'my draft' link of dashboard tab, he will be able to see the draft. He can just publish those object and enable it.

eZ Comments: http://projects.ez.no/ezcomments
twitter: http://twitter.com/xiongjie

Marko Žmak

Tuesday 26 April 2011 7:47:24 am

"

@Marko, he can go to admin user interface and in 'my draft' link of dashboard tab, he will be able to see the draft. He can just publish those object and enable it.

"

Which user(s) will see the draft in his "my draft"?

And how can this (the user that sees this draft) be configured?

EDIT: OK I found it:

  • http://doc.ez.no/eZ-Publish/User-manual/4.5/The-administration-interface/The-login-page/User-registration-with-approval-workflow

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth