Previous Thread
Next Thread
Print Thread
Hop To
#194172 08/09/2007 7:36 AM
Joined: Mar 2004
Posts: 3
M
stranger
stranger
M Offline
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
UBB.threads Developer
UBB.threads Developer
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...


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Mar 2004
Posts: 3
M
stranger
stranger
M Offline
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
M
stranger
stranger
M Offline
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 smile Many ftp programs can be set to do this automagically now.


- Allen
- ThreadsDev | PraiseCafe
Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
Originally Posted by ntdoc
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 wink


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
Is UBB.threads still going?
by Aaron101 - 04/01/2022 8:18 AM
Who's Online Now
1 members (Nightcrawler), 718 guests, and 210 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240501)