Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
2 registered (Dunny, Ruben), 48 Guests and 14 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 06/05/06
Posts: 709
Top Posters (30 Days)
Ruben 50
DennyP 24
Gizmo 24
Dunny 15
SteveS 13
AllenAyres 12
dbremer 10
SD 10
drkknght00 9
driv 8
Latest Photos
OK Corral Shoot Out
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Topic Options
#221588 - 01/25/09 05:23 PM Config file "empty"
Eleador Offline
stranger
Registered: 12/04/08
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.
Top
Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
#221590 - 01/25/09 05:47 PM Re: Config file "empty" [Re: Eleador]
Eleador Offline
stranger
Registered: 12/04/08
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...


Edited by Eleador (01/25/09 05:47 PM)
Top
#221591 - 01/25/09 05:50 PM Re: Config file "empty" [Re: Eleador]
Eleador Offline
stranger
Registered: 12/04/08
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?
Top
#221592 - 01/25/09 06:00 PM Re: Config file "empty" [Re: Eleador]
JAISP Offline
old hand
Registered: 02/10/07
Posts: 1144
Are you sure your not running out of web space?
Top
#221593 - 01/25/09 06:04 PM Re: Config file "empty" [Re: JAISP]
Eleador Offline
stranger
Registered: 12/04/08
Posts: 9
Yeah, positive.
Top
#221595 - 01/25/09 06:18 PM Re: Config file "empty" [Re: Eleador]
Gizmo Offline

Registered: 06/05/06
Posts: 14995
Loc: Portland, OR; USA
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
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#221597 - 01/25/09 06:22 PM Re: Config file "empty" [Re: Gizmo]
Eleador Offline
stranger
Registered: 12/04/08
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?
Top
#221600 - 01/25/09 06:57 PM Re: Config file "empty" [Re: Eleador]
Gizmo Offline

Registered: 06/05/06
Posts: 14995
Loc: Portland, OR; USA
Not sure there, have you used the "back" button after submitting a config page? possible you'd be triggering the "update" without any data...
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#221601 - 01/25/09 06:58 PM Re: Config file "empty" [Re: Gizmo]
Eleador Offline
stranger
Registered: 12/04/08
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?
Top
#221604 - 01/25/09 07:51 PM Re: Config file "empty" [Re: Eleador]
Gizmo Offline

Registered: 06/05/06
Posts: 14995
Loc: Portland, OR; USA
Admin permissions aren't stored in the config file; they're stored in the database.
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top



Moderator:  AllenAyres, Harold, Ian, Ron M 
Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Temporary Password email not being received
by
05/24/12 10:02 PM
Ability to "like" individual posts (not Facebook "likes)
by doug
05/23/12 09:03 AM
Island Permissions
by ThreadsUser
05/22/12 03:03 PM
streaming video
by prkrgrp
05/20/12 07:02 PM
New Posts Corrupted? Can someone help?
by PianoWorld
05/19/12 09:41 AM
Forum Stats
10492 Members
36 Forums
33842 Topics
181709 Posts

Max Online: 978 @ 06/24/07 11:19 PM
Random Image