Closed
Bug 229030
Opened 22 years ago
Closed 21 years ago
casghockey.com - Stylesheet not loaded because it has text/plain MIME type
Categories
(Tech Evangelism Graveyard :: French, defect)
Tech Evangelism Graveyard
French
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: brice, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.5) Gecko/20031026 Firebird/0.7
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.5) Gecko/20031026 Firebird/0.7
Report from the javascript console :
Error: The stylesheet http://www.casghockey.com/themes/new/style.css was not
loaded because its MIME type, "text/plain", is not "text/css".
The line of the stylesheet related is the following :
<link rel="stylesheet" type="text/css" href="themes/new/style.css">
Reproducible: Always
Steps to Reproduce:
1. Open the URL http://www.casghockey.com
2. The font is ugly
3. Go to the javascript console to see the errors noticed in details
Expected Results:
Load the stylesheet, I'm sure the line referencing the stylesheet is right, I
made myself the website :
<link rel="stylesheet" type="text/css" href="themes/new/style.css">
Comment 1•22 years ago
|
||
Seing the same with branch build 20031218, Windows XP.
Comment 2•22 years ago
|
||
Since you made it yourself, are you sure the web server is set to send files
with a .css extension as text/css? I don't know if this would make a difference
(especially since you specifically give it a mime type in the link tag), but it
could be the culprit.
Comment 3•22 years ago
|
||
The server is sending the CSS file as text/plain. From the JS Console:
"Error: The stylesheet http://www.casghockey.com/themes/new/style.css was not
loaded because its MIME type, "text/plain", is not "text/css"."
Because you're in standards compliance mode, text/plain CSS files are not loaded
(the type from <link> is only a suggestion). Either change to quirks mode
(http://www.mozilla.org/docs/web-developer/quirks/) or have the server actually
send .css files as text/plain.
Look for a file called "mime.types" in your zeus server config directories that
tells the server what MIME type to send for each file (example at
http://support.zeus.com/doc/examples/nsapi/default_conf.html).
Comment 4•22 years ago
|
||
->Invalid. Server settings need to be corrected.
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → INVALID
Updated•22 years ago
|
Status: RESOLVED → UNCONFIRMED
Resolution: INVALID → ---
Comment 5•22 years ago
|
||
Changing component to Tech Envangelism
Assignee: blake → french
Status: UNCONFIRMED → NEW
Component: General → French
Ever confirmed: true
Product: Firebird → Tech Evangelism
QA Contact: french
| Reporter | ||
Comment 6•22 years ago
|
||
I see, I made the web site, so I can modify the files, but I cannot modify the webser, I can ask the
company hosting the site to do it, I have several contacts.
Anyway, I think Mozilla should autodetect it is a .css file and use it as if it had the right MIME type,
no ?
It works well, with all other browsers.
Updated•22 years ago
|
Summary: Stylesheet not loaded → casghockey.com - Stylesheet not loaded because it has text/plain MIME type
Comment 7•22 years ago
|
||
| Reporter | ||
Comment 8•22 years ago
|
||
Thank you for all this information, I'll ask the hosting company so they change their server
configuration, I understand the problem now. Maybe it is not the right place to discuss about this,
but should we change the navigator to quirks mode for people who don't know anything about
technology, in general ? We are a company making a linux distribution for a light PC we will sell,
we use Mozilla Firebird, and do not want our customer to have strange behaviour of the navigator.
As a developer I'll continue using it in strict mode for my tests.
Comment 9•21 years ago
|
||
fixed
Status: NEW → RESOLVED
Closed: 22 years ago → 21 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•