News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Turning persistent mode on made forum not load CSS (?)

Started by Gryzor, October 02, 2021, 05:34:43 AM

Previous topic - Next topic

Gryzor

So, since we're on a dedicated server I thought I'd enable Persistent mode and see how it goes. That was the *only* change I made in that Settings page.

Now my forum looks like it's not loading CSS (you know, the white background, elements one below the other etc... Disabled Persistent connections, still the same?

Run repair_settings.php, paths are mostly correct (some urls were not https, in some cases the recommended value was http instead of https; changed all to https). No soap...

Any ideas? I know it must have something to do with the theme, and I can't see how Persistent mode could cause this, but... here we are!

Thanks!

PS wow, realised that if I'm not logged in then it looks fine??! Then logging back in and the problem is fixed. Weird... I'm guessing though other users may be having this issue, is there a way to end all sessions and log everyone out?

Illori


Aleksi "Lex" Kilpinen

Quote from: Gryzor on October 02, 2021, 05:34:43 AMpaths are mostly correct
I'd be willing to bet this is the answer, this is the issue, and changing this to ALL correct would fix this.
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

Gryzor

Apologies for not getting back to you guys, seems like I forgot to ask to receive alerts for replies...

Forum is www.cpcwiki.eu/forum, but now seems fine after reverting the option.

"Mostly correct" paths could be an issue ("mostly" referred to canonical vs non-canonical or http vs https), but I did correct them and the problem persisted, and why would it only appear when not logged in after all?

Aleksi "Lex" Kilpinen

Any inconsistencies in the paths will cause issues.

Also, why only for guests - my guess is your profile has a different theme assigned than what is the overall forum default, and the forum default theme paths were (are?) wrong.
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

Gryzor

Yeah, but I did fix the paths to what I considered correct; same effect. And you're right to ask about themes, that's the first thing I thought of too, but no, the default theme is applied everywhere...

So weird.

Advertisement: