MyBB Community Forums

Full Version: CSS caching problem
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Why are some of my MyBB sites using a hard linked cache copy of the css and others are using css.php?

I want them to use the cache. That's sort of the whole point ain't it?

For the life of me I can't find out why some are one way and some are another. I play with permissions, safe_mode, basedir, and anything else I can think.

It's really starting to piss me off.

EDIT: I am still having extreme difficulty with this. I see in the database my one main theme has a serialize "stylesheets" column looking like this:

a:8:{s:6:"global";a:1:{s:6:"global";a:1:{i:0;s:20:"css.php?stylesheet=8";}}s:14:"showthread.php";a:1:{s:6:"global";a:2:{i:0;s:20:"css.php?stylesheet=9";i:1;s:21:"css.php?stylesheet=23";}}s:9:"index.php";a:1:{s:6:"global";a:1:{i:0;s:21:"css.php?stylesheet=11";}}s:10:"usercp.php";a:1:{s:6:"global";a:1:{i:0;s:21:"css.php?stylesheet=22";}}s:11:"usercp2.php";a:1:{s:6:"global";a:1:{i:0;s:21:"css.php?stylesheet=22";}}s:11:"private.php";a:1:{s:6:"global";a:1:{i:0;s:21:"css.php?stylesheet=22";}}s:16:"forumdisplay.php";a:1:{s:6:"global";a:1:{i:0;s:21:"css.php?stylesheet=23";}}s:9:"modcp.php";a:1:{s:6:"global";a:1:{i:0;s:21:"css.php?stylesheet=24";}}}

While other styles have the cached pages...

a:8:{s:6:"global";a:1:{s:6:"global";a:1:{i:0;s:20:"css.php?stylesheet=7";}}s:14:"showthread.php";a:1:{s:6:"global";a:2:{i:0;s:34:"cache/themes/theme2/showthread.css";i:1;s:21:"css.php?stylesheet=20";}}s:16:"forumdisplay.php";a:1:{s:6:"global";a:1:{i:0;s:21:"css.php?stylesheet=20";}}s:9:"inherited";a:6:{s:23:"forumdisplay.php_global";a:1:{s:21:"css.php?stylesheet=20";s:1:"1";}s:21:"showthread.php_global";a:1:{s:21:"css.php?stylesheet=20";s:1:"1";}s:16:"modcp.php_global";a:1:{s:21:"css.php?stylesheet=19";s:1:"1";}s:17:"usercp.php_global";a:1:{s:21:"css.php?stylesheet=18";s:1:"1";}s:18:"usercp2.php_global";a:1:{s:21:"css.php?stylesheet=18";s:1:"1";}s:18:"private.php_global";a:1:{s:21:"css.php?stylesheet=18";s:1:"1";}}s:9:"modcp.php";a:1:{s:6:"global";a:1:{i:0;s:21:"css.php?stylesheet=19";}}s:10:"usercp.php";a:1:{s:6:"global";a:1:{i:0;s:21:"css.php?stylesheet=18";}}s:11:"usercp2.php";a:1:{s:6:"global";a:1:{i:0;s:21:"css.php?stylesheet=18";}}s:11:"private.php";a:1:{s:6:"global";a:1:{i:0;s:21:"css.php?stylesheet=18";}}}

Why would this be?

I need some serious help here from knowledgable staff.

EDIT: Yeah a bug exists here but I can't exactly explain it well otherwise I would report it. I am afraid unless I can explain this well it will get marked as bogus I'll have to spend a week explaining this.
Found the bug and hopefully a way to explain it. Reporting it now.