1
jcoleman
Can't delete users from the Admin group
  • 2005/2/24 4:47

  • jcoleman

  • Just popping in

  • Posts: 5

  • Since: 2005/2/24


Hi,

Hope this isn't something covered a bunch of times but several searches didn't get any results.

I need to delete a user from the Administrators group. When I select his name and click delete I am taken to a blank page and the action is not carried out. I have made sure that the user is not a member of Administrators on the user_edit page.

I can delete users from other groups. I have the same problem with IE6 and Firefox1.0.

Am I missing something stupid here?

Thanks,

-jeff

2
jdseymour
Re: Can't delete users from the Admin group

If you are taken to a blank page, turn on php debug to get a view of the error. Post back and we will find a solution.

When you see a blank page that means an error has occured.

See this Faq Page.

3
jcoleman
Re: Can't delete users from the Admin group
  • 2005/2/24 6:19

  • jcoleman

  • Just popping in

  • Posts: 5

  • Since: 2005/2/24


Thanks for the quick response.

I have turned on PHP Debug in the prefs but still get a blank page with no info. Not knowing where to look for the php log, I found the following in /var/log/messages.

Feb 23 22:17:14 gpl httpd: PHP Fatal error: Call to a member function on a non-object in ../html/modules/phpwiki/lib/main.php on line 173
Feb 23 22:17:29 gpl httpd: PHP Parse error: parse error, unexpected '}' in ../html/modules/phpwiki/lib/Template.php(124) : eval()'d code on line 6

The absolute paths are correct.

-jeff

4
jdseymour
Re: Can't delete users from the Admin group

Please edit out your paths to more generic terms, security risk for your site.

Let me do some investigating.

5
jdseymour
Re: Can't delete users from the Admin group

What php and MySQL versions are on your server?

See this Faq Page, strangely similar.

6
jcoleman
Re: Can't delete users from the Admin group
  • 2005/2/24 15:16

  • jcoleman

  • Just popping in

  • Posts: 5

  • Since: 2005/2/24


I have edited my prior post as per your suggestion. Thanks.

We are running:

php-snmp-4.3.10-0
php-imap-4.3.10-0
php-devel-4.3.10-0
php-mysql-4.3.10-0
php-ldap-4.3.10-0
php-4.3.10-0

mysqlclient9-3.23.22-8
mysql-server-3.23.58-1.73
mysql-3.23.58-1.73
mysql-devel-3.23.58-1.73

ZendOptimizer-2.5.7-linux-glibc21-i386 (just upgraded)

I still get a blank page and no delete from admin group. Tried to delete the user but cannot since they are "admin".

I appreciate the help. Any further ideas?

-jeff

7
DonXoop
Re: Can't delete users from the Admin group

Not sure if I can help but the phpwiki module shouldn't be involved with deleting a user. Either that error happens somewhere else or is getting in the way with the delete. Maybe deactivate the wiki and see if things clear up.

Are you trying to delete the user account or just remove the user from the admin group? If trying to delete the account can you first remove them from the group?

You might also try updating the admin group. That usually cleans up other issues but might help here too.

Your PHP/MySQL versions are o.k. but I would suggest updating the mysqlclient at some point. You don't mention the Apache version but I assume that works fine too.

8
jcoleman
Re: Can't delete users from the Admin group
  • 2005/2/24 18:34

  • jcoleman

  • Just popping in

  • Posts: 5

  • Since: 2005/2/24


Quote:

DonXoop wrote:
Not sure if I can help but the phpwiki module shouldn't be involved with deleting a user. Either that error happens somewhere else or is getting in the way with the delete. Maybe deactivate the wiki and see if things clear up.


Will do. Unfortunately the site is busy 100K+ hits a day. The wiki is popular so the timing will be interesting.

BTW, this is the first issue I have had with XOOPS and it is running a busy site. Thanks to all for the great work.

Quote:

Are you trying to delete the user account or just remove the user from the admin group? If trying to delete the account can you first remove them from the group?


Can't delete the user without deleting them from the Admin gorup. Can't delete them from the admin group. Catch 22

Quote:

You might also try updating the admin group. That usually cleans up other issues but might help here too.


Did that. I also created another test group and made this user a member of that test group so he wouldn't be orphaned.

I do appreciate the support here.

My site is http://www.contribs.org and I am looking for a XOOPS guy/gal to help with some maintainence and themeing on an hourly rate basis. If you know someone please feel free to contact me at staff_AT_contribs.org.

Thanks!

-jeff

9
ackbarr
Re: Can't delete users from the Admin group

if you are running 2.0.9+, try adjusting the group membership from the "Edit User" screen: System -> Find Users (search for uname) -> Click on "Edit" for user.

10
jcoleman
Re: Can't delete users from the Admin group
  • 2005/2/24 20:07

  • jcoleman

  • Just popping in

  • Posts: 5

  • Since: 2005/2/24


Ya. Sorry I missed posting that.

He is currently set to ------ but I have also tried explicitly setting him to Moderator status and then attempting to delete him from Admin. No joy.

I have also peeked under the hood with phpmyadmin but I can't fid the appropriate table where group rights are related to userid. Assuming that I can edit the sql files directly, is this a terrible idea?

-jeff

Login

Who's Online

453 user(s) are online (374 user(s) are browsing Support Forums)


Members: 0


Guests: 453


more...

Donat-O-Meter

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

Latest GitHub Commits