Latest rtMedia changes https:// to http:// in links to the Lightbox


#1

So the Lightbox isn’t working in my install of rtMedia. When I look at the Developer console it has this error in it.


jquery.js?ver=1.12.4:4 Mixed Content: The page at ‘https://(mydomain)/groups/hailing-frequencies/’ was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint ‘http://(mydomain)/groups/hailing-frequencies/media/6/’. This request has been blocked; the content must be served over HTTPS.

send @ jquery.js?ver=1.12.4:4
ajax @ jquery.js?ver=1.12.4:4
getAjax @ rtmedia.min.js?ver=4.5.2:6
updateItemHTML @ rtmedia.min.js?ver=4.5.2:6
open @ rtmedia.min.js?ver=4.5.2:6
_openClick @ rtmedia.min.js?ver=4.5.2:6
d @ rtmedia.min.js?ver=4.5.2:6
dispatch @ jquery.js?ver=1.12.4:3
r.handle @ jquery.js?ver=1.12.4:3

The https has been changed to http.

I have my system setup to change http to https, so somewhere along the line, rtMedia appears to be changing http to https.

Is that the case?

If so, then this needs fixing urgently.

Thanks, Norman


#2

Soooo… I found that it isn’t RT media doing this. For reasons beyond understanding, some links on my website had https:// on them and others http://

So it was failing when a page using HTTPS:// was calling code (javascript) on a section that was being called by http://

I managed to fix it by searching and replacing in the database.

I do think that perhaps the links should be relative, not absolute, but I don;'t know if that is rtMedia or BuddyPress or…??

Anyway, looks like the problem is solved


#4

#5