Updated satelliteAU Block (v3.2) – fix functionality, image displays and PHP 8.x compatibility

Post Reply
SteveParry
Observer
Observer
Posts: 13
Joined: Thu Dec 26, 2019 7:16 am
Location: Samford Valley, Australia
Station model: Davis Vantage Vue
Software: CumulusMX
Contact:

Updated satelliteAU Block (v3.2) – fix functionality, image displays and PHP 8.x compatibility

Post by SteveParry » Thu Jan 16, 2025 6:46 am

Please read https://www.meteotemplate.com/forum/vie ... php?t=2598 topic for background.

I am very happy to hear of any bugs or issues you are having with these blocks, and will try my best to sort them out.
For ease of tracking please lodge comments, feedback, requests etc against this topic for this Block.

Issue:
  • Version 2.2 of satelliteAU stopped working when BOM prevented screen scraping access. Also threw errors in PHP 8.x.
  • Version 3.2 is attached which addresses this issue(s), includes enhancements, and fixes other bugs to enable it to run on PHP8.2. Tested on PHP7.4 and PHP8.2 using MeteoTemplate v19.0 Cranberry.
Changelog:
v3.0 - January 2023
  • Rewrite to use BOM FTP services. Add checkboxes for satellite.
v3.1 - November 2023
  • 20231128 having two variable variables together causes error in PHP 8.2. Array name created separately instead.
v3.2 - December 2024
  • 20241212 change to ftp_pasv to improve FTP transfer times and reliability.
  • 20241212 Improve error handling of ftp calls to BOM site.
  • 20241212 Change code because search string in ftp_nlist is not supported.
  • 20241212 Add an email address (“info@yoursite.com>” to the ftp connect (preferred username for BOM FTP access). Request for Jachym to make email address accessible from main config.
  • 20250109 Updated message to refer to BOM for latest info.
Installation
  • Backup your current satelliteAU folder, located in the homepage/blocks folder on your server.
  • Download the attached satelliteAU32.zip file, upload to the homepage/blocks folder of your server, and unzip to the homepage/blocks directory. (This will overwrite your current satelliteAU block folder.)
  • Use the Install/Setup Blocks in the admin menu to check the satelliteAU settings are correct.
Steve Parry, Australia. www.samfordweather.com
Attachments
satelliteAU32.zip
(79.82 KiB) Downloaded 582 times

Post Reply