• Welcome to Simple Machines Community Forum. Please login or sign up.
January 22, 2022, 12:04:03 PM

News:

SMF 2.1 RC4 has been released! Try it out and help us test! :) Read more.


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

Aleksi "Lex" Kilpinen

If it happens a lot, or seems to become routine, then there might be a bigger problem somewhere.
A Finnish Project Manager (Support Specialist)
 Happily running multiple SMF 2.x installations.
  Fooling around with i7-10700 @ 2,90GHz-4.80GHz / 16Gb / RTX-2070 Super / 3840x2160 / Win 10 x64


How you can help SMF

"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

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.
A Finnish Project Manager (Support Specialist)
 Happily running multiple SMF 2.x installations.
  Fooling around with i7-10700 @ 2,90GHz-4.80GHz / 16Gb / RTX-2070 Super / 3840x2160 / Win 10 x64


How you can help SMF

"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

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

Advertisement: