I successfully made the conversion - none too soon. I do have one issue with the “new” script and I am certain it is a setting someplace I missed in my haste to get it operational.
I had, in the previous version, my alerts showing as (example):
SEVERE THUNDERSTORM WARNING
Carroll County - Benton County
SEVERE THUNDERSTORM WATCH
Madison County - Weakley County…
Now it displays as:
SEVERE THUNDERSTORM WARNING - Carroll County - Benton County
SEVERE THUNDERSTORM WATCH - Madison County - Weakley County…
I would like it to go back to that original (1st) layout. What setting did I overlook? Keep in mind I implemented this while under the gun… seriously - with Severe T-Storms, all over the place and in addition to my Weather Watching duties for the NWS I had to do this really, really quickly. Things have settled down for now weather wise… but in my quick haste I uploaded over top the original files and now cannot recall the settings.
Hi, I’m just getting caught up with this. I am using the v3 USA template with Weather Display and have updated the atom-advisory.php, atom-top-warning.php, get-meter-conditions-inc.php and nws-alerts.php. Following the updated I am getting a parse error on my wxadvisory.php page, cannot track it down. I was hoping Ken or someone may have a suggestion on what I may have done incorrectly. Possibly I have missed some previous updates that may be needed.
Thanks Gus! That was the issue. Even though my web host cpanel indicated I was using 5.4, the indication really meant that 5.4 was available to use. I made the switch from 5.2 to 5.4 and now the advisory works again.
I did have some fallout from the change however, I am getting a couple of error messages, attached. I’ll see if I can figure out the issue. I also maintain a second site which is still using Saratoga v2 templates and there are additional errors there. I’ll need to finally get that site on to v3, held off as long as I could :-).
Yes, I need to upgrade my second site to V3. Re version 5.6, it is available to me, says it is in beta so I was reluctant to try it. The upgrade options I have are attached. The one I upgraded to was the Single php.ini ver of 5.4
I tried using 5.6 but it caused an issue with the dashboard I use, so I went back to 5.4.
Using either version has also resulted in my cloud height graphic not showing, cannot figure out why. Has anyone experienced this when upgrading to 5.4+ ?
The reason your having problems with your dashboard is because its 7 years old. If you updated your dashboard to Scott’s latest, php 5.6 wont be an issue. You wont find any support for the dashboard your currently running unfortunately.
Thanks Mark, I suspected that would be the case. I haven’t taken the time to change the dashboard over the years since I was content with what I have. Time to reconsider.
OK Gentlemen
I have wore myself down and nearly pulled all my hair out over this one.
My nws-alerts.php hast suddenly quit working.
I keep getting a time out even after extending to 5 seconds over the 2 seconds
Added the suggested lines for godaddy and still fails.
check-fetch-times comes back with this response once every 3 to 4 times only otherwise it times out also.
–checking NWS Warning Zone ATOM/CAP Feed –
Using $SITE[‘noaazone’] entry for test.
URL: https://alerts.weather.gov/cap/wwaatmget.php?x=AKZ121
Cache: ./cache/atom-advisory-AKZ121.txt
GET /cap/wwaatmget.php?x=AKZ121 HTTP/1.1
Host: alerts.weather.gov Port: 80 IP=23.217.102.111
HTTP stats: dns=0.001 conn=0.067 put=0.000 get(7 blocks)=0.070 close=0.000 total=0.138 secs
fetch function elapsed= 0 secs.
RC=301 Moved Permanently, bytes=195
It looks like there is a temporary connectivity issue from your GoDaddy webserver to alerts.weather.gov – try calling GoDaddy tech support and ask them to log on to your webserver and run
themselves and see the result (timeout). Then they can start diagnosing why the webserver can’t connect to the alerts.weather.gov server.
BTW, the result you see with check-fetch-times.php is the Akamai response to a query to *.weather.gov that doesn’t have a User-agent: header in the request. I’ll have to update the utility to test with https+User-agent in the query.