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

eZ debug

Timing: Jan 17 2025 22:55:51
Script start
Timing: Jan 17 2025 22:55:51
Module start 'content'
Timing: Jan 17 2025 22:55:51
Module end 'content'
Timing: Jan 17 2025 22:55:51
Script end

Main resources:

Total runtime0.1353 sec
Peak memory usage4,096.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0052 588.8281180.8438
Module start 'content' 0.00520.0072 769.6719110.7109
Module end 'content' 0.01240.1229 880.3828537.8828
Script end 0.1353  1,418.2656 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00352.5538200.0002
Check MTime0.00141.0010200.0001
Mysql Total
Database connection0.00060.449210.0006
Mysqli_queries0.091767.73571410.0007
Looping result0.00120.87591390.0000
Template Total0.122490.410.1224
Template load0.00070.529910.0007
Template processing0.121689.883310.1216
Override
Cache load0.00050.336110.0005
Sytem overhead
Fetch class attribute can translate value0.00080.597110.0008
XML
Image XML parsing0.00030.237110.0003
General
dbfile0.00564.1336200.0003
String conversion0.00000.004630.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs