Forums / Setup & design / Cannot remove User accounts completely

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.

eZ debug

Timing: Jan 18 2025 11:02:42
Script start
Timing: Jan 18 2025 11:02:42
Module start 'content'
Timing: Jan 18 2025 11:02:43
Module end 'content'
Timing: Jan 18 2025 11:02:44
Script end

Main resources:

Total runtime1.4047 sec
Peak memory usage4,096.0000 KB
Database Queries211

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0068 588.9453180.8281
Module start 'content' 0.00681.2488 769.7734718.9141
Module end 'content' 1.25560.1490 1,488.6875336.4453
Script end 1.4045  1,825.1328 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00420.3006210.0002
Check MTime0.00160.1165210.0001
Mysql Total
Database connection0.00110.079510.0011
Mysqli_queries1.307393.06782110.0062
Looping result0.00210.15252090.0000
Template Total1.370597.620.6853
Template load0.00220.156320.0011
Template processing1.368397.412020.6842
Template load and register function0.00050.036410.0005
states
state_id_array0.00190.134810.0019
state_identifier_array0.00070.049820.0003
Override
Cache load0.00180.1315430.0000
Sytem overhead
Fetch class attribute can translate value0.00160.112370.0002
Fetch class attribute name0.00130.093480.0002
XML
Image XML parsing0.00190.137570.0003
class_abstraction
Instantiating content class attribute0.00000.001280.0000
General
dbfile0.00780.5542330.0002
String conversion0.00000.000430.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
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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 24
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs