MyBB Community Forums

Full Version: Broken CSS Themes
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello again,

Upon downloading plugins/themes, the CSS is broken. I had this issue previously with the base theme upon installation. The only thing that fixed it was deleting the cache folders (not reloading them through global.css).

I have tried a few things:
- Switching from https to http (http brings up errors for mixed content, https says something about quirks mode)
- Reloading global.css
- Checking CHMOD settings (they are correct)
- Tried checking cookies based on this

If someone would like to see the results and check if my HTTPS is correct, here is the link to the subdomain everything is installed on.

Thank you in advance.
try to add a cookie prefix in settings
from a quick look around, it seems like you're missing the "cache" folder in your mybb root? Could you check to see if it's still there? and what are the name of the folders in it if any?
Added a cookie prefix. No change.

I do have the cache folder. I re-added the themes folder and index.html. Nothing.
Folders are cache, images, and themes (with three themes within).

Switching back to the default theme (which previously worked) has broken it.

Edit: Could this be a .htaccess problem? It only says:
'<Files *>
Order Deny,Allow
Deny from all
</Files>"

This is DIFFERENT from the .htaccess in the root folder. (Is this leftover from a SMF transfer?)

Theory based off this issue: https://community.mybb.com/thread-229333.html

Edit 2:
Changed subfolders (theme1, theme2, theme3) to 777/writable. Nothing.

Edit 3:
Settings.php looks okay?
I think it could be a hosting issue, I'm seeing 403 errors in the dev console, which could have something to do with mod_security specifically. You should try to contact your hosting provider and ask them to either disable the feature or whitelist your domain, and see if that helps

https://docs.mybb.com/1.8/faq/errors/#403-forbidden

Also, could you post your headerinclude template here?

You can also have a look at these page
https://docs.mybb.com/1.8/faq/styles/
https://docs.mybb.com/1.8/administration...-problems/
Ah, contacted the host. They said the htaccess file (seen above) was the issue. I have NO CLUE why it was like that or why it was uploaded (perhaps during my merge?)… so it has been removed.

Issue has been solved.

Thanks everyone!