Previous Thread
Next Thread
Print Thread
Hop To
#221588 01/25/2009 6:23 PM
Joined: Dec 2008
Posts: 9
E
stranger
stranger
E Offline
Joined: Dec 2008
Posts: 9
Sometime between 12noon and 4pm, my forums went missing. Said unable to connect to databsse. Logged into my host, checked the files and my includes/config.inc.php file was there, but completely emtpy!

I copied over a recent backup file, no worries. But how's that even remotely possible? I also removed admin access to edit via the control panel, but I'm still a little worried something's amiss. Any other ideas as to how I could check into what happened?

Thanks.

Joined: Dec 2008
Posts: 9
E
stranger
stranger
E Offline
Joined: Dec 2008
Posts: 9
It's weird...when we make changes via the CP, sometimes we lose data in the config file. The last time we made a change, we lost a database user array to split the queries that we'd added.

Is the CP supposed to force the config file to make massive changes/rollbacks, like this? It seems somewhat unreliable at the moment...

Last edited by Eleador; 01/25/2009 6:47 PM.
Joined: Dec 2008
Posts: 9
E
stranger
stranger
E Offline
Joined: Dec 2008
Posts: 9
Also, I removed permissions from admins to make changes in the CP at the moment. Where, and in what file can I restore that permission?

Joined: Feb 2007
Posts: 1,294
Likes: 2
Veteran
Veteran
Joined: Feb 2007
Posts: 1,294
Likes: 2
Are you sure your not running out of web space?

Joined: Dec 2008
Posts: 9
E
stranger
stranger
E Offline
Joined: Dec 2008
Posts: 9
Yeah, positive.

Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
Well, in reguards to the statement:
Originally Posted by Eleador
The last time we made a change, we lost a database user array to split the queries that we'd added.
when any config option is updated, the config file is rewritten; so since your change isn't being written with the other config data, it wont' be in the config file


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: Dec 2008
Posts: 9
E
stranger
stranger
E Offline
Joined: Dec 2008
Posts: 9
Ok, that makes sense that the CP simply rewrites the entire config file.

How about in regards to resetting admin full access to the CP?

Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
Not sure there, have you used the "back" button after submitting a config page? possible you'd be triggering the "update" without any data...


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: Dec 2008
Posts: 9
E
stranger
stranger
E Offline
Joined: Dec 2008
Posts: 9
That's possible, I'll have to make sure.

No, I'm asking about how do I give admins back full access to the CP. There's no way I can see to restore that to them. And since I'm one of them...I don't have that toggle in the CP anymore.

Where would that be? Config file, libs folder, etc?

Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
Admin permissions aren't stored in the config file; they're stored in the database.


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
spam issues
by ECNet - 03/19/2024 11:45 PM
Who's Online Now
1 members (Ruben), 866 guests, and 176 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 20230217)