Topic on Project:Support desk

Mime type error with oojs-ui modules

3
70.24.123.54 (talkcontribs)

I'm getting mime type sniffing errors when oojs-ui icon modules are trying to load. This is on an nginx server. Here is the output from firefox:


The resource from “http://www.mywebsite.com/load.php?lang=en-ca&modules=mediawiki.legacy.commonPrint%2Cshared%7Cmediawiki.skinning.interface%7Cmediawiki.widgets.styles%7Coojs-ui-core.icons%2Cstyles%7Coojs-ui.styles.indicators%7Cskins.myskin.styles&only=styles&skin=myskin” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).


Any ideas?

Bawolff (talkcontribs)

check for whitespace at the begging of LocalSettings.php before tge <?php


Check php error logs for warning.


Open the load.php page in question see if there is any errors visible.

65.92.83.38 (talkcontribs)

Any other suggestions? This is a big problem considering how many times I load oojui-ui modules... I can't be the only person with this problem. I can't replicate the same error or even generate a warning on my localhost.

Reply to "Mime type error with oojs-ui modules"