Like to help out with hosting costs for WXForum.net? Use the donate page. Thanks!
0 Members and 1 Guest are viewing this topic.
Quote from: BCJKiwi on January 12, 2014, 08:28:36 PMJanuary 13 2014Package updated to ver 2.4.0!See first post for detailsThis is my updated version. Thanks a lot! http://stillwaterweather.com/wx/davconvp2CW.php
January 13 2014Package updated to ver 2.4.0!See first post for details
Interesting.The forecast and the external links are working which suggest the main scripts davconvp2CW.php and davconvp2-inc.php are OK.As you are running WD, the data used comes from clientraw.txt and the graph data from clientrawextra.txt. Presumably both these files are present and correct as the rest of the site appears normal.However no graphs and no console data suggests the .js is not working.So I suggest you double check the location and presence of the files in the davcon folder against the distro.The plot function is not working (generates and error) which points to an issue with one of the .js libs in the davcon folder.Have there been any changes on your site setup that might have a knock-on affect?
UPDATE: Everything eventually returned to normal except for vp2 console. It's problem still has me stumped.
Quote from: Bunty on January 13, 2014, 04:01:19 AMQuote from: BCJKiwi on January 12, 2014, 08:28:36 PMJanuary 13 2014Package updated to ver 2.4.0!See first post for detailsThis is my updated version. Thanks a lot! http://stillwaterweather.com/wx/davconvp2CW.phpStrangely enough, all the readings on my console have gone blank. Have check the file permissions, but they are okay. I don't know what else to do to troubleshoot. At least no one else I have seen has developed this problem. http://stillwaterweather.com/wx/davconvp2CW.php
if ($WXsoftware == 'MB') {$dataurl = './clientraw.txt'; // for Weather Display 'realtime' data if (isset($SITE['clientrawfile'])) {$dataurl = $SITE['clientrawfile'];} // Use Saratoga setting if available$graphurl = './clientrawextra.txt'; // for Weather Display graph data }
// ### WEATHER DISPLAY CLIENTRAW.TXT ##################################// default configuration is for Metric units.// Options shown remmed out// To change to your units to match your station if different, replace unwanted units with wanted units. } else if (wxsoftware == 'MB') { // split clientraw
<!-- FORECAST TEXT<div id="vp2_scroller_container"> <div class="jscroller2_left jscroller2_speed-50 jscroller2_mousemove jscroller2_ignoreleave"> <?php langtrans($vpforecasttext); ?> </div> <div class="jscroller2_left_endless jscroller2"><?php langtrans($vpforecasttext); ?> </div></div> -->
Well the script is trying to reproduce what you see on the actual console with a 'few extras' so that is why the ticker is there.If you are really desperate to do this, then you can rem out the entire FORECAST TEXT section in davconvp2CW-inc.php - e.g.Quote<!-- FORECAST TEXT<div id="vp2_scroller_container"> <div class="jscroller2_left jscroller2_speed-50 jscroller2_mousemove jscroller2_ignoreleave"> <?php langtrans($vpforecasttext); ?> </div> <div class="jscroller2_left_endless jscroller2"><?php langtrans($vpforecasttext); ?> </div></div> -->Just move the --> from after FORECAST TEXT to after the </div>
Great!Was just in the process of suggesting the issue was with clientraw and noticed it was working!If you could send me a PM with any/all the changes you had to make I could include the info in the HowTo for future users.You may need to work through the options. e.g. you are getting NAN (no data) for apparent temp so you may wish to change the $dewrotate option number - maybe to 6 or 8?Thanks
I went ahead and disable the scrolling forecast for now on mine. http://www.valentinenebraska.net/davconvp2CW.php