Author Topic: WXforum.net updated to PHP 7.2  (Read 2567 times)

0 Members and 1 Guest are viewing this topic.

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9257
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
WXforum.net updated to PHP 7.2
« on: July 21, 2018, 05:02:16 PM »
I decided to bite the bullet and upgrade the PHP from 5.6 to 7.2 today.

Please report any anomalies you may find due to this upgrade of PHP.  We are on the current release of SMF 2.0.15 and the mods are up-to-date.

Best regards,
Ken
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 galfert

  • Global Moderator
  • Forecaster
  • *****
  • Posts: 6822
Re: WXforum.net updated to PHP 7.2
« Reply #1 on: July 22, 2018, 04:32:04 AM »
If this is the latest version of SMF isn't  it weird that there is still ICQ, YIM, AIM, and MSN messenger code in the program. All of these are defunct.
Ecowitt GW1000 | Meteobridge on Raspberry Pi
WU: KFLWINTE111  |  PWSweather: KFLWINTE111
CWOP: FW3708  |  AWEKAS: 14814
Windy: pws-f075acbe
Weather Underground Issue Tracking
Tele-Pole

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9257
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: WXforum.net updated to PHP 7.2
« Reply #2 on: July 22, 2018, 10:51:55 AM »
True, all those messenger links are ghosts from the past.  PHP 7.2 brought a couple of headaches for me with addressing an ever-expanding PHP Deprecated messages both in the error_log and the SMF errorlog.  Looks like they used create_function() calls a lot, and that (along with each() ) is deprecated in PHP 7.2.

A quick change to php.ini to suppress deprecated errata and a change to Sources/Errors.php to not log E_DEPRECATED errata stemmed the flood of error messages clogging both logs. 

Other than that hickup, the forum seems to be performing normally after the upgrade of PHP.
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 ocala

  • Forecaster
  • *****
  • Posts: 4383
Re: WXforum.net updated to PHP 7.2
« Reply #3 on: July 22, 2018, 12:25:40 PM »
A big shout out to ya Ken for keeping the place running.
It's much appreciated. =D>
The blues had a baby and they named it Rock & Roll

Online Otis

  • (aka Paul)
  • Forecaster
  • *****
  • Posts: 724
    • Lake Huron Weather
Re: WXforum.net updated to PHP 7.2
« Reply #4 on: July 22, 2018, 02:15:50 PM »
A big shout out to ya Ken for keeping the place running.
It's much appreciated. =D>
=D> =D>

CW3699