MyBB Community Forums

Full Version: Mybb global.css become css.php
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
i was editing global.css file. once i finish editing, i found that site is not loading global.css instead that there is another file call css.php


https://i.postimg.cc/T3xWhZHp/image.png

and the problem is site color_twilight.css is not working for site. if i disable css.php, the the color_twilight.css is working. by the way today i change the file, folder CHMOD permission. i moved to a new host so mybb system suggested me to change that folder permission. any idea why global.css become css.php or may be i am wrong?
(2022-07-27, 08:21 AM)lkop Wrote: [ -> ]i was editing global.css file. once i finish editing, i found that site is not loading global.css instead that there is another file call css.php


https://i.postimg.cc/T3xWhZHp/image.png

and the problem is site color_twilight.css is not working for site. if i disable css.php, the the color_twilight.css is working. by the way today i change the file, folder CHMOD permission. i moved to a new host so mybb system suggested me to change that folder permission. any idea why global.css become css.php or may be i am wrong?

In your site admin panel go to Home » Themes » select your theme» then select global.css and try to click the Reset button, it will take back to the default and it might help you.
i did but same issue.
any idea why i am seeing css.php instead of global.css

edit:
i revert back global.css. now the global.css is loading but mybb still loading css.php which making invalid the other css.

https://site.com/css.php?stylesheet%5B0%5D=18
Show a screenshot where you are seeing css.php instead of global.css
There is a valid file in /forum folder named css.php, but that contains functions to fetch stylesheets.
i end up upgrading mybb. but still getting the same CSS function. however, currently all .css is loading in single css.php
https://i.postimg.cc/43Y1NJYC/image.png