CSS doesn't seem to be working. (Design/Themes)

by Reziem, Sunday, November 07, 2021, 05:28 (22 days ago)

Hello, I recently installed this forum software and everything seems to be working except the CSS. It just looks like a very basic html site. I've already tried adding/removing https in domain but that doesn't seem to be working.

Here is a screenshot of my issue: [image]

Any help will be greatly appreciated.

Thanks!

Avatar

CSS doesn't seem to be working.

by Auge ⌂ @, Monday, November 08, 2021, 10:55 (21 days ago) @ Reziem

Hello

I recently installed this forum software and everything seems to be working except the CSS. It just looks like a very basic html site. I've already tried adding/removing https in domain but that doesn't seem to be working.

Here is a screenshot of my issue: [image]

Any help will be greatly appreciated.

Please provide a URL of your forom (if really necessary, provide it in a private message (via the link, marked with the envelope, beside my user name).

Typically it is the HTTP-HTTPS-in URL problem, you found and checked yourself. Sometimes it is another error in the forum link one provided during the installation process. But that is speculation without seeing the installed forum.

Tschö, Auge

--
Trenne niemals Müll, denn er hat nur eine Silbe!

CSS doesn't seem to be working.

by Reziem, Tuesday, November 09, 2021, 01:00 (20 days ago) @ Auge

So I actually got it working. CSS is now back.
Although, how do I go about making the CSS work with HTTPS?

URL = http://forum.reziem.online

Avatar

CSS doesn't seem to be working.

by Auge ⌂ @, Tuesday, November 09, 2021, 14:12 (20 days ago) @ Reziem

Hello

So I actually got it working. CSS is now back.
Although, how do I go about making the CSS work with HTTPS?

URL = http://forum.reziem.online

Hmm, I can't load your forum in a first attempt because of your self signed certificate (a dummy certificate of your webserver), even I request your site with HTTP, not HTTPS. When I omit the warning and load your forum with HTTP, I get a formatted page with the default theme. So far, so good.

The forum loads its ressources (CSS, JavaScript) not with a relative path but with an absolute path with the forum URL, given in the forum settings, as its first part. The forum URL from the settings contains the protocol (HTTP (as http://) or HTTPS (as https://)).

In your case the link to the CSS file is http://forum.reziem.online/themes/default/style.min.css so as it is written here.

The URL for the ressources must be accessible. If you set the forum URL with the protocol HTTPS but your forum is not accessible via HTTPS but only with HTTP, also the CSS ressources are not loadable. Your forum isn't accessible via HTTPS so the design was broken because the linked CSS file was not accessible.

Is your installation self hosted or have you a hosting provider account? If your forum should be publicly accessible over HTTPS (this is strongly recommended nowadays), you need a valid and not self signed certificate. Take a look at Let's Encrypt. Your hosting provider may offer Let's Encrypt certificates for you. Here in Germany this is common and mostly for free.

If your certificate is active, you can set the forum URL in the settings to https://forum.reziem.online (pay attention to the "s" in the protocol) and, if possible, you can enforce the use of HTTPS for requests to your site and forum afterwards.

Tschö, Auge

--
Trenne niemals Müll, denn er hat nur eine Silbe!

CSS doesn't seem to be working.

by Reziem, Tuesday, November 09, 2021, 21:25 (20 days ago) @ Auge
edited by Reziem, Tuesday, November 09, 2021, 21:37

What you said made a lot of sense and I got it working! Thank you very much for your help and guidance! :-)

Unfortunately, I am running into another issue. When users try to register they are greeted with this message after clicking submit when registering.

"The account has been registered but the activation key could not been sent (mail server not available). Please contact the forum administrator and ask for manual account activation."

I may have missed the setup for this. How would I go about getting this to work?

EDIT: I am self hosting this forum on my Server so maybe I won't be able to do the mail setup portion. Will I just have to register users manually?

RSS Feed of thread

powered by my little forum