Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Lost All users after reset auth cache
Avatar
doctorb
Member
sp_UserOfflineSmall Offline
Jan 1, 2012 - 11:53 pm

I made a post this morning in another thread that my site has about 3300 users but forums are showing 2800 users. What happened to the remianing 500.

 

I was wondering what happened to the other 500 and in that wonderment I clicked on 'Reset Author Cache' button, hoping that it would do some magic.

 

And it did. It removed all the user accounts (from the forum only not wp) except the 699 that were present before installing simple press.

 

The 27 people who registered at site after installing forums and had made posts are now being shows as Guests and they are not appearing in the Guest list in admin backend either.

 

sfmembers table is showing only 699 records now

 

What went wrong and how to correct it?

Simple Press is a great software working at Homeopathy Forums

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jan 1, 2012 - 11:59 pm

reset author cache?? do you mean 'Reset the Auths Cache' on the toolbox housekeeping form? auths as in authorizations... that simply clears out the auths column of the sfmembers table... its a cache of user permissions on your forum... if you clear it, when the user visits the forum, it will have to rebuild the auths cache for that user...

it does not delete any users...

there is no guest list either... guests are not shown as members of any usergroup... you could though move users into that usergroup to give them the same permissions as guests...

Avatar
doctorb
Member
sp_UserOfflineSmall Offline
Jan 2, 2012 - 12:01 am

Yups that is what I did. Feel like hitting myself. embarassedyellcryeekconfusedfrown

Simple Press is a great software working at Homeopathy Forums

Avatar
doctorb
Member
sp_UserOfflineSmall Offline
Jan 2, 2012 - 12:06 am

I'll restore those tables from the few hour old backup that I have.

Simple Press is a great software working at Homeopathy Forums

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jan 2, 2012 - 12:07 am

did what?  hitting that button wont delete any users...  so you have me a bit confused...  it will just slow down your users ever so slightly only the next time they visit...

its just a cache... no real effect...

Avatar
doctorb
Member
sp_UserOfflineSmall Offline
Jan 2, 2012 - 12:11 am

I pressed the 'Reset the Auths Cache' on the toolbox housekeeping form. 

 

Before that forum stats were showing 2800 users.

 

After that forum stats show 699 users. These 699 users registered before installing simple press. Rest of the accounts seem to have disappeared.

 

They are not there in sfmembers table and they do not show in any uerr group (guest, member, moderator, admin) in forum admin backend.

 

The 27 new members who were active at the forums and registered after installing sf, have their user status marked as 'Guest' in their posts. But their account is not visible n the admin backend in any user group or member list.

Simple Press is a great software working at Homeopathy Forums

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jan 2, 2012 - 12:20 am

I would suggest something else has occurred... the button runs this single query:

spdb_query('UPDATE '.SFMEMBERS." SET auths=''".$where);

$where will be empty string here... so just clears the column...

could you perhaps try going to phpmyadmin and repairing your db? perhaps something corrupted?

Avatar
doctorb
Member
sp_UserOfflineSmall Offline
Jan 2, 2012 - 12:26 am

I did that (repairing db) before posting here. No effect. Am having the tables restored for now.

 

Also it is only the forums that were affected and the rest of the site has no issues with members etc.

Simple Press is a great software working at Homeopathy Forums

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jan 2, 2012 - 12:35 am

well, if you can easily restore, it would be nice for you to try that again... I just tried it on 5 sites with no issues...

is this standard mysql db?

Avatar
doctorb
Member
sp_UserOfflineSmall Offline
Jan 2, 2012 - 12:39 am

Alright I'll do that once the tables are restored.

 

Even I am bewildered with what happened. never expected that. And didn't do anything else with the site to put blame on it. 

 

Yes standard mysql db. wordpress multisite with buddypress. No membership plugins installed.

Simple Press is a great software working at Homeopathy Forums

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 617
Members: 17359
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10125
Posts: 79620