Users never delete - stuck there

Get help from the community here.

Moderator: Developers

Users never delete - stuck there

Postby JHS » Thu Jul 26, 2012 3:31 am

GO version 4.0.74
in the process of trying to make new users appear (a different thread, a different issue) I tried deleting a user we didn't need to keep in the system. I thought perhaps deleting an earlier-created user might "pop" the next non-showing user into view on the Calendar. Not only did that fail to work.. it failed to ever actually remove the user from the Calendar system. Here was the series of steps I tried to make the user go away and where I ended up finding that the user still actually exists..

I logged in as a correctly working user account "A" in one browser, and as the Admin user in another browser.
I deleted user "X" using the Admin "Users" tab.
Refreshing Admin screen, the user no longer appears in the Users tab.

On user A account login I...
1 - Used the GO Refresh button to re-draw the screen. The Deleted user "X" still showed up in the list of Calendar users
2 - Used the web browser refresh button, and the deleted user still shows up
3 - Closed the browser and cleared that browser cache of everything, logged back in, and Deleted user still shows up

Under Admin I used Admin tools, database check,
On User A browser I then tried all 3 steps again - deleted user still shows up

Used Admin tools create search index
On User A browser I then tried all 3 steps again - deleted user still shows up

Used Admin tools remove duplicate contacts and events
On User A browser I then tried all 3 steps again - deleted user still shows up

Stopped web server, closed all browsers (User A and the Admin), emptied cache, started server
Deleted user STILL SHOWS UP!

I used MySQL Admin tools to look inside the GO database at a few tables.
In the go_users, the deleted user is no where to be found
But I did find in cal_calendars, the deleted user was still there!

So.. do we have to manually remove a user using the MYSql Admin tools on the local server when we need to truly delete a user?
JHS
 
Posts: 89
Joined: Thu Jun 07, 2012 12:24 am

Re: Users never delete - stuck there

Postby eagle » Thu Jul 26, 2012 8:06 am

I just did a quick check on one of my own installations using phpMyAdmin and GO 4.0.74 :

Deleting a user in GO immediately deletes him from go_users. His calendar are also instantly deleted from cal_calendars....

By the way, have you tried to empty the GO cache on your server? It can usually be done by deleting the files in /home/groupoffice/cache/
eagle
Group-Office Expert
 
Posts: 515
Joined: Tue Jul 14, 2009 2:25 pm
Location: Norway

Re: Users never delete - stuck there

Postby JHS » Thu Jul 26, 2012 3:48 pm

Hi Eagle,

Thanks for the reply and suggestion. You mean the temp path referenced in the config.php file as per $config["tmpdir"]= ?

I tried this just now and checked for the deleted user again, and the user is indeed still listed on the left hand side in the calendars. I'm not surprised by that actually, because as mentioned, in the database itself the user is left behind in the cal_calendars table even though the go_users table does not show the user anymore. I think I'm going to have to record the userId value in the cal_calendars table for that deleted user and go hunt it down manually to remove him from any other tables too.
JHS
 
Posts: 89
Joined: Thu Jun 07, 2012 12:24 am


Return to General help

Who is online

Users browsing this forum: Bing [Bot] and 3 guests