XF 2.2 Unsecure script?

Robert9

Well-known member
<xf:js src="robert9/test/data_fetcher.js" min="1" />

This script is loaded with http://

What can do?

I have a relative link from a https:// page; why this script is not read as https:// ?
 
Last edited:
Mixed Content: The page at 'https://www.lala.com/resources/categories/example.1/add' was loaded over HTTPS, but requested an insecure script 'http://www.lala.com/js/robert9/test/data_fetcher.min.js?_v=123e344'. This request has been blocked; the content must be served over HTTPS.
 
Most likely not... look like it's a part of an add-on he has created... http://www.lala.com/js/robert9/test/data_fetcher.min.js. He needs to find where he's calling it in his add-on or referencing it.
OP says they are referencing it like this in their template:

<xf:js src="robert9/test/data_fetcher.js" min="1" />

and doesnt understand why the xf:js template tag inserts an http link into the resulting page instead of https.
 
Does not preclude that (if an actual add-on) there is other code present that forces http instead of https.
I've got a feeling it may have to do with serving both http and https at the same time and no forced rewrite.
 
There is nothing else than this line:

<xf:js src="robert9/test/data_fetcher.js" min="1" />

In a second forum, everything works fine;
maybe it is a problem of cloudflare?

Both things happened in the same time:
a) start to use cloudflare
b) add-on not working

In a second forum
a) using cloudflare
b) add-on is working

source-code of add-on is same in both forums.
 
There is nothing else than this line:

<xf:js src="robert9/test/data_fetcher.js" min="1" />

In a second forum, everything works fine;
maybe it is a problem of cloudflare?

Both things happened in the same time:
a) start to use cloudflare
b) add-on not working

In a second forum
a) using cloudflare
b) add-on is working

source-code of add-on is same in both forums.
Can I see the forum with the problem?
 
<script src="/js/robert9/test/data_fetcher.min.js?_v=1118523e"></script>
<script src="/js/xf/token_input-compiled.js?_v=1118523e"></script>

Part of the source code;
there should be no difference between

<script src="/js/robert9/test/data_fetcher.min.js?_v=1118523e"></script>

and

<script src="/js/xf/token_input-compiled.js?_v=1118523e"></script>

but again i get the message "mixed code", "NS_ERROR_UNEXPECTED"


The funny thing is, that everything works fine on a second forum.
 
Top Bottom