End of Support for Joomla 3 - Forum closed

[SOLVED] Mixed Content error

Mixed Content error was created by mskubieva

Posted 5 years 3 months ago #24218
Hello!
In some browsers I get a Mixed Content error because there's a call for style.css file and that file will be supposedly loading via HTTP protocol and that's what some browsers try to prevent. It's this line that triggers the error. And on line 46 in a source code of main page you see this
Code:
<link rel="stylesheet" href="css:style.css" />

I assume that something within a template attempts to load that insecure CSS file (which I'm not even sure that exists in my Joomla tree). I don't know where to find the source of this call and how to stop it. POSSIBLY it's in templates/jp-x2/layouts/template.config.php file on line 103 there's this:
Code:
$this['asset']->addFile('css', 'css:style.css');

So MAYBE it's the source of the trouble (or maybe not!)
Last Edit:5 years 3 months ago by mskubieva
Last edit: 5 years 3 months ago by mskubieva.

Please Log in or Create an account to join the conversation.

Replied by joomlaplates on topic Mixed Content error

Posted 5 years 3 months ago #24220
Create an empty css/custom.css and the issue will be done.
The following user(s) said Thank You: mskubieva

Please Log in or Create an account to join the conversation.

Replied by mskubieva on topic Mixed Content error

Posted 5 years 3 months ago #24226
OK, thank you! The issue is solved. You can close this thread now...
Last Edit:5 years 3 months ago by mskubieva
Last edit: 5 years 3 months ago by mskubieva.

Please Log in or Create an account to join the conversation.

Moderators: joomlaplates

Installations-Service

Don´t waste your time, we install your purchased Template
with the "Demo Content" within the next 24 hours.

Buy Now - 59€

Joomlaplates/Theme-Point is not affiliated with or endorsed by Open Source Matters or the Joomla! Project

Copyright © 2024 JoomlaPlates | Professional Joomla Templates with Uikit 3

Disclaimer & Privacy | License