Author Topic: Moon Icon and Phase Stuck at 6%  (Read 2167 times)

0 Members and 1 Guest are viewing this topic.

Offline tnwxman

  • Forecaster
  • *****
  • Posts: 423
  • KK4QXH
    • Weather for Lebanon, TN 37087
Moon Icon and Phase Stuck at 6%
« on: February 17, 2014, 11:50:16 PM »
Hi,

I need help. This morning I notice that my moon icon / phase on the alternate dashboard 6.92 says 6% illuminated while the my almanac page says it should be 94% illuminated. The 94% is correct since the full moon was on Friday 2-14-14. I do not recall making any changes to that area of the dashboard. I did update to the NWS alerts (which appears to be working fine) from the older atom script but that should have no effect on the moon phases. What did I mess up? ](*,)

I thank you in advance for your help in this matter.

Please advise.

Thanks.

Bob

lebanontnwx.org
Bob
KK4QXH

Offline tnwxman

  • Forecaster
  • *****
  • Posts: 423
  • KK4QXH
    • Weather for Lebanon, TN 37087
Re: Moon Icon and Phase Stuck at 6%
« Reply #1 on: February 18, 2014, 06:55:45 PM »
Hi,

I need help. This morning I notice that my moon icon / phase on the alternate dashboard 6.92 says 6% illuminated while the my almanac page says it should be 94% illuminated. The 94% is correct since the full moon was on Friday 2-14-14. I do not recall making any changes to that area of the dashboard. I did update to the NWS alerts (which appears to be working fine) from the older atom script but that should have no effect on the moon phases. What did I mess up? ](*,)

I thank you in advance for your help in this matter.

Please advise.

Thanks.

Bob

lebanontnwx.org

Update today the moon percentage is 5%. I cannot seem to find reason why it is reading wrong. Where does it get the information for the moon percentage and why is the almanac page which has the sunrise and moonrise etc. have the correct amount. If it is coming from WD then why the difference. This very perplexing!  ](*,)

Appreciate help in getting this resolved.

Thanks.

Bob
Bob
KK4QXH

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9279
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Moon Icon and Phase Stuck at 6%
« Reply #2 on: February 18, 2014, 11:47:34 PM »
Hi Bob,

Your alternative dashboard (6.92 - 09-Feb-2014) is showing a 5% illumination.  Your wxastronomy.php page (driven by WD) is showing
Quote
Moonrise: 21:17 (18-Feb-2014)
Moonset: 08:43 (19-Feb-2014)
Waning Gibbous
84% Illuminated
which is very similar to what I get for my lat/long from the USNO which is
Quote
Moonrise: 9:44pm (02/18/2014)
Moonset: 8:35am (02/18/2014)
Waning Gibbous
86% Illuminated

Why your dashboard shows a highly different image/percentage is something for Scott (burnsvilleweather) to address .. it's his dashboard :)

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 tnwxman

  • Forecaster
  • *****
  • Posts: 423
  • KK4QXH
    • Weather for Lebanon, TN 37087
Re: Moon Icon and Phase Stuck at 6%
« Reply #3 on: February 19, 2014, 10:00:20 AM »
Hi Ken,

Thanks! :-)

Best regards,

Bob
Bob
KK4QXH

Offline MackerelSky

  • Contributor
  • ***
  • Posts: 113
    • McKean County Weather, Smethport Pa.
Re: Moon Icon and Phase Stuck at 6%
« Reply #4 on: February 19, 2014, 04:03:49 PM »
Hi Bob,

As I don't use the new version this might not be the cure all but should help.
Viewing the 'source' of your page, in your head tag you are calling

Code: [Select]
<script type="text/javascript" src="ajaxWDwx.js"></script>

I downloaded the latest version off of his site and it looks like he has an updated .js file and you should be calling

Code: [Select]
<script type="text/javascript" src="ajaxWDwx3.js"></script>

You have it uploaded, just not referencing it

Brad
Mckean County Weather
Located on upper Marvin Creek
https://mckeanweather.com/
Davis VP2 + fars
Cumulus 1.9.4-b1092

 

Offline tnwxman

  • Forecaster
  • *****
  • Posts: 423
  • KK4QXH
    • Weather for Lebanon, TN 37087
Re: Moon Icon and Phase Stuck at 6%
« Reply #5 on: February 20, 2014, 05:11:43 PM »
Hi Brad,

I cannot seem to find the line you are referencing in the dashboard6.php. Is that what you are referring to?

Bob
Bob
KK4QXH

Offline jgillett

  • Forecaster
  • *****
  • Posts: 1187
  • Boltek, Win7 Pro, ToA
    • TiggrWeather Phoenix
Re: Moon Icon and Phase Stuck at 6%
« Reply #6 on: February 20, 2014, 05:39:36 PM »
I cannot seem to find the line you are referencing in the dashboard6.php. Is that what you are referring to?

Bob

Going to make you work a bit for this one, Bob.

Read the READ-ME-1ST.txt file included in Scott's download!   :roll:

Also, he did an excellent job on the revision of the instructions in SetupInstructions-altdashboard69x.pdf.

Sorry - had to pick a little...
John
W7JKG

Offline tnwxman

  • Forecaster
  • *****
  • Posts: 423
  • KK4QXH
    • Weather for Lebanon, TN 37087
Re: Moon Icon and Phase Stuck at 6%
« Reply #7 on: February 20, 2014, 06:36:36 PM »
Hi John,

No problem pick away. Yes, my settings-weather.php already had the change made.

$SITE['WXtags']         = 'testtags.php';  // for weather variables .. we're using the old name instead of WDtags.php
$SITE['ajaxScript']     = 'ajaxWDwx3.js'; // for AJAX enabled display

So I am still unclear what Brad saw.

This issue is certainly challenging.

Bob
Bob
KK4QXH

Offline MackerelSky

  • Contributor
  • ***
  • Posts: 113
    • McKean County Weather, Smethport Pa.
Re: Moon Icon and Phase Stuck at 6%
« Reply #8 on: February 20, 2014, 06:47:05 PM »
Hi Brad,

I cannot seem to find the line you are referencing in the dashboard6.php. Is that what you are referring to?

Bob

If you right click on your homepage and click 'view source' as I said, you'll see you've been calling the wrong ajax file.

You say you made the change to the Settings-weather.php but did it actually get uploaded to your server?

Brad




Mckean County Weather
Located on upper Marvin Creek
https://mckeanweather.com/
Davis VP2 + fars
Cumulus 1.9.4-b1092

 

Offline tnwxman

  • Forecaster
  • *****
  • Posts: 423
  • KK4QXH
    • Weather for Lebanon, TN 37087
Re: Moon Icon and Phase Stuck at 6%
« Reply #9 on: February 20, 2014, 06:52:52 PM »
Hi Brad,

Ok yes I see what you mean. Yes the Settings-weather.php is on my site and with the number 3. Interesting. What might be causing this?

Thanks.

Bob
Bob
KK4QXH

Offline jgillett

  • Forecaster
  • *****
  • Posts: 1187
  • Boltek, Win7 Pro, ToA
    • TiggrWeather Phoenix
Re: Moon Icon and Phase Stuck at 6%
« Reply #10 on: February 20, 2014, 06:54:45 PM »
Bob, I see the same as Brad. If the correct file were being called the Ajax item on your home page, at the bottom of Station All Time Records, would say Ajax 3.07. Now it says Ajax 3.xx.
John
W7JKG

Offline tnwxman

  • Forecaster
  • *****
  • Posts: 423
  • KK4QXH
    • Weather for Lebanon, TN 37087
Re: Moon Icon and Phase Stuck at 6%
« Reply #11 on: February 20, 2014, 06:57:10 PM »
is settings suppose to be Settings or settings? Could that be the issue? Otherwise it is at my site with Settings-weather.php.

Strange? What might be causing this.

Bob

Bob
KK4QXH

Offline jgillett

  • Forecaster
  • *****
  • Posts: 1187
  • Boltek, Win7 Pro, ToA
    • TiggrWeather Phoenix
Re: Moon Icon and Phase Stuck at 6%
« Reply #12 on: February 20, 2014, 06:59:51 PM »
Settings-weather.php
John
W7JKG

Offline tnwxman

  • Forecaster
  • *****
  • Posts: 423
  • KK4QXH
    • Weather for Lebanon, TN 37087
Re: Moon Icon and Phase Stuck at 6%
« Reply #13 on: February 20, 2014, 07:12:23 PM »
Hi John,

It is with the capital S. It is in the root directory of my website where it should be. So what is causing the source code to show that I am not referencing the correct .js?

We have some weather moving in and I volunteer with our EMA in a weather operations group we have. I heading to our communication center now. I will check from my cell phone but will not be able to make any changes to my site until I return.

I appreciate everyone's help with this.

Thank you being patient with this.

Bob
KK4QXH
Bob
KK4QXH

Offline tnwxman

  • Forecaster
  • *****
  • Posts: 423
  • KK4QXH
    • Weather for Lebanon, TN 37087
Re: Moon Icon and Phase Stuck at 6%
« Reply #14 on: February 20, 2014, 10:49:57 PM »
OK I am back so I can work on this. Any other suggestions as to why the page keeps showing that wrong script being used.
Bob
KK4QXH

Offline MackerelSky

  • Contributor
  • ***
  • Posts: 113
    • McKean County Weather, Smethport Pa.
Re: Moon Icon and Phase Stuck at 6%
« Reply #15 on: February 21, 2014, 04:00:17 AM »
*edit*

Just saw Ken's response in the other thread :sad:, I should have looked there first.



« Last Edit: February 21, 2014, 04:05:53 AM by MackerelSky »
Mckean County Weather
Located on upper Marvin Creek
https://mckeanweather.com/
Davis VP2 + fars
Cumulus 1.9.4-b1092

 

Offline tnwxman

  • Forecaster
  • *****
  • Posts: 423
  • KK4QXH
    • Weather for Lebanon, TN 37087
Re: Moon Icon and Phase Stuck at 6%
« Reply #16 on: February 21, 2014, 09:04:15 AM »
Thanks Brad. Somehow I missed that when I did the V3 update. It is now in place. The situation with the moon icon still exist.

Bob
Bob
KK4QXH

Offline jgillett

  • Forecaster
  • *****
  • Posts: 1187
  • Boltek, Win7 Pro, ToA
    • TiggrWeather Phoenix
Re: Moon Icon and Phase Stuck at 6%
« Reply #17 on: February 21, 2014, 09:40:54 AM »
Make sure all your template files have been updated to V3. You're still not getting to ajaxWDwx3.js, as your page is still showing Ajax 3.xx rather than Ajax 3.07.

You have a script from Ken called check-fetch-times.php. Run it like this...

http://lebanontnwx.org/check-fetch-times.php?show=versions

It will show if any of your files are out of date (looks like they are all OK, so I'm stuck).
John
W7JKG

Offline tnwxman

  • Forecaster
  • *****
  • Posts: 423
  • KK4QXH
    • Weather for Lebanon, TN 37087
Re: Moon Icon and Phase Stuck at 6%
« Reply #18 on: February 21, 2014, 09:57:24 AM »
Hi John,

Thank you for the input. You might want to recheck my page again as I have been showing 3.07 since I did the top.php this morning.

ICN:9 | S3C2:1 | Ajax 3.07
ISS:Ok | CON:4.4 | RCP:96%

If you are seeing otherwise I am curious what might be the reason.

I did the check you suggested and all scripts that are checked are showing current.

 ](*,)

The elusive moon situation continues.

If I type in ajaxdashboard.php I get the correct moom information. When I type in ajaxdashboard6.php the moon icon shows 3% illuminated and no other moon information. So my thinking is that my error is my ajaxdashboard6.php script. BUT WHERE!

Hopefully someone can find the error that I seem to be overlooking!

Thanks.

Bob
« Last Edit: February 21, 2014, 10:20:22 AM by tnwxman »
Bob
KK4QXH

Offline gwwilk

  • Southeast Lincoln Weather
  • Forecaster
  • *****
  • Posts: 2578
    • SouthEast Lincoln, NE Weather
Re: Moon Icon and Phase Stuck at 6%
« Reply #19 on: February 21, 2014, 01:23:35 PM »
Thank you for the input. You might want to recheck my page again as I have been showing 3.07 since I did the top.php this morning.

ICN:9 | S3C2:1 | Ajax 3.07
ISS:Ok | CON:4.4 | RCP:96%

Bob
I'm baffled by your problem, Bob.  I see 'Ajax 3.xx' in Chrome, IE 11, and Safari, and I see 'Ajax 3.07' in Firefox on your web site as the version number, BUT when I look at the Sources in Chrome's developer tools and Firebug I see 'ajaxWDwx3.js' as the source!!!

Did you send me a copy of your ajax-dashboard6.php?  I PM'ed you with my email address, but I haven't seen a response.
Regards, Jerry Wilkins
gwwilk@gmail.com

Offline tnwxman

  • Forecaster
  • *****
  • Posts: 423
  • KK4QXH
    • Weather for Lebanon, TN 37087
Re: Moon Icon and Phase Stuck at 6%
« Reply #20 on: February 21, 2014, 01:38:15 PM »
Hi Jerry,

Somehow I missed your message. It was attached to a PM I sent to Ken when I updated to V3. I see another PM from you but it is referencing the thread we have going concerning the issue and I did not see your email address there. Boy that is strange. Then again I may be so confused with this issued I missed your address. I see it now check your email.

Interest findings. It appears only Firefox (which I use) shows the ajax version and the others do not. Also when I type ajaxdashboard.php it get the moon information correctly but that is with the standard dashboard. So I think it has to be something in the dashboard6.

Let me know. I would like you to look at my file.

Thanks.

Bob
« Last Edit: February 21, 2014, 01:50:52 PM by tnwxman »
Bob
KK4QXH

Offline jgillett

  • Forecaster
  • *****
  • Posts: 1187
  • Boltek, Win7 Pro, ToA
    • TiggrWeather Phoenix
Re: Moon Icon and Phase Stuck at 6%
« Reply #21 on: February 21, 2014, 05:24:15 PM »
Assume you found something, Bob? I'm now seeing a 58% moon and Ajax 3.07 under Safari, Chrome, and Firefox (all Mac).
John
W7JKG

Offline tnwxman

  • Forecaster
  • *****
  • Posts: 423
  • KK4QXH
    • Weather for Lebanon, TN 37087
Re: Moon Icon and Phase Stuck at 6%
« Reply #22 on: February 21, 2014, 05:51:26 PM »
Hi All,

I want to thank everyone for their suggestions, help, and checking with getting the moon icon and other issues resolved. Bit by bit I got closer to the resolution.

I especially want to thank Jerry for taking the time to look at my dashboard and js files as that was ultimately where my mistakes were. Jerry my hat is off to you!. Thank you Sir. =D&gt;

Humbly and with best regards,

Bob
Bob
KK4QXH