|
|
Joined: Mar 2004
Posts: 3
stranger
|
stranger
Joined: Mar 2004
Posts: 3 |
Hi - don't know what's happened but we have lost all our registered users on the board (although their data is still there in members). I think the solution is probably to rebuild them, but we've lost the admin user as well! How can I get into the system to rebuild users without the admin user? Thanks
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
Can you check to see if the vars_config.cgi file still exists, and is chmodded 777? Also check to be sure data exists in the file and that it's not currupted...
I'm thinking that something may have happened to the file, as it holds the paths to your member data it could be the reason it's not working properly...
|
|
|
|
Joined: Mar 2004
Posts: 3
stranger
|
stranger
Joined: Mar 2004
Posts: 3 |
vars_config.cgi exists and everything looks ok with it (the paths seem correct). Just can't login as anyone.
|
|
|
|
Joined: Mar 2004
Posts: 3
stranger
|
stranger
Joined: Mar 2004
Posts: 3 |
Managed to fix it! Browsing round the files I found that the memberslist.cgi file only had two names in it (instead of the 1400 odd it should have had). I manually added our admin user to the file and was then able to login as admin. The rebuild/reindex from the control panel fixed the rest. I, for one, am very relieved! Thanks for your help Gizmo (it was your question about the config file that started me browsing).
|
|
|
|
Joined: Nov 2006
Posts: 3,095 Likes: 1
Carpal Tunnel
|
Carpal Tunnel
Joined: Nov 2006
Posts: 3,095 Likes: 1 |
And this points out that you should be making a backup of your database each night or at least as often as possible.
|
|
|
|
Joined: Dec 2003
Posts: 1,796
Pooh-Bah
|
Pooh-Bah
Joined: Dec 2003
Posts: 1,796 |
True, always keep a backup of the vars__*.cgi files, the Members folder and as much of the forum folders as you can store Many ftp programs can be set to do this automagically now.
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
And this points out that you should be making a backup of your database each night or at least as often as possible. What database? It's UBB.Classic, it's all flatfile baby! But yes I agree with Allen, routinely backing up your vars files should be a must for classic users
|
|
|
Bots
by Outdoorking - 04/13/2024 5:08 PM
|
|
|
|
|
|
1 members (1 invisible),
702
guests, and
193
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
|
|
|