TinyPortal

Development => Support => Installation => Topic started by: Pravi on June 25, 2016, 03:22:45 PM

Title: Problem with https (Mixed content warning)
Post by: Pravi on June 25, 2016, 03:22:45 PM
Hi guys.

  I have a new problem with https. I use ssl for my forum. After installing tiny portal, chrome gives me one error related to mixed content.


I am not an expert in coding and this is huge problem which i cant solve myself..help me guys


Link to my forum: http://icircuitboard.com
SMF version: 2.0.11
TP version: 1.2
Default Forum Language: English
Theme name and version: Redsy
Browser Name and Version: Chrome and firefox
Mods installed: Tiny portal (only)
Related Error messages: Mixed Content: The page at 'https://icircuitboard.com/' was loaded over HTTPS, but requested an insecure script 'http://code.jquery.com/jquery-1.10.1.min.js'. This request has been blocked; the content must be served over HTTPS.

Title: Re: Problem with https (Mixed content warning)
Post by: Pravi on June 25, 2016, 03:50:44 PM
The problem is solved. I changed the line

<script src="http://code.jquery.com/jquery-1.10.1.min.js"></script>';

to

<script src="https://code.jquery.com/jquery-1.10.1.min.js"></script>';

in Tportal.php

Now the problem is solved.
Title: Re: Problem with https (Mixed content warning)
Post by: lurkalot on June 25, 2016, 04:36:07 PM
Quote from: Pravi on June 25, 2016, 03:50:44 PM

Now the problem is solved.


Thanks for letting us know, and posting the solution. It will be handy for anyone else having the same problem. ;)
Title: Re: Problem with https (Mixed content warning)
Post by: Pravi on June 25, 2016, 04:52:34 PM
My Pleasure O0 O0
Title: Re: Problem with https (Mixed content warning)
Post by: allvip on June 25, 2016, 05:53:02 PM
Thanks  :)
I added the fix to the new zip.
Title: Re: Problem with https (Mixed content warning)
Post by: emanuele on July 02, 2016, 09:49:19 PM
The common method to avoid that kind of problems is to use:

<script src="//code.jquery.com/jquery-1.10.1.min.js"></script>';

without specify the schema at all.
Title: Re: Problem with https (Mixed content warning)
Post by: allvip on July 04, 2016, 05:40:59 PM
Quote from: emanuele on July 02, 2016, 09:49:19 PM
The common method to avoid that kind of problems is to use:

<script src="//code.jquery.com/jquery-1.10.1.min.js"></script>';

without specify the schema at all.

OK.
Thanks  :)