News:

SMF 2.0.19 has been released! Please update. Read more.

Main Menu

settings.php set to 0 file length?

Started by supernova777, June 16, 2020, 09:21:23 AM

Previous topic - Next topic

supernova777

this is the second time this has randomly happened to me;
i have no idea how this could possibly have happened unless someone on my web host purposely nulld my settings.php to take down my site?
or is this a known bug?

please help?

Arantor

It's a known bug.

Solution: out the content back from the backup, then make the file read only.

The cause: SMF updates the file when certain kinds of error occur and if they happen too close together the file gets wiped.
No good deed goes unpunished / All helpful urges should be circumvented

I have something to say: it's better to burn out than to fade away. There can be only one.

Aleksi "Lex" Kilpinen

If it happens a lot, or seems to become routine, then there might be a bigger problem somewhere.
Slava
Ukraini!


"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

supernova777

ok thanks for that info guys
im hoping to change hosts soon hopefully this error goes away when i get off Godaddy

Aleksi "Lex" Kilpinen

Well, odds are in your favor - It's hard to find a host worse than Godaddy.
Slava
Ukraini!


"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

Sir Osis of Liver

"The best laid schemes o' mice an' men / Gang aft a-gley." - Robert Burns

Arantor

Doesn't have to be a GoDaddy problem in this case.
No good deed goes unpunished / All helpful urges should be circumvented

I have something to say: it's better to burn out than to fade away. There can be only one.

Advertisement: