Answer the question
In order to leave comments, you need to log in
How to solve the problem that Joomla does not load styles?
Hello!
There is a problem:
1. during work, when going to some pages of the site, an error occurred Error 424 (blocked by security rules)
2. after disabling the processing of the ModSecurity rule on the host, the site worked fine
3. after clearing the cache, the site worked fine both at home and at work
4. After 2 days, when you go to pages that previously had a 424 error, styles are not loaded now.
Error in console:
Resource interpreted as Stylesheet but transferred with MIME type text/html: "http://www.millenium.kh.ua/index.php/plugins/content/plugin_jw_ts/images/st…images/certificates/images/stories/general/templates/system/css/system.css".
mootools.js:1 Uncaught SyntaxError: Unexpected token <
caption.js:1 Uncaught SyntaxError: Unexpected token <
index.php?option=com_content&view=article&id=65&Itemid=9:16 Resource interpreted as Stylesheet but transferred with MIME type text/html: "http://www.millenium.kh.ua/index.php/plugins/content/plugin_jw_ts/images/st…cates/images/stories/general/templates/siteground-j15-132/css/template.css".
Answer the question
In order to leave comments, you need to log in
The problem was solved at random: after enabling ModSecurity on the hosting, then turning it off and clearing the cache on the site.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question