WXforum.net
Web Weather => Weather Website PHP/AJAX scripting => Topic started by: yamiacaveman on April 04, 2019, 01:30:28 PM
-
Ken, I see on the Legacy page the 6.95b package says, " complete support scripts and image files needed,use this for NEW installs. (PHP 5.6+,PHP 7+"
That doesn't mean just new installs does it - can I use it to update my 6.95 version??? Just checking before I ruin everything???
yamiacaveman
-
It may be a bit more complicated for old installs looking to upgrade using the 6.95b package.
Several of the files need a bit of customization so just blindly replacing them without that customization will likely impact your site.
For ajax-dashboard6.php, any settings NOT overridden by things in Settings.php $SITE[], you should check old v.s. new and copy your old settings there to the new script.
Same applies to the AltAjaxDashboardConfig.php file (some new settings were added for the sunpie).
get-aqi-rss.php - get/parse AQI value (USA ONLY)
note: customize get-aqi-rss.php for your location
raintodate.php - parse dailynoaaclimatereports for data
note: may require additional customization for your location
cloud-base.php - WD-configured Bashewa cloud base display script
note: may require additional customization for your location
So a bit of compare/update in new is recommended.
For the ajax-images/ directory, it may have some icons you need, so it's safe to upload the directory as-is to your site.
Same with the ./cache/heavenpie.png image -- it will be replaced with up-to-date image when the new ajax-dashboard6.php runs on your site.
Do let us know if you found something else that needed doing for an update and I'll add it to the docs.
-
Hi Ken,
Updating went smooth.
Only one little glitch -- I believe it was the heavensLegends.png either wasn't uploaded or uploaded to the right place and I'm not sure if it was my settings but it was looking for it in /ajax-images/heavensLegend.png so I just added it there.
-
I just checked the .zip -- ./ajax-images/heavensLegend.png is in the distribution. I'd relocated several images from the document root to ./ajax-images/ directory with this distribution.. just seemed to be a bit neater in organization.
-
I just checked the .zip -- ./ajax-images/heavensLegend.png is in the distribution. I'd relocated several images from the document root to ./ajax-images/ directory with this distribution.. just seemed to be a bit neater in organization.
Thanks, Ken, for the reorganization. [tup] As is my wont when trying to create something that works for me, I tend to forget about such things. :oops:
-
Thanks Ken working w/out issue.
:-)
-
Thanks Ken,
After a few days all seems to be working fine.