1
mouacy
admin cannot delete users after upgrading to 2.0.6
  • 2004/2/13 20:16

  • mouacy

  • Not too shy to talk

  • Posts: 138

  • Since: 2002/11/2


I search for "Inactive Users" and try to delete them, but I got this error message:

Admin user cannot be deleted. (User: user1)
Admin user cannot be deleted. (User: user2)
Admin user cannot be deleted. (User: user3)

NOTE: I have replaced usernames with user1-3.

Does anyone have this same probleM
How do I get this to work again?

2
Koreus
Re: admin cannot delete users after upgrading to 2.0.6
  • 2004/2/13 23:53

  • Koreus

  • Just popping in

  • Posts: 29

  • Since: 2003/2/9 2


I have same problem !

And I don't have Admin group.

I have tried on a XOOPS 2.0.6 migrated from a 2.0.5.2
I should test a on fresh XOOPS 2.0.6 but I fear I will have the same problem.

3
Dave_L
Re: admin cannot delete users after upgrading to 2.0.6
  • 2004/2/13 23:59

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7



4
Koreus
Re: admin cannot delete users after upgrading to 2.0.6
  • 2004/2/14 0:21

  • Koreus

  • Just popping in

  • Posts: 29

  • Since: 2003/2/9 2


Thx , I have applied the patch and it works now

5
mouacy
Re: admin cannot delete users after upgrading to 2.0.6
  • 2004/2/18 20:29

  • mouacy

  • Not too shy to talk

  • Posts: 138

  • Since: 2002/11/2


thanks.... it works now

6
rgiord54
Re: admin cannot delete users after upgrading to 2.0.6
  • 2004/2/20 1:23

  • rgiord54

  • Just popping in

  • Posts: 60

  • Since: 2002/4/30


This might sound dumb, but can't get it to work can some put that main.php file so I can download it. It must be me, it is still doing it
Thanks

7
rgiord54
Re: admin cannot delete users after upgrading to 2.0.6
  • 2004/2/20 8:59

  • rgiord54

  • Just popping in

  • Posts: 60

  • Since: 2002/4/30


Can anyone help me on this problem?

8
rgiord54
Re: admin cannot delete users after upgrading to 2.0.6
  • 2004/2/20 22:33

  • rgiord54

  • Just popping in

  • Posts: 60

  • Since: 2002/4/30


Can't anymore help with this, I thought I can get support here

9
mouacy
Re: admin cannot delete users after upgrading to 2.0.6
  • 2004/2/20 23:11

  • mouacy

  • Not too shy to talk

  • Posts: 138

  • Since: 2002/11/2


Look at these lines in the modules/system/admin/users/main.php file on the line indicated (if you haven't made any other changes in this file).
Maybe add the missing line to your mail.php file. If you have already done it and it still don't work. The problem maybe something else.

Quote:



88: case "delete_many_ok":
89: $count = count($memberslist_id);
90: $output = "";
91: $member_handler =& xoops_gethandler('member');
92: for ( $i = 0; $i < $count; $i++ ) {
93: $deluser =& $member_handler->getUser($memberslist_id[$i]);
94: $groups = $deluser->getGroups();
95: if (in_array(XOOPS_GROUP_ADMIN, $groups)) {


10
rgiord54
Re: admin cannot delete users after upgrading to 2.0.6
  • 2004/2/22 9:30

  • rgiord54

  • Just popping in

  • Posts: 60

  • Since: 2002/4/30


Thank You so much, you were the only one that help me. Every time I ask for any help, my post just sits here.

Login

Who's Online

196 user(s) are online (102 user(s) are browsing Support Forums)


Members: 0


Guests: 196


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits