News: TinyPortal Release Schedule. Please read this update for More Info.

Login  |  Register
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media
Welcome, Guest. Please login or register.
Did you miss your activation email?

December 16, 2019, 03:57:04 AM

Login with username, password and session length

Recent

Members
Stats
  • Total Posts: 189283
  • Total Topics: 20776
  • Online Today: 65
  • Online Ever: 629
  • (November 08, 2018, 01:36:54 PM)
Users Online
Users: 0
Guests: 48
Total: 48

Author Topic: Problem with https (Mixed content warning)  (Read 7829 times)

0 Members and 1 Guest are viewing this topic.

Offline Pravi

  • Jr. Member
  • **
  • Posts: 18
    • iCircuitBoard
Problem with https (Mixed content warning)
« on: June 25, 2016, 08:22:45 AM »
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.


Offline Pravi

  • Jr. Member
  • **
  • Posts: 18
    • iCircuitBoard
Re: Problem with https (Mixed content warning)
« Reply #1 on: June 25, 2016, 08:50:44 AM »
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.

Offline lurkalot

  • Administrator
  • *
  • Posts: 6357
    • Camera Craniums
Re: Problem with https (Mixed content warning)
« Reply #2 on: June 25, 2016, 09:36:07 AM »

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. ;)

Offline Pravi

  • Jr. Member
  • **
  • Posts: 18
    • iCircuitBoard
Re: Problem with https (Mixed content warning)
« Reply #3 on: June 25, 2016, 09:52:34 AM »
My Pleasure O0 O0

Offline allvip

  • Friends
  • *
  • Posts: 328
Re: Problem with https (Mixed content warning)
« Reply #4 on: June 25, 2016, 10:53:02 AM »
Thanks  :)
I added the fix to the new zip.

Offline emanuele

  • Jr. Member
  • **
  • Posts: 17
Re: Problem with https (Mixed content warning)
« Reply #5 on: July 02, 2016, 02:49:19 PM »
The common method to avoid that kind of problems is to use:
Code: [Select]
<script src="//code.jquery.com/jquery-1.10.1.min.js"></script>';without specify the schema at all.

Offline allvip

  • Friends
  • *
  • Posts: 328
Re: Problem with https (Mixed content warning)
« Reply #6 on: July 04, 2016, 10:40:59 AM »
The common method to avoid that kind of problems is to use:
Code: [Select]
<script src="//code.jquery.com/jquery-1.10.1.min.js"></script>';without specify the schema at all.

OK.
Thanks  :)