Author Topic: Php 8.1  (Read 4152 times)

0 Members and 1 Guest are viewing this topic.

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9717
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Php 8.1
« Reply #25 on: April 17, 2023, 11:44:45 AM »
It may be the first code line of
Code: [Select]
$lang = $_GET[lang];
that should be
Code: [Select]
$lang = $_GET["lang"];
This is fairly old code by Henkka of nordicweather .. there may be more like that in other parts of the scripts, but you'll need to use the error_log on your website to find them and fix them.
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 JupiterJoe

  • Senior Contributor
  • ****
  • Posts: 195
  • JupiterWX.com
    • Live Jupiter, FL Weather
Re: Php 8.1
« Reply #26 on: April 17, 2023, 11:09:58 PM »
Thank you, I will check it out on my days off. For the time being, I just have the screenshot from the NexStorm program uploading there.
Thank you again for your help.

Offline JupiterJoe

  • Senior Contributor
  • ****
  • Posts: 195
  • JupiterWX.com
    • Live Jupiter, FL Weather
Re: Php 8.1
« Reply #27 on: April 28, 2023, 10:50:54 AM »
So, a couple more questions on this new version if I may.
Try as I might, I can't get the webcam image to show at the current conditions icon as I have in the past. I've tried many variations and it just doesn't seem to want to show. Any thoughts?
Also, the "Last Hour" dew point reading is wildly off, always showing something like -32 or similar. It seems to show the correct value before the ajax kicks in.
Also, the Lightning "last minute" seems off as well. It will show the correct info in WD, but not on the dashboard. Sometimes, if I refresh the page it will show, then go away.
Rain no longer updates with Ajax. I have to manually reload the page.

Thank you for any guidance!
« Last Edit: April 28, 2023, 08:02:34 PM by JupiterJoe »

Offline HamiltonNJWX

  • Senior Member
  • **
  • Posts: 61
    • HamiltonWx
Re: Php 8.1
« Reply #28 on: June 23, 2023, 09:55:45 AM »
My rain does not update without a refresh as well using alt dashboard, Ken has knocked all of my issues out except for that one. I would love to know how to fix this. Minor, but irritating. lol

Offline JupiterJoe

  • Senior Contributor
  • ****
  • Posts: 195
  • JupiterWX.com
    • Live Jupiter, FL Weather
Re: Php 8.1
« Reply #29 on: June 24, 2023, 07:09:48 AM »
My rain does not update without a refresh as well using alt dashboard, Ken has knocked all of my issues out except for that one. I would love to know how to fix this. Minor, but irritating. lol
I haven’t heard anything back on any of this. I’ve just been ignoring it until I get motivated enough to delete and reinstall the entire script and see if that will work. I don’t know why none of this works for me. All I did was update the script to the new version and copied all the usual settings from the previous version. 🤷‍♂️

Offline HamiltonNJWX

  • Senior Member
  • **
  • Posts: 61
    • HamiltonWx
Re: Php 8.1
« Reply #30 on: June 26, 2023, 07:24:12 AM »
I did try doing that as well when the new version cam out, but no luck. im by far no expert in coding,  still seem to think it is something in the ajaxWDwx3.js file, I just cant find anything that can be causing it.

John