Re: remove dew point / defaults.php
Brought to you by:
iridium
From: lee <dav...@bt...> - 2005-03-02 14:16:12
|
hello Greg, Thanks but I think you've misunderstood my problem; The weather data seems to be largely fine, but I am having trouble getting defaults.php to be recognised by the weather program, not just regarding my chosen excludes. I'm using php4 on freebsd. Other people have reported similar troubles on the site at sourceforge. Interestingly, having said the above, my defaults.php does seem to be acknowledged certainly in part, because my chosen php error reporting level setting is being acknowledged. Does anyone know/have a method to help me out? thanks again, lee gr...@ga... wrote: >Hi Lee, > >Just read your post and kind of chuckled. Spent some time on similar >problems. Do have the answer though. Ready? > >It's not a PHP problem or the program itself. What we have here is a name >resolution issue. You're probably on a high-speed internet connection. >To fix your problem do this. Open up the file data_retrieval.php. Go down >to the line that defines where the data is >being pulled from. Think it's http://weather.noaa.gov - replace >weather.noaa.gov with >205.156.51.200. This solves the timing issue with dns and the api. This >will also increase the time it takes to get your metar. Have fun with the >program. > >Good luck, > >Greg > >Visit my weather module @ http://www.gabbinfutures.com > > > > > > > >>thanks Max, but sadly no change. >>Presumably all we have to do is reupload defaults.php and refresh the >>browser cache? Or do we have to go into config builder or something to >>get the new file recognised? >> >>lee >>(not a php programmer, hence my other request for help about the offset >>bug) >> >> >> >>Max Hammond wrote: >> >> >> >>>You probably want to define the exclude array as >>> >>>$this->properties['exclude'] = array( >>>'runway','dew_c','dew_f' >>>); >>> >>>Let me know if that works. >>> >>>Cheers, >>> >>>Max >>> <http://launch.yahoo.com/lc/?rt=0&rp1=0&rp2=1453474498> <http://www.incelsite.com/playlist.gif> |