MyBB Community Forums

Full Version: myBB losing its style when browsed through Chrome
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I set up a myBB forum. Works great on Opera, Edge, Firefox. However, Chrome doesn't show the theme/template properly (at all). Is this something fixable? Or is it just the way it is because Chrome handles this stuff differently?
A link would be helpful.

Also, be sure to clear your Chrome cache.
(2023-10-30, 06:40 AM)nixer55 Wrote: [ -> ]A link would be helpful.

Also, be sure to clear your Chrome cache.

Clearing cache and resetting chrome didn't work Sad

(2023-11-05, 05:38 PM)Grizzlie Wrote: [ -> ]
(2023-10-30, 06:40 AM)nixer55 Wrote: [ -> ]A link would be helpful.

Also, be sure to clear your Chrome cache.

Clearing cache and resetting chrome didn't work Sad

www.motodocs.pl/forum

Also got the same error on Opera but after logging in and then out (of the forum) the style stayed.
your website is https://...
your style is linked to http://

set correct forum-url in ACP
In addition to bv64's recommendations, check your cookie path, which is set to "/forum"; .  Note the lack of a trailing slash, and the cookieSecureFlag is set to 0.

Might be a good idea to look over your site details page.  View-source tells us your MyBB root is set to http.
That could be it. Changed site details to https
Seems to work in chrome. Going to be checking it out this week.

Secure Cookie flag set to NO. However, now that the forum url is to https should this be set to YES?

And Thank you for the responses!
(2023-11-05, 08:58 PM)Grizzlie Wrote: [ -> ]That could be it. Changed site details to https
Seems to work in chrome. Going to be checking it out this week.

Secure Cookie flag set to NO. However, now that the forum url is to https should this be set to YES?

And Thank you for the responses!

It should be if running https.  As the site details state:

Quote:Secure Cookie Flag
Cookies can be set with the Secure flag to prevent them from being sent over unencrypted connections. You should enable this setting only if your forum works correctly under HTTPS.

Your language file may be different.  This from the default, but not sure it would matter in your case...
I had exactly the same problem. It was not consistent, though.

Here is how I fixed it:

Go to Admin CP - Then:

Configuration -> Site Details ->
For "Board URL" and "Homepage URL" change the "http://" to "https://" (add the "s")

Two of my boards were running MyBB version 1.8.29 . They would not let me save the changes to the Site Details. I got an error message about CAPTCHA in line 1034 of Admin -> Modules -> Config -> "Settings.php." I don't use "Capcha" so I commented out lines 1034 - 1049. That fixed the error problem and let me update the Site Details.

I suppose that I should not update the version of MyBB that those boards are running to avoid further problems.
@MimiFont

1.8.30 Closed security vulnerabilities:
High risk: Remote code execution with settings in the Admin CP
1.8.31 Closed security vulnerabilities:
Medium risk: Injection of parameters into email settings
1.8.32 Closed security vulnerabilities:
High risk: XSS vulnerability in the editor
Medium risk: SQL injection during user management in the Admin CP
Low risk: XSS vulnerability in attachments
1.8.33 Fixed security vulnerabilities:
High risk: Local file inclusion in language management in the ACP
1.8.34 Fixed security vulnerabilities:
Low risk: XSS vulnerability in user CP
1.8.36 Fixed security vulnerabilities:
High risk: Remote code execution in templates
1.8.37 Fixed security vulnerabilities:
Medium risk: XSS vulnerability in size-MyCode
Low risk: XSS vulnerability in themes in the Admin CP

So do yourself a favor and update the boards and then try to solve the problems that exist somewhere. Playing dead is not the solution!