TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 195,815
  • Total Topics: 21,284
  • Online today: 91
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 38
  • Total: 38

Problem with https (Mixed content warning)

Started by Pravi, June 25, 2016, 03:22:45 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Pravi

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.


Pravi

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.

lurkalot

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


allvip


emanuele

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.

allvip

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  :)

This website is proudly hosted on Crocweb Cloud Website Hosting.