cloudy cloudy

Author Topic: php 7 Wxsim 3in1 script  (Read 2411 times)

0 Members and 1 Guest are viewing this topic.

Offline meteosa

  • Posts: 51
  • Italy
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Firefox 54.0
    • MeteoSantAngelo.it
php 7 Wxsim 3in1 script
« on: June 16, 2017, 06:55:24 PM »
Hello everyone!
I've updated the version php at 7 and now the description of the forecast is no longer working. Does anyone know how to help me?
Is the script no longer compatible with php 7?
Before I had php 5.6 and everything worked.

link: https://www.meteosantangelo.it/wxsim/previsioni.php

Thank you

Offline Breezy

  • Indian Trail Weather
  • Posts: 367
  • Hessville, NY, U.S.A.
    • baldwinj1
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Firefox 58.0
    • Indian Trail Weather
Re: php 7 Wxsim 3in1 script
« Reply #1 on: February 11, 2018, 07:57:06 PM »
Same issue here. I tried upgrading from PHP 5.6 to PHP 7.1 (GoDaddy). When running the "3in1" script http://indiantrailweather.com/wx3in1.php the "description and notes" section in the "Overview" tab displays "blank". Any ideas?

Thank you.

Update: Reverted back to PHP 5.6 until I can find a solution.
« Last Edit: February 12, 2018, 02:38:51 AM by Breezy »
Jeff

W7-64, Intel Z170A 16 GB RAM
Davis VP2 Plus & Soil Moisture/Temp Sensors, Laser Snow Sensor LR4/Fluke 414D, 6 Webcams

Offline atsio

  • Weather at Thessaloniki - Northern Greece.
  • Posts: 419
  • Macedonia is GREECE! Study history!
  • Thessaloniki - Greece
  • OS/Browser:
  • Win NT 10.0
  • Chrome 64.0.3282.186
    • Weather conditions at Thessaloniki Historical Center-Central Macedonia-Greece
Re: php 7 Wxsim 3in1 script
« Reply #2 on: March 11, 2018, 03:50:46 PM »
Problems here too with PHP version 7.2.3!

The script is working, but it creates a huge (GBytes) log file in my server containing php errors!

Is there a way to stop the creation of that error logfile?

I rolled back to php 5.6 until there will be a solution for that issue.

Thanos

Offline meteoxabia

  • Posts: 16
  • OS/Browser:
  • Win XP
  • Firefox 52.0
Re: php 7 Wxsim 3in1 script
« Reply #3 on: March 29, 2019, 05:37:00 PM »
Hello good afternoon
Yesterday I updated my version of php to 7.2, my previous one was 5.3, and since I updated my forecast in text does not appear on my website.
If they update the icons well, but not the text.
Does anyone know what to do to modify and update it well?
Thank you.
This link is from the forecast on my website that does not update well
http://www.meteoxabia.com/previsiones_meteoxabia.htm
here in the original template:
https://www.meteoxabia.com/estacions/port/plaintext-parser1.php
And as you see the plaintext.txt if it updates well, but is not reflected in the web, I do not know if it will be necessary to change some script.
Thank you.

Offline mikeym

  • Posts: 1,304
  • Thornhurst, Pa USA
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Firefox 66.0
    • MikeyMs Thornhurst,PA Weather
Re: php 7 Wxsim 3in1 script
« Reply #4 on: April 23, 2019, 08:15:32 PM »
After updating to PHP 7.2 no weather description is showing up in "Overview", but the description is showing up in the "Hour by Hour" section. Any ideas would be greatly appreciated.

http://mikeymsweather.com/wx3in1.php

Thanks

 :?

MikeyM
http://mikeymsweather.com/

Another VERY Happy WD user
Shuttle XS36v4 8 GB RAM
Davis Vantage Pro 2 wireless w/ Davis solar sensor
Laser Snow Depth Sensor LR4/Fluke 414D working in WD thanks to Brian

Offline Budgie

  • Martin
  • Global Moderator
  • Posts: 6,022
  • CWOP: CW7959
  • Lochaber, Scotland
  • OS/Browser:
  • Win NT 10.0
  • Firefox 66.0
    • Lochaber-Weather
Re: php 7 Wxsim 3in1 script
« Reply #5 on: April 24, 2019, 11:49:57 AM »
Firstly, check that all your Saratoga Template PHP files are up to date, including the Settings & plaintext-parser scripts.
I had this issue when I upgraded to PHP 7.2 and I think I fixed it by installing these updates, although I can't remember exactly.  :wink:

Offline PeeGee

  • Posts: 17
  • Leudal, Netherlands
  • OS/Browser:
  • Win NT 10.0
  • Firefox 66.0
    • Meteo Leudal Limburg
Re: php 7 Wxsim 3in1 script
« Reply #6 on: April 24, 2019, 12:08:46 PM »
Here is the solution that I have successfully used.

http://www.wxforum.net/index.php?topic=33846.msg344036#msg344036

Peter.
« Last Edit: April 24, 2019, 12:20:30 PM by PeeGee »
    

Offline mikeym

  • Posts: 1,304
  • Thornhurst, Pa USA
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Firefox 66.0
    • MikeyMs Thornhurst,PA Weather
Re: php 7 Wxsim 3in1 script
« Reply #7 on: April 24, 2019, 08:59:08 PM »
Thanks Peter

That post helped me solve the problem. I had searched the forum, but somehow missed that topic.

Cheers

 :D

MikeyM

www.mikeymsweather.com
http://mikeymsweather.com/

Another VERY Happy WD user
Shuttle XS36v4 8 GB RAM
Davis Vantage Pro 2 wireless w/ Davis solar sensor
Laser Snow Depth Sensor LR4/Fluke 414D working in WD thanks to Brian