Author Topic: Saratoga weather script not visible with https  (Read 419 times)

0 Members and 1 Guest are viewing this topic.

Offline cavuu

  • Senior Member
  • **
  • Posts: 57
    • Kincardine Weather
Saratoga weather script not visible with https
« on: March 24, 2025, 11:14:30 AM »
I have a stand alone Saratoga Environment Canada weather script that doesn’t display if I use https in my website address.
Bringing up the website and then deleting the “s” in “https” then refresh will load the weather.

I do have a script on the page to maintain formatting that links to the
ec-forecast.php

Any ideas?

www.pilor.com

Offline Jasiu / JJ

  • Forecaster
  • *****
  • Posts: 1019
    • LexMAWeather
Re: Saratoga weather script not visible with https
« Reply #1 on: March 24, 2025, 11:27:58 AM »
The problem is that you are pulling that piece into an iframe and the URL for that isn't secure (http://www.pilor.com/ec-pilor.php). If I go into inspection mode on my browser and change it to https, it appears.

https://lexmaweather.info
Mastodon: @LexMAWeather@toot.community
Bluesky: @LexMAWeather.toot.community.ap.brid.gy

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9697
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Saratoga weather script not visible with https
« Reply #2 on: March 24, 2025, 11:30:06 AM »
It looks like the iframe in https://www.pilor.com/index.html is loading a version of the ajax-dashboard.php and the associated ec-forecast.php script for display just fine.

The page that is not working correctly is https://www.pilor.com/radar.html with iframe to wxecradar-iframe.php

Those radar scripts are downlevel on your site .. the current versions are:

wxecradar-iframe.php V1.04 - 2024-04-25   
wxecradar-inc.php    V1.03 - 2024-04-25   
wxecradar-list-inc.php V1.06 - 2024-04-25   

Would you please cite the specific page that is showing the issue you're experiencing?

Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline PaulMy

  • Forecaster
  • *****
  • Posts: 5717
    • KomokaWeather
Re: Saratoga weather script not visible with https
« Reply #3 on: March 24, 2025, 11:33:03 AM »
Hi,
Doing a F12 on your page gives
Code: [Select]
radar.html:1  Mixed Content: The page at 'https://www.pilor.com/radar.html' was loaded over HTTPS, but requested an insecure script 'http://www.statcounter.com/counter/counter.js'. This request has been blocked; the content must be served over HTTPS.
Enjoy,
Paul

Offline cavuu

  • Senior Member
  • **
  • Posts: 57
    • Kincardine Weather
Re: Saratoga weather script not visible with https
« Reply #4 on: March 24, 2025, 12:12:41 PM »
Thanks to for all the quick replies.
Jasiu your suggestion solved the problem. Thank you!

Ken, the problem did not occur with every browser. Edge and Chrome were a problem. Firefox ok and everything displayed with my Android phone.

Thanks Ken and Paul for the heads up on the radar page. When this first happened I put a direct link on my homepage as a work around but forgot about my other linked pages. I will work on bringing everything up to date shortly.

Thanks to everyone. Don