9 years 2 months ago
My Joomla 2.5 site is now using https instead of http.
I'm getting the typical warning "Mixed content" warning in most browsers. Chrome is blocking things like:
netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css
Now, the problem is WHERE is the script loading this stylesheet? I know it must be loaded by the template but I just can't find it.
Tried index.php both in the public_html and template folders but since they're just PHP files including other PHP files and libraries, including other scripts, etc... it seems impossible.
This is probably possible to fix using javascript. I tried the following to fix the IFrames:
iframes=document.getElementsByTagName('iframe');
for (i=0; i<iframes.length; i++){
var antigoURL=iframes
.src;
var novoURL=antigoURL.replace("http:", "");
iframes.src=novoURL;
};
But since the script runs AFTER the page is loaded, I can't prevent the error to show up.
My site is www.portal-gestao.com
The template I'm using is Base3
I know this should be easy, but I'm still struggling.
Thanks for helping!
PS: This question is also asked in Stack Overflow here: stackoverflow.com/questions/28281279/where-are-template-prerequisites-being-loaded-from