It may be something else causing this issue, but the website developer seems to believe this data come from my meteobridge server. Anyone have any suggestions?
No almanac data on website
Moderator: Mattk
-
steviebaby59
- Senior Boarder

- Posts: 47
- Joined: Wed Jun 11, 2014 2:52 pm
No almanac data on website
Since July 1, 2014, my almanac data is not displaying on my website. http://www.empireprairieweather.com I am using the meteobridge plug-in software for this site.
It may be something else causing this issue, but the website developer seems to believe this data come from my meteobridge server. Anyone have any suggestions?
It may be something else causing this issue, but the website developer seems to believe this data come from my meteobridge server. Anyone have any suggestions?
Re: No almanac data on website
Can you be more specific?
Regards.
Regards.
-
steviebaby59
- Senior Boarder

- Posts: 47
- Joined: Wed Jun 11, 2014 2:52 pm
Re: No almanac data on website
Here is what displays on my website:
Sunrise: 6:00pm
Sunset: 6:00pm
Moonrise: N/A
Moonset: N/A
It's been displaying this ever since July 1, 2014.
Sunrise: 6:00pm
Sunset: 6:00pm
Moonrise: N/A
Moonset: N/A
It's been displaying this ever since July 1, 2014.
Re: No almanac data on website
Running Meteobridge Linux 3.3.8 mips (LE), FW 1.0, MeteoBridge 2.3 (2547) on a Asus WL-330N3Gsteviebaby59 wrote:Here is what displays on my website:
Sunrise: 6:00pm
Sunset: 6:00pm
Moonrise: N/A
Moonset: N/A
It's been displaying this ever since July 1, 2014.
At my meteobridge test site:http://www.wiri.be/weather2/index.php?p ... MB&lang=en
all values are displayed correctly using the following MB-tags.
Code: Select all
$ws['sunrise'] = '[mbsystem-sunrise]';
$ws['sunset'] = '[mbsystem-sunset]';
$ws['moonrise'] = '[mbsystem-moonrise:<00:00]';
$ws['moonset'] = '[mbsystem-moonset:>00:00]';
$ws['lunarPhasePerc'] = '[mbsystem-lunarpercent]';
$ws['lunarAge'] = '[mbsystem-lunarage]';
$ws['sunrise'] = '05:33';
$ws['sunset'] = '21:58';
$ws['moonrise'] = '11:58';
$ws['moonset'] = '00:05';
$ws['lunarPhasePerc'] = '32.5';
$ws['lunarAge'] = '5';Code: Select all
Sunrise: 05:33
Sunset: 21:58
Moonset: 00:05
Moonrise: 11:58Wim
-
steviebaby59
- Senior Boarder

- Posts: 47
- Joined: Wed Jun 11, 2014 2:52 pm
Re: No almanac data on website
Well, I tried that just now. No change. I tried this the other day also.
I'm lost!
I'm lost!
Re: No almanac data on website
Well, then we have to check the files as uploaded by Meteobridge.steviebaby59 wrote:Well, I tried that just now. No change. I tried this the other day also.
I'm lost!
http://www.empireprairieweather.com/MBtags.php?sce=view
Seems perfectly OK to me, these lines are directly from your upload file.
Code: Select all
. . . shortened . . .
These tags generated on 2014-07-03 19:07:44 GMT
From MBtags-template.txt updated 2014-03-24 18:03:31 GMT
. . . shortened . . .
mbsystem-sunrise|05:54|// time of sunrise in local time. Can be converted to UTC by applying "=utc" to the variable (example: "06:47", resp. "05:47"):|:
mbsystem-sunset|20:51|// time of sunset in local time. Can be converted to UTC by applying "=utc" to the variable (example: "18:15", resp. "17:15"):|:
mbsystem-civilsunrise|05:22|// alternative computation for sunrise.:|:
mbsystem-civilsunset|21:24|// alternative computation for sunset.:|:
mbsystem-nauticalsunrise|04:41|// alternative computation for sunrise.:|:
mbsystem-nauticalsunset|22:05|// alternative alternative computation for sunset..:|:
mbsystem-daynightflag|D|// returns "D" when there is daylight, otherwise "N".:|:
mbsystem-moonrise|11:54|// time of moonrise in local time. Please notice that not every day has a moonrise time, therefore, variable can be non-existent on certain days (example: "05:46", resp. "04:46"):|:
mbsystem-moonset|--|// time of moonset in local time. Please notice that not every day has a moonset time, therefore, variable can be non-existent on certain days.:|:
Maybe someone made a script change the last days?
Maybe a new version of a script added on june 30?
Any ideas about that?
Keep us posted,
Wim
Re: No almanac data on website
Sorry to bother you again. The error is definitly not in Meteobridge.steviebaby59 wrote:Well, I tried that just now. No change. I tried this the other day also.
I'm lost!
When you look into the source (html) of your page (right click in chrome, select "view source" or something like that):
Code: Select all
<!-- get-USNO-sunmoon.php - Version 1.02 - 03-Dec-2011 -->
<!-- loading ./cache/USNO-moondata.txt from http://aa.usno.navy.mil/cgi-bin/aa_pap.pl -->
<!-- POST /cgi-bin/aa_pap.pl HTTP/1.1
Host: aa.usno.navy.mil Port: 80 IP=199.211.133.93-->
<!-- Sending:
POST /cgi-bin/aa_pap.pl HTTP/1.1
. . . shortened . . .
-->
<!-- HTTP stats: dns=0.046 conn=0.073 put=0.000 get(37 blocks)=0.292 close=0.000 total=0.412 secs -->
<!-- fetch function elapsed= 1 secs. -->
<!-- loading finished. -->
<!-- USNOdata
Array
(
)
-->
The information retrieved is EMPTY. So that is the explanation.
This is the error returned, check http://www.empireprairieweather.com/cac ... ondata.txt:
Code: Select all
<h3>Sun and Moon Data for One Day</h3>
37
<p>No latitude specified.
<p>No time zone specified.
5c
<br>
There is more know-how of errors with the USNO script then here at Meteobridge.
By the way, the Meteobridge supplies all that data fine. No need to use an extra script, I think. Curious why this script is there.
Maybe you used WeatherLink in the past?
Wim
-
steviebaby59
- Senior Boarder

- Posts: 47
- Joined: Wed Jun 11, 2014 2:52 pm
Re: No almanac data on website
I got it resolved this morning! It was something weird. I was trying to cater my website more for my community. I entered a sentence in the location line not realizing this would affect things. I guess I just need to leave stuff alone. 
