Settings.dat.php database settings suddenly blank

3 posts by 2 authors in: Forums > CMS Builder
Last Post: June 1, 2021   (RSS)

By celuch - May 30, 2021

Anyone know the reason that the database settings in settings.dat.php would suddenly go blank?  This happened again today, and it's about the 4th time it has happened over the years, and all on different servers.  I could restore easy enough by re-entering credentials, but still don't know why or how it has happened.  

celuch

By Dave - May 31, 2021

Hi Celuch, 

A typical reason that would happen is when the server disk is full.  When that happens and the settings file is opened to be updated/written there's no space for the file so a zero byte file gets saved.

We do have some code in CMSB to detect that situation though, which version of CMSB are you running?  And is there anything unique about your setup?  For example have files on a remotely hosted server separate from the web server?  And what's the OS (Linux, windows, etc?).

Dave Edis - Senior Developer
interactivetools.com