Recent Posts

Pages: [1] 2 3 ... 10
1
Advforecast2.php and ajaxdashboard.php errors suddenly started appearing on my home page this afternoon.  I am current on all updates.  Not sure what is the exact problem, but it appears to be with the forecast scripts. Any help would be most appreciated.  Site was working smoothly until now. 

https://sartelleastweather.com
2
you should have (in the Base-USA distribution) wxnws-alerts-log.php to do just that.
Just change flyout-menu.xml to link to wxnws-alerts-log.php instead of nws-alerts-log.php
3
That is truly an ancient script by Michael of the former relayweather.. the last version I have was from 2011.

I think the issue is your quality data page from gladstone has a missing icon for a check mark about wind data and that causes the script to emit the Notice errata.

You can change cwopstats.php to have
Quote
<?php
error_reporting(E_ALL & ~E_NOTICE);
at the top of of the page (replacing the opening <?php

 
4
The issue where you see "°F" in the result is due to the degree sign being in UTF-8 while the browser is defaulting to ISO-8859-1.

In your meteobridge template, use &deg; instead of a literal degree sign, then it should appear correctly irrespective of what the browser's default character set is.

Also, you might try additionally in using dashboard.txt as the result name since it is really just text w/o any HTML markup.

Thank you for the help. For now I just deleted the degree marks....trying to fig out what areas I need to add the code you said.

Thanks again for the help!
5
The issue where you see "°F" in the result is due to the degree sign being in UTF-8 while the browser is defaulting to ISO-8859-1.

In your meteobridge template, use &deg; instead of a literal degree sign, then it should appear correctly irrespective of what the browser's default character set is.

Also, you might try additionally in using dashboard.txt as the result name since it is really just text w/o any HTML markup.
6
Yes the wx5.html file is updating in both my webfiles folder on CPU and on the server. I can tell that also by the time and current data updating every 5 minutes on the webpage. Also, I convert the wx5.html file to wx5.php via cron job and that is the webpage. https://vermilionweather.com/wx5.php
7
The wx5.html on you website https://vermilionweather.com/wx5.html suggests the file is not being uploaded what is happening with the wx5.html in you WD webfiles folder
I will test those tags on my test file and see what happens and let you know but it will be evening my time after I have sorted my father tea need my laptop to do it
8
I am trying to make a page at https://desotowiwx.com/dashboard.txt for a simple page. Because I am going to make it a widget for my phone. But I keep getting strange text mixed in with my info. What am I doing wrong?

I am using meteobridge for updates.

thank you for anyone that can lead the way for me.
9
Well, making some progress. Snag now is testtags are not being fully converted on my wx5.html page.
I'm uploading testtags.php just fine but my converted wxlocal5.html file being uploaded is only converting the top 2 lines of the testtags. The Date & Time and current conditions. All others are not being converted prior to being uploaded to server.
Here is what is happening on the page and my code for the wxlocal5.html
Appreciate any help. My wx7.html page is working fine now and converted everything that was designated.

 [ You are not allowed to view attachments ]

Code: [Select]
<center> <h3><u>-Current / Recent Stats as of %date% %time%-</u></h3> </center>
       
      <table width="99%" cellpadding="0" cellspacing="0">

<tr class="table-top">
<td>TIME</td>
<td>TEMP</td>
<td>WIND SPD</td>
<td>WIND GUST</td>
<td>WIND DIR</td>
<td>HUMIDITY</td>
<td>PRESSURE</td>
<td>RAIN</td>
</tr>

<tr class="column-light">
<td>Current</td>
<td>%temp% &deg;F</td>
<td>%avgspd%</td>
<td>%gstspd%</td>
<td>%dirlabel%</td>
<td>%hum%</td>
<td>%baro%</td>
<td>%dayrn%</td>
</tr>

<tr class="column-dark">
<td>5 minutes ago</td>
<td>%temp5minuteago% &deg;F</td>
<td>%wind5minuteago%</td>
<td>%gust5minuteago%</td>
<td>%dir5minuteago%</td>
<td>%hum5minuteago%</td>
<td>%baro5minuteago%</td>
<td>%rain5minuteago%</td>
</tr>

<tr class="column-light">
<td>10 minutes ago</td>
<td>%temp10minuteago% &deg;F</td>
<td>%wind10minuteago%</td>
<td>%gust10minuteago%</td>
<td>%dir10minuteago%</td>
<td>%hum10minuteago%</td>
<td>%baro10minuteago%</td>
<td>%rain10minuteago%</td>
</tr>

<tr class="column-dark">
<td>15 minutes ago</td>
<td>%temp15minuteago% &deg;F</td>
<td>%wind15minuteago%</td>
<td>%gust15minuteago%</td>
<td>%dir15minuteago%</td>
<td>%hum15minuteago%</td>
<td>%baro15minuteago%</td>
<td>%rain15minuteago%</td>
</tr>

<tr class="column-light">
<td>20 minutes ago</td>
<td>%temp20minuteago% &deg;F</td>
<td>%wind20minuteago%</td>
<td>%gust20minuteago%</td>
<td>%dir20minuteago%</td>
<td>%hum20minuteago%</td>
<td>%baro20minuteago%</td>
<td>%rain20minuteago%</td>
</tr>

<tr class="column-dark">
<td>30 minutes ago</td>
<td>%temp30minuteago% &deg;F</td>
<td>%wind30minuteago%</td>
<td>%gust30minuteago%</td>
<td>%dir30minuteago%</td>
<td>%hum30minuteago%</td>
<td>%baro30minuteago%</td>
<td>%rain30minuteago%</td>
</tr>
10
I am getting the entry at the top of the wxcwopstats.php page:

Notice: Undefined offset: 3 in /home/rogersci/public_html/cwopstats.php on line 195

I'm not sure when this started, I may have only recently checked the page and noticed it.

I think that some of the charts have gone missing. This used to work. Did I miss an update for the script?

Greg H.

Pages: [1] 2 3 ... 10
anything