G
G
Gregory Didus2015-11-18 12:43:11
PHP
Gregory Didus, 2015-11-18 12:43:11

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".

Version: 1.5.9 Tell me
how to solve this problem?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
G
Gregory Didus, 2015-11-18
@Suicide676

The problem was solved at random: after enabling ModSecurity on the hosting, then turning it off and clearing the cache on the site.

X
xmoonlight, 2015-11-18
@xmoonlight

Set the resource type correctly in the template...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question