there's a fairly major problem with the active user list. it displays active users who have been deleted. have attached a grab to show u problem.
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | admin_menu-DRUPAL-6--3.user-delete.patch | 716 bytes | sun |
| grab.gif | 22.74 KB | gamsim |
Comments
Comment #1
sunActually, I think this is a Devel module issue - Devel should clear the menu cache whenever a user is deleted, I guess. Not sure though.
Comment #2
Anonymous (not verified) commentedI've noticed this problem as well. Should we move this to the Devel issue queue?
Comment #3
sunBefore we move this issue, we ensure that above assumption is actually valid: Enable Devel's switch user block, create a user, make sure the new user appears in the block, delete the user, make sure that user no longer shows up in the block.
Comment #4
Anonymous (not verified) commentedAh, maybe not... The new user appeared in the block, was still there when I blocked them, but was removed when I deleted them.
Comment #5
Anonymous (not verified) commentedI just installed Admin Menu on my test site to see if the previously deleted user still appeared - they didn't; so far so good.
I then deleted another existing user. They disappeared from the Devel's Switch User block, but still appear in Admin Menu's Switch Users...
Comment #6
sunDid you verify that this issue still exists in the latest 3.x-dev?
Comment #7
Anonymous (not verified) commentedHmm, can't tell if it works or not, latest 6.x-3.x-dev is buggy (22nd June). I'm getting messed up links and the 'switch users' drop-down only shows
<...EDIT: And that's after I hide this error:
Comment #8
sunPlease test attached patch.
Comment #9
Anonymous (not verified) commentedPatching 3.0-alpha1 didn't do anything (users still appear after being deleted).
3.x-dev a bit more stable now, seems to work fine without patch...
Comment #10
kenorb commentedThe same problem:
Comment #11
sunWell, if the issue does not exist in 3.x-dev, then I'll close this issue.
@kenorb: Update your Devel module and this error will vanish. Offtopic for this issue though.
Comment #12
Berliner-dupe commentedSorry for reopen this Issue but i have the same problem.
Deleted User will be show in active user-list.
I have installed the newest version from Admin-Menu and from Devel.
The patch from #8 dont help too.
Has anyone an idea to fix this problem?
Regards Matthias
Comment #13
ericpai commentedI'm having the same issue with version 6.x-1.6.
Comment #14
bassplaya commentedFirst I thought it was the user.module's problem but then I saw it had to do with Admin menu module so I moved my written issue here at the correct place. I'm no hero, nor expert. I get the message as below:
warning: array_fill() [function.array-fill]: Number of elements must be positive in mydomain/includes/database.inc on line 253.
warning: implode() [function.implode]: Invalid arguments passed in mydomain/includes/database.inc on line 253.
warning: array_keys() [function.array-keys]: The first argument should be an array in mydomain/modules/user/user.module on line 515.
user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1 query: SELECT p.perm FROM role r INNER JOIN permission p ON p.rid = r.rid WHERE r.rid IN () in mydomain/modules/user/user.module on line 515.
The user was deleted by going to admin/user/user selecting the user and deleting the user through the update options.
I've tried to reproduce this again to be sure what I'm writing here and indeed it gives this same error again but the database has deleted them correctly.
Hope my information helped. I love administration menu module! So much for my contribution to a module :(
Comment #15
yadranko commentedSame problem for me too: version 6.x-1.6
Comment #16
rootlinux commentedI have the same problem...wondering if there any solution to this issue?
Comment #17
ericpai commentedSame problem here also. Drupal version 6.20.
I did a search in the menu_links table for
And came up with around 200 users that don't exist in my users database.
Comment #18
yesct commentedsub
Comment #19
sunThis is one of the many flaws that the architecture of 6.x-1.x leads to. Can't be resolved in 6.x-1.x.