MyBB Community Forums

Full Version: [B] Link to non existant css file
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
In the file /admin/modules/style/themes.php you can find this line:
<link type="text/css" href="./jscripts/codepress/languages/codepress-css.css" rel="stylesheet" id="cp-lang-style" />
The file codepress-css.css does not exist. It should be
<link type="text/css" href="./jscripts/codepress/languages/codepress-mybb.css" rel="stylesheet" id="cp-lang-style" />
This has been reported before and it's bogus. That's correct that it doesn't exist and it shouldn't. Codepress reads the stylesheet and parses it for it's frame
I don't think it's bogus. In the file /admin/modules/style/templates.php it's linked to codepress-mybb.css and this file only exists to avoid these file missing errors in the logs.
/* This is a dummy file so "File Missing" errors won't popup in the server log. codepress-mybb.css is named that way because codepress interprets codepress-mybb.css files under it's own codepress iframe as mybb.css */