News:

SMF 2.1.4 has been released! Take it for a spin! 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.

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

Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

Arantor

Doesn't have to be a GoDaddy problem in this case.

Advertisement: