Thread: RE: Various issues
Brought to you by:
iridium
From: Max H. <ma...@fl...> - 2002-08-26 21:57:52
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi all, > 1. There is a little translation bug in index.php file. See patch > below: patched. Thanks. [2-4] I haven't had a chance to look through what you've done, but it looks sensible. Index.php was designed to be a "demo page", to show people how it's done, rather than to be an out-of-the-box solution. That doesn't mean that we can't make it a good example, though :) > 5. I want also ask if there will some weather picture for "no data > available". Temperature and wind, both, have this special case > solved. good idea. Please submit this as a feature request on sourceforge. > 6. In my MySQL database I have two stations for my country (SK) > in stations > table. But in file db/files/SK.php there are 7 airports. Have > someone got idea how has been this desynchornization created and > how to solve it? I will > appreciate it a lot. cvs log of stations.csv: - ---------------------------- revision 1.8 date: 2002/05/28 13:11:58; author: gimpster; state: Exp; lines: +2416 -181 Tom Corser <to...@to...> sent me a dump of his list of stations. There was 2201 new ICAOs in his file, so we now know of 5131 stations in 210 countries! Tom has told me that some of the ICAOs seams to have stopped working, so the above figures are somewhat optimistic. - ---------------------------- and the db/files files were updated immediately afterward. I'm assuming that you loaded your mysql up before that? > I'm sorry that I came with these issues just before comming > release, but I did not know about that. no worries. Max - -- Quidquid latine dictum sit, altum viditur. -----BEGIN PGP SIGNATURE----- Version: PGP 7.0.4 iQA/AwUBPWqlJSaLdinGu4NfEQLkWACgzfNyGLFTRwRhOYqCiEtlu3oiGlMAoOzA rCQlSE7uFInsTu4wQaDkUx3P =RlBb -----END PGP SIGNATURE----- |
From: Martin G. <gim...@gi...> - 2002-08-26 23:07:02
|
"Max Hammond" <ma...@fl...> writes: > and the db/files files were updated immediately afterward. I'm > assuming that you loaded your mysql up before that? If so, then the fix is simple: load /config/make_db.php and press the 'Create or Recreate Tables' button. It will parse stations.csv and recreate the tables using the current configuration. >> I'm sorry that I came with these issues just before comming >> release, but I did not know about that. Don't worry - noone knew about the upcoming release until I decided to work on it today :-) My interest was sparked by a PhpWeather plugin written for PhpWiki - see my page here: http://gimpster.com/phpwiki/ The initial code talked about the CVS version, and I decided that it would be better if it said 'Download the latest version' instead of 'Download one of the working-but-unreleased CVS versions of PHP Weather'... (I'm exaggerating - it doesn't exactly say the that...) -- Martin Geisler My GnuPG Key: 0xF7F6B57B See http://gimpster.com/ and http://phpweather.net/ for: PHP Weather => Shows the current weather on your webpage and PHP Shell => A telnet-connection (almost :-) in a PHP page. |
From: Ondrej J. <ne...@po...> - 2002-08-28 23:14:29
|
> > and the db/files files were updated immediately afterward. I'm > > assuming that you loaded your mysql up before that? > If so, then the fix is simple: load /config/make_db.php and press the > 'Create or Recreate Tables' button. It will parse stations.csv and > recreate the tables using the current configuration. It worked, thanks. Anyway, it deletes all my metars in metars table (than I recover it from backup). Maybe we could consider also pure stations update functionality in phpWeather configuration scripts as a thing of further development. =Nepto= ____________________________________________________________________________ Ondrej 'Nepto' Jombik, Perl CGI developer #!/usr/bin/perl -w |
From: Martin G. <gim...@gi...> - 2002-08-29 10:45:32
|
Ondrej Jombik <ne...@po...> writes: >> > and the db/files files were updated immediately afterward. I'm >> > assuming that you loaded your mysql up before that? >> If so, then the fix is simple: load /config/make_db.php and press the >> 'Create or Recreate Tables' button. It will parse stations.csv and >> recreate the tables using the current configuration. > > It worked, thanks. Anyway, it deletes all my metars in metars > table (than I recover it from backup). Maybe we could consider also > pure stations update functionality in phpWeather configuration > scripts as a thing of further development. Perhaps - but I've always though of the METARs table as a cache, something that could be thrown away. But we could make the create_tables methods more sophisticated, no problem... -- Martin Geisler My GnuPG Key: 0xF7F6B57B See http://gimpster.com/ and http://phpweather.net/ for: PHP Weather => Shows the current weather on your webpage and PHP Shell => A telnet-connection (almost :-) in a PHP page. |