Simple Machines Community Forum

SMF Support => SMF 2.1.x Support => Topic started by: skb on May 25, 2023, 09:08:49 PM

Title: Site issues
Post by: skb on May 25, 2023, 09:08:49 PM
Since the past 24 hours my site appears like attached image. No changes have been made. I only take a db backup every 24 hours. Host says everything fine at their end. Ran repair settings twice, still no luck.
Title: Re: Site issues
Post by: Diego Andrés on May 25, 2023, 09:32:40 PM
The CSS file appears empty.
Try going into Features and Options and disable Minimize CSS and JavaScript files setting so we can check if the regular file is also empty or has some sort of issue.
Title: Re: Site issues
Post by: skb on May 25, 2023, 09:37:49 PM
OK. I did that and it is working now. What should be done next Diego ?
Title: Re: Site issues
Post by: Sir Osis of Liver on May 25, 2023, 11:00:50 PM
If it's working, leave it like that.  You don't need to minimize css and js, your forum will run fine without it.
Title: Re: Site issues
Post by: Diego Andrés on May 26, 2023, 12:17:31 AM
Quote from: skb on May 25, 2023, 09:37:49 PMOK. I did that and it is working now. What should be done next Diego ?

You can leave it off.
Although it shouldn't be doing this, perhaps some manual edit or a mod caused an issue?
Title: Re: Site issues
Post by: skb on May 26, 2023, 05:00:38 AM
Haven't done anything to the files for a long time now. Maybe when I install the next patch the files will be restored.
Title: Re: Site issues
Post by: Sir Osis of Liver on May 26, 2023, 01:05:33 PM
Recently had a different problem with minimizing css/js on 2.1.3 upgrade.  It caused mobile dropdown menu in custom theme to always remain open, blocking view of forum.  Unfortunately minimizing is enabled by default.
Title: Re: Site issues
Post by: live627 on May 28, 2023, 04:48:07 PM
Quote from: Diego Andrés on May 26, 2023, 12:17:31 AMAlthough it shouldn't be doing this, perhaps some manual edit or a mod caused an issue?
No, I'm pretty sure it's a bug in the library that we use. Might be described my

https://www.php.net/manual/en/function.realpath.php#48361

I don't have an environment where I can reproduce the bug.
Title: Re: Site issues
Post by: skb on May 28, 2023, 11:12:48 PM
The site has started generating a lot of errors since disabling the minimize css function.

Title: Re: Site issues
Post by: live627 on May 28, 2023, 11:39:20 PM
it says that there is no free disk space
Title: Re: Site issues
Post by: Sesquipedalian on May 29, 2023, 12:38:57 AM
Having no disk space left causes all kinds of random issues. Many, many kinds of computer operations require reading and writing temporary files. If there isn't sufficient space to do that, all sorts of stuff will break. This will affect any process that needs to write data to disk, not just SMF. You should clear some disk space ASAP.
Title: Re: Site issues
Post by: skb on May 29, 2023, 04:34:36 AM
No disk space ? But this just started happening after the above changes. Following are the stats from my CPanel.
Title: Re: Site issues
Post by: skb on May 29, 2023, 05:07:49 AM
I've emptied out some of the things not needed from public_html and an old site backup from the temp cache. I will revert if there are such errors again.
Title: Re: Site issues
Post by: skb on May 29, 2023, 05:14:54 AM
Maybe the cause of this whole issue was the 'no free disk space'.
So I've enabled the Minimize css option. So far, so good.
Title: Re: Site issues
Post by: Sesquipedalian on May 29, 2023, 07:00:04 AM
Some hosts claim to offer "infinite" drive space for their shared hosting plans. But of course it can't actually be infinite. All they really mean is that they dynamically allocate storage space to you rather than assigning a fixed quota of storage space to your account. If anything goes flaky in the process of assigning disk space to you—or more accurately, to the shared host that your account's data is stored on—you might very well see errors about being out of disk space.

If you really are supposed to have unlimited disk space with your account, you might want to talk to your hosting provider to ask them why you have been getting errors about no disk space and to demand that they fix it.
Title: Re: Site issues
Post by: skb on May 29, 2023, 08:35:14 PM
Thanks. I will try to talk to them about it.
For now, I have reverted back to minimize css and things are working well.
Thanks for marking this thread as solved.