I installed an instance of MyBB with Installatron. Lately, the forum/inc/settings.php file has been randomly cutting off at 8kb (8,192 bytes). The file just ends prematurely out of nowhere, in the same place every time.
I could make a cron job to check the file size and adjust the file if it's a bad length, but I'd really rather know what the h*ck is going on. Nobody has SSH/SFTP access but me.
Hi @bls1999 - There shouldn't be anything server side that is changing the size of your file or truncating it. cPanel accounts should create an error_log file anytime there are server errors, so you can check there. If it's producing an error of some kind, perhaps you can provide that here. Others may be able to offer further suggestions.
@bls1999 - That sounds pretty weird. I have no clue what could be causing that. My uncle once told me the first rule of troubleshooting anything from a bicycle to a nuclear reactor is to eliminate obvious defects. Maybe fixing the syntax error will help with the issue or at least help you identify what's causing it?