checking for updates since 2017-11-01, one of the files listed for update is ajaxAWNwx.js . Problem is I don’t show this file as having ever been used before…I don’t find it on my host or in my file folder. Can anyone tell me what this is for? Do I need it? Should I just upload it to my server in the root directory?
currently running version 1.02 of nws-alerts-config.php. This is the last of the updates I needed to complete…after d/l and configuration I uploaded to host. All I get then is a blank screen in the color of my background which in my case is black…switch back to 1.02 and all is well…any ideas what I’m doing wrong?
That latest update implemented support for Ambientweather. Just upload the entire package to your server root like you do for other Saratoga updates. Check the readme file to see which of the files, if any, need to be modified for your specific installation. if you don’t use Ambientweather then you can ignore the instructions to modify that file.
The ajaxAWNwx.js file is new with support added for using the Ambientweather.net site for data.
All the AJAX JavaScripts are included with the Base-* files and default customized for the default units (USA->Imperial, World, Canada->Metric) and that is why they are not included in the *-plugin distributions. And Don has it correct… if you don’t use that plugin, then just ignore the customization instructions.
This method of distribution (all the AJAX files in the Base) allows folks to easily switch weather software by selecting a different Plugin as all the parts are available on the site already. When you use the check-fetch-times.php?show=versions Version checker, it only assesses the current status of your Base and active Plugin and the update tool only offers the updates the same way.
Hi Ken…tnx…easiest way I can describe is when I have version 1.02 of nws-alerts-config.php in my host root directory, my web site runs just fine. If I upgrade to version 1.03, do the customization and upload to the root… going to www.bwsrh.com only gives me a blank screen the color of which is my background choice of black…nothing is displayed…no website can be seen at all…
go back to 1.02 and all is well…hopefully this explanation will help!
If a file is pure PHP code, it is preferable to omit the PHP closing tag at the end of the file. This prevents accidental whitespace or new lines being added after the PHP closing tag, which may cause unwanted effects because PHP will start output buffering when there is no intention from the programmer to send any output at that point in the script.
Since nws-alerts-config.php is pure PHP, the closing ?> was deliberately omitted.
I don’t know why that omission would cause your screen to be blank as you described.
Thanks Ken…but for whatever reason if I omit it in this latest version 1.03, my website doesn’t work…I brought it as a carry over from 1.02 which did have ?>
whatever, I’m no expert but I would ask do u see me having any problems using ?> with ver 1.03 or should I migrate back to 1.02