Cannot remove User accounts completely

Author Message

limeelone Lone

Friday 18 June 2004 6:57:34 am

When I try to create a user account, I get the message saying
User account: Login name already exists, please choose another one.

I already removed this user account, but apparently it still lies in the database. Also I see roles still assigned to the users I have removed.

Is this a bug, or am i doing something wrong?

Paul Borgermans

Friday 18 June 2004 8:59:50 am

Maybe a draft still lingers around, or it is still in the trashcan?

-paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Kåre Køhler Høvik

Friday 18 June 2004 9:06:21 am

Which version of eZ publish are you using ?

Kåre Høvik

Piotr Switkowski

Saturday 26 June 2004 3:36:31 am

Hello,
I have exactly same problem. I use version 3.3-4. I checked tables and found, that old users are removed from ezcontentobject, however are not removed from ezuser.

So the question is again: is this a bug or there is some reasons for system acting like this.

Vidar Langseid

Monday 28 June 2004 4:01:57 am

Paul is right.

If you delete a user, it will still be available in "Trash"

You have to remove it from there as well before it will be deleted from the ezuser table.

Terry Grossman

Monday 28 June 2004 11:25:28 pm

I have a user in the trash who "refuses" to be emptied.

The account got there in an odd way -- I was testing my "login" and "register" pages so I first did a login with the account XYZ, then went to the "sign up" (register) page which takes me to user/register

(Note -- I didn't realize that /register functions as a "user profile edit" if a user is logged in. I expected it to always act as a "new user sign up". Any help with that would be appreciated, by the way <grin> )

The fields on the /register page were filled in with the info from the XYZ account. I didn't want to make any changes so I clicked on "Discard" instead of "Publish" which seems to have royally screwed up my database.

That user account got moved to the trash and I'm getting this debug output:

Module start 'user'
Undefined index: EditLanguage in <site> /content/kernel/content/attribute_edit.php on line 60
Object not found

And, as I mentioned, when I try to empty the trash of this user I get
Fatal error: Call to a member function on a non-object in /home/ftkfztae/public_html/content/kernel/content/trash.php on line 64
Fatal error: eZ publish did not finish it's request
The execution of eZ publish was abruptly ended, the debug output is present below.

(NOTE -- No further output is given)

If I try to restore that user I get:

Error / kernel (3)
Object is unavailable
The object you requested is not currently available.
Possible reasons for this is.
The id or name of the object was misspelled, try changing it.
The object is no longer available on the site.

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 31 2025 00:38:26
Script start
Timing: Jan 31 2025 00:38:26
Module start 'layout'
Timing: Jan 31 2025 00:38:26
Module start 'content'
Timing: Jan 31 2025 00:38:27
Module end 'content'
Timing: Jan 31 2025 00:38:27
Script end

Main resources:

Total runtime0.8592 sec
Peak memory usage8,192.0000 KB
Database Queries74

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0052 589.3828151.2266
Module start 'layout' 0.00520.0038 740.6094220.7188
Module start 'content' 0.00910.8494 961.32814,621.2813
Module end 'content' 0.85840.0007 5,582.609415.8281
Script end 0.8591  5,598.4375 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00370.4327160.0002
Check MTime0.00140.1641160.0001
Mysql Total
Database connection0.00070.075910.0007
Mysqli_queries0.766989.2552740.0104
Looping result0.00070.0763720.0000
Template Total0.810794.420.4053
Template load0.00190.226520.0010
Template processing0.808794.125120.4043
Template load and register function0.00140.161910.0014
states
state_id_array0.00150.179410.0015
state_identifier_array0.00100.115920.0005
Override
Cache load0.00170.2004430.0000
Sytem overhead
Fetch class attribute can translate value0.00180.203860.0003
Fetch class attribute name0.00200.235780.0003
XML
Image XML parsing0.00200.238660.0003
class_abstraction
Instantiating content class attribute0.00000.003480.0000
General
dbfile0.00340.3979220.0002
String conversion0.00000.000840.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
6content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
9content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/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: 24
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs