Can't create previously deleted user

Author Message

Tim Krah

Wednesday 27 October 2004 1:23:46 am

Hi comunity!

My problem is the following:
Say I have an user named 'Tux' with login 'tux'. Now I delete this user, furthermore remove the user from trash.
I would think all references to this user are now eliminated.
But anyhow I can't create a new user with login 'tux', eZpublish is claiming 'User account: Login name already exists, please choose another one.'

How can it be? I deleted the user and removed the object from trash!?

Am I doing something wrong?

Eduard Sivilla

Thursday 11 November 2004 7:14:39 am

I have the same problem, anybody knows the solution?
thx in advance.

Ole Morten Halvorsen

Thursday 11 November 2004 7:41:40 am

If you are using the latest version of either eZ publish 3.3.x or eZ publish 3.4.x, please file a bug report with as much information as possible.

Ole M.

Senior Software Engineer - Vision with Technology

http://www.visionwt.com
http://www.omh.cc
http://www.twitter.com/omh

eZ Certified Developer
http://ez.no/certification/verify/358441
http://ez.no/certification/verify/272578

Eduard Sivilla

Thursday 11 November 2004 8:18:04 am

My version is 3.2.3, in 3.3.x or 3.4.x this problem is fixed?
Thanks.

Marco Zinn

Friday 12 November 2004 2:32:07 am

Hi,
we had this issue, too, in earlier version. I think, you should upgrade.
Another option would be direct DB manipulation, but this will probably lead to an inconsistent DB:
In the table ezuser_user (or similar), you'll probably find your "tux" user. When you delete it from this table (or just change the login name from "tux" to "tux_old"), ez should be able to create a new "tux" user.
You'll need some MySQL client for this, of course (command line mysql or phpMyAdmin will do fine).

Marco
http://www.hyperroad-design.com

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 19 2025 07:19:55
Script start
Timing: Jan 19 2025 07:19:55
Module start 'layout'
Timing: Jan 19 2025 07:19:55
Module start 'content'
Timing: Jan 19 2025 07:19:56
Module end 'content'
Timing: Jan 19 2025 07:19:56
Script end

Main resources:

Total runtime1.0985 sec
Peak memory usage4,096.0000 KB
Database Queries67

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0054 589.1563152.6250
Module start 'layout' 0.00540.0034 741.781339.4609
Module start 'content' 0.00881.0883 781.2422624.7422
Module end 'content' 1.09710.0013 1,405.984412.1563
Script end 1.0984  1,418.1406 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.3051160.0002
Check MTime0.00140.1235160.0001
Mysql Total
Database connection0.00040.038610.0004
Mysqli_queries1.051195.6857670.0157
Looping result0.00060.0565650.0000
Template Total1.066297.120.5331
Template load0.00220.203720.0011
Template processing1.064096.860520.5320
Template load and register function0.00020.013810.0002
states
state_id_array0.00130.115710.0013
state_identifier_array0.00090.083220.0005
Override
Cache load0.00190.1728260.0001
Sytem overhead
Fetch class attribute can translate value0.00090.086140.0002
Fetch class attribute name0.00120.112260.0002
XML
Image XML parsing0.00100.089840.0002
class_abstraction
Instantiating content class attribute0.00000.001160.0000
General
dbfile0.00080.0729160.0001
String conversion0.00000.000940.0000
Note: percentages do not add up to 100% because some accumulators overlap

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
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 18
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs