Migrating from 4.30 to 4.62 :: Refuse to apply style / Refuse to apply CSS :: MIME type ('text/html') is not a supported stylesheet MIME type, and str

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
1 year ago
Hi,

I am testing a migration from 4.30 to 4.62 and I have random CSS / JS errors
I get a site without any style and chrome debugger shows :

Refused to apply style from 'https://2983-30014.el-alt.com/css/bre4mxw5azgbn5cdt9cpww.styles.css?v=gu8nx8sTpoY4npzM8lW9r_hyTVQ' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.

ski-alpin-ski-de-fond:1 GET https://2983-30014.el-alt.com/js/p7r3smqoqhjor_gaur_1_w.scripts.js?v=2h_pJrbUrcasiUJzY2n1Vva9kuA net::ERR_ABORTED 500 (Internal Server Error)

ski-alpin-ski-de-fond:1 Refused to execute script from 'https://2983-30014.el-alt.com/js/p7r3smqoqhjor_gaur_1_w.scripts.js?v=2h_pJrbUrcasiUJzY2n1Vva9kuA' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
1 year ago
Seems like it may be a path issue due to running the code locally (I'm guessing) - go here for more info and possibly solutions -

https://stackoverflow.com/questions/48248832/stylesheet-not-loaded-because-of-mime-type

Hopefully this helps
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.