Forums / General / Registration process running twice?

Registration process running twice?

Author Message

Gabriel Finkelstein

Friday 09 April 2010 12:35:26 pm

I'm having problems solving this since it has happened only a couple of times and I cannot reproduce it, and it's driving me crazy. I don't know what causes it, but the consequences are the following:

When a user registers, a single object is created but:
- it has 2 main nodes
- it's name is "," (the pattern is "<last_name>,<first_name>" )
- the registrationinfo mail is sent twice (the second time having all object attributes empty, except for an ezidentifier attribute).
- the contentobjectedithandler is triggered twice (the second time also object attributes are empty when fetching the data map)
- the content-publish-after event is triggered twice.

About 600 users have registered without problems, and around 7 had this problem.
I have no errors nor warnings in my logs (except "There are more then one main_node for objectID" ).
I'm running ez 4.1.3 on Debian, with PHP 4.2.6 and MySql 5, with the following extensions: birthday, regexpline and place_users.

Does anyone have any idea about what might be causing this?

Bruce Morrison

Friday 09 April 2010 7:52:41 pm

Hi Gabriel

Is is possible the user is refreshing the page before it completes?

Cheers
Bruce

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish

Gabriel Finkelstein

Monday 12 April 2010 10:47:54 am

It is possible, but I tried to do the same or even submit the form twice, and I can't replicate the problem. Still, I suppose eZ Publish is prepared for those situations.

Lars Eirik R

Tuesday 14 December 2010 12:31:13 am

Did you resolve this problem of yours Gabriel?

We are currently having some of the same issues on a project of ours. It does not happen to all users, but somehow the same thing happens here.

Our submission is triggered by a javascript but that should not matter?.

Any ideas guys on why this happens (apart from the case that someone clicks the refresh button.)

eZ debug

Timing: Jan 17 2025 23:38:55
Script start
Timing: Jan 17 2025 23:38:55
Module start 'content'
Timing: Jan 17 2025 23:38:56
Module end 'content'
Timing: Jan 17 2025 23:38:56
Script end

Main resources:

Total runtime0.8451 sec
Peak memory usage4,096.0000 KB
Database Queries199

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0070 588.8281180.8359
Module start 'content' 0.00700.6623 769.6641600.1563
Module end 'content' 0.66930.1757 1,369.8203337.3750
Script end 0.8450  1,707.1953 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00440.5234210.0002
Check MTime0.00150.1833210.0001
Mysql Total
Database connection0.00080.096710.0008
Mysqli_queries0.758989.80761990.0038
Looping result0.00290.34471970.0000
Template Total0.818596.920.4093
Template load0.00200.239120.0010
Template processing0.816596.616920.4082
Template load and register function0.00010.015910.0001
states
state_id_array0.00070.078210.0007
state_identifier_array0.00070.086420.0004
Override
Cache load0.00170.2050300.0001
Sytem overhead
Fetch class attribute can translate value0.00290.341440.0007
Fetch class attribute name0.00120.144070.0002
XML
Image XML parsing0.00170.197340.0004
class_abstraction
Instantiating content class attribute0.00000.002380.0000
General
dbfile0.00290.3373390.0001
String conversion0.00000.001030.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
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
4content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 20
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs