phpweather-bugs Mailing List for PHP Weather (Page 3)
Brought to you by:
iridium
You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
(7) |
Apr
(3) |
May
(5) |
Jun
(1) |
Jul
(3) |
Aug
(2) |
Sep
(11) |
Oct
|
Nov
(2) |
Dec
(3) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
|
Feb
|
Mar
(2) |
Apr
(7) |
May
|
Jun
|
Jul
(3) |
Aug
(6) |
Sep
(8) |
Oct
(2) |
Nov
|
Dec
|
2004 |
Jan
(7) |
Feb
(10) |
Mar
|
Apr
|
May
(5) |
Jun
(2) |
Jul
(1) |
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
(4) |
2005 |
Jan
(4) |
Feb
|
Mar
|
Apr
|
May
|
Jun
(2) |
Jul
(2) |
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2006 |
Jan
(1) |
Feb
(2) |
Mar
(10) |
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
(8) |
Oct
|
Nov
(1) |
Dec
|
2007 |
Jan
|
Feb
|
Mar
(1) |
Apr
(1) |
May
(1) |
Jun
|
Jul
|
Aug
(2) |
Sep
|
Oct
|
Nov
(1) |
Dec
|
2009 |
Jan
(2) |
Feb
|
Mar
|
Apr
|
May
|
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: SourceForge.net <no...@so...> - 2004-05-11 06:23:13
|
Bugs item #951022, was opened at 2004-05-10 04:12 Message generated for change (Comment added) made by gimpster You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=377952&aid=951022&group_id=23245 Category: None Group: None Status: Closed Priority: 5 Submitted By: Manuel Serra (manu11) Assigned to: Nobody/Anonymous (nobody) Summary: No initialization of $metar_time Initial Comment: Hi, I'm not sure if i'm posting in the right place. I installed phpweather and it is working with MySQL db. The only problem is when i get a METAR with no data, i receive an error: Notice: Undefined variable: metar_time in /home/wwwfly/public_html/metars/data_retrieval.php on line 430 Notice: Undefined variable: metar_time in /home/wwwfly/public_html/metars/data_retrieval.php on line 434 Warning: Cannot modify header information - headers already sent by (output started at /home/wwwfly/public_html/metars/data_retrieval.php: 430) in /home/wwwfly/public_html/metars/index.php on line 121 How can i correct this? Thanks ---------------------------------------------------------------------- >Comment By: Martin Geisler (gimpster) Date: 2004-05-11 08:23 Message: Logged In: YES user_id=104098 You can submit a new translation through the SF patch tracker (see http://tinyurl.com/2k4ro) --- you can attach files to your posts. A portuguese translation would be a nice addition to PhpWeather! ---------------------------------------------------------------------- Comment By: Manuel Serra (manu11) Date: 2004-05-10 14:22 Message: Logged In: YES user_id=1038488 Thanks :-) it is solved. I'm still not used with this "forum". I was wondering how could i submit a translation for phpweather. (for portuguese - pt) i didn't find any translation for it. Thanks again ---------------------------------------------------------------------- Comment By: Martin Geisler (gimpster) Date: 2004-05-10 11:00 Message: Logged In: YES user_id=104098 You're in the right place --- you've found a bug :-) Thanks for the report, I've explained how you can fix it below. Add a line that says $metar_time = 0; on line 420, so that this section now looks like this: } else { /* If we end up here, it means that there was no file. If the * station was a new station, we set the metar to an empty * string, else we just use the old METAR. We adjust the time * stored in the database in both cases, so that the server * isn't stressed too much. */ if ($new_station) { $metar = ''; } else { $metar = $this->metar; } $timestamp = time() - $this->properties['cache_timeout'] + 600; $metar_time = 0; // <-- The new line. } /* We then cache the METAR in our database */ if ($new_station) { $this->debug('get_metar_from_web(): Inserting new METAR for <code>' . $this->get_location() . '</code>'); $this->db->insert_metar($icao, $metar, $timestamp, $metar_time); } else { $this->debug('get_metar_from_web(): Updating METAR for <code>' . $this->get_location() . '</code>'); $this->db->update_metar($icao, $metar, $timestamp, $metar_time); ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=377952&aid=951022&group_id=23245 |
From: SourceForge.net <no...@so...> - 2004-05-10 12:22:17
|
Bugs item #951022, was opened at 2004-05-10 02:12 Message generated for change (Comment added) made by manu11 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=377952&aid=951022&group_id=23245 Category: None Group: None Status: Closed Priority: 5 Submitted By: Manuel Serra (manu11) Assigned to: Nobody/Anonymous (nobody) Summary: No initialization of $metar_time Initial Comment: Hi, I'm not sure if i'm posting in the right place. I installed phpweather and it is working with MySQL db. The only problem is when i get a METAR with no data, i receive an error: Notice: Undefined variable: metar_time in /home/wwwfly/public_html/metars/data_retrieval.php on line 430 Notice: Undefined variable: metar_time in /home/wwwfly/public_html/metars/data_retrieval.php on line 434 Warning: Cannot modify header information - headers already sent by (output started at /home/wwwfly/public_html/metars/data_retrieval.php: 430) in /home/wwwfly/public_html/metars/index.php on line 121 How can i correct this? Thanks ---------------------------------------------------------------------- >Comment By: Manuel Serra (manu11) Date: 2004-05-10 12:22 Message: Logged In: YES user_id=1038488 Thanks :-) it is solved. I'm still not used with this "forum". I was wondering how could i submit a translation for phpweather. (for portuguese - pt) i didn't find any translation for it. Thanks again ---------------------------------------------------------------------- Comment By: Martin Geisler (gimpster) Date: 2004-05-10 09:00 Message: Logged In: YES user_id=104098 You're in the right place --- you've found a bug :-) Thanks for the report, I've explained how you can fix it below. Add a line that says $metar_time = 0; on line 420, so that this section now looks like this: } else { /* If we end up here, it means that there was no file. If the * station was a new station, we set the metar to an empty * string, else we just use the old METAR. We adjust the time * stored in the database in both cases, so that the server * isn't stressed too much. */ if ($new_station) { $metar = ''; } else { $metar = $this->metar; } $timestamp = time() - $this->properties['cache_timeout'] + 600; $metar_time = 0; // <-- The new line. } /* We then cache the METAR in our database */ if ($new_station) { $this->debug('get_metar_from_web(): Inserting new METAR for <code>' . $this->get_location() . '</code>'); $this->db->insert_metar($icao, $metar, $timestamp, $metar_time); } else { $this->debug('get_metar_from_web(): Updating METAR for <code>' . $this->get_location() . '</code>'); $this->db->update_metar($icao, $metar, $timestamp, $metar_time); ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=377952&aid=951022&group_id=23245 |
From: SourceForge.net <no...@so...> - 2004-05-10 10:31:01
|
Bugs item #951023, was opened at 2004-05-10 04:14 Message generated for change (Comment added) made by gimpster You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=377952&aid=951023&group_id=23245 >Category: PHP code >Group: phpweather-2.x >Status: Closed Priority: 5 Submitted By: Manuel Serra (manu11) Assigned to: Nobody/Anonymous (nobody) Summary: getting an error Initial Comment: Hi, I'm not sure if i'm posting in the right place. I installed phpweather and it is working with MySQL db. The only problem is when i get a METAR with no data, i receive an error: Notice: Undefined variable: metar_time in /home/wwwfly/public_html/metars/data_retrieval.php on line 430 Notice: Undefined variable: metar_time in /home/wwwfly/public_html/metars/data_retrieval.php on line 434 Warning: Cannot modify header information - headers already sent by (output started at /home/wwwfly/public_html/metars/data_retrieval.php: 430) in /home/wwwfly/public_html/metars/index.php on line 121 How can i correct this? Thanks ---------------------------------------------------------------------- >Comment By: Martin Geisler (gimpster) Date: 2004-05-10 12:30 Message: Logged In: YES user_id=104098 Duplicate of #951022, fixed in CVS. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=377952&aid=951023&group_id=23245 |
From: SourceForge.net <no...@so...> - 2004-05-10 09:00:42
|
Bugs item #951022, was opened at 2004-05-10 04:12 Message generated for change (Comment added) made by gimpster You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=377952&aid=951022&group_id=23245 Category: None >Group: None >Status: Closed Priority: 5 Submitted By: Manuel Serra (manu11) Assigned to: Nobody/Anonymous (nobody) >Summary: No initialization of $metar_time Initial Comment: Hi, I'm not sure if i'm posting in the right place. I installed phpweather and it is working with MySQL db. The only problem is when i get a METAR with no data, i receive an error: Notice: Undefined variable: metar_time in /home/wwwfly/public_html/metars/data_retrieval.php on line 430 Notice: Undefined variable: metar_time in /home/wwwfly/public_html/metars/data_retrieval.php on line 434 Warning: Cannot modify header information - headers already sent by (output started at /home/wwwfly/public_html/metars/data_retrieval.php: 430) in /home/wwwfly/public_html/metars/index.php on line 121 How can i correct this? Thanks ---------------------------------------------------------------------- >Comment By: Martin Geisler (gimpster) Date: 2004-05-10 11:00 Message: Logged In: YES user_id=104098 You're in the right place --- you've found a bug :-) Thanks for the report, I've explained how you can fix it below. Add a line that says $metar_time = 0; on line 420, so that this section now looks like this: } else { /* If we end up here, it means that there was no file. If the * station was a new station, we set the metar to an empty * string, else we just use the old METAR. We adjust the time * stored in the database in both cases, so that the server * isn't stressed too much. */ if ($new_station) { $metar = ''; } else { $metar = $this->metar; } $timestamp = time() - $this->properties['cache_timeout'] + 600; $metar_time = 0; // <-- The new line. } /* We then cache the METAR in our database */ if ($new_station) { $this->debug('get_metar_from_web(): Inserting new METAR for <code>' . $this->get_location() . '</code>'); $this->db->insert_metar($icao, $metar, $timestamp, $metar_time); } else { $this->debug('get_metar_from_web(): Updating METAR for <code>' . $this->get_location() . '</code>'); $this->db->update_metar($icao, $metar, $timestamp, $metar_time); ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=377952&aid=951022&group_id=23245 |
From: SourceForge.net <no...@so...> - 2004-05-10 02:14:40
|
Bugs item #951023, was opened at 2004-05-10 02:14 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=377952&aid=951023&group_id=23245 Category: None Group: None Status: Open Priority: 5 Submitted By: Manuel Serra (manu11) Assigned to: Nobody/Anonymous (nobody) Summary: getting an error Initial Comment: Hi, I'm not sure if i'm posting in the right place. I installed phpweather and it is working with MySQL db. The only problem is when i get a METAR with no data, i receive an error: Notice: Undefined variable: metar_time in /home/wwwfly/public_html/metars/data_retrieval.php on line 430 Notice: Undefined variable: metar_time in /home/wwwfly/public_html/metars/data_retrieval.php on line 434 Warning: Cannot modify header information - headers already sent by (output started at /home/wwwfly/public_html/metars/data_retrieval.php: 430) in /home/wwwfly/public_html/metars/index.php on line 121 How can i correct this? Thanks ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=377952&aid=951023&group_id=23245 |
From: SourceForge.net <no...@so...> - 2004-02-13 21:35:32
|
Bugs item #896714, was opened at 2004-02-13 13:54 Message generated for change (Comment added) made by torxbit You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=377952&aid=896714&group_id=23245 Category: Databases Group: phpweather-2.x Status: Open Priority: 5 Submitted By: Mike Miller (torxbit) Assigned to: Nobody/Anonymous (nobody) Summary: Coredumps Initial Comment: The mysql code will coredump when executed via the browser: php-4.3.1 apache 1.3.27 mysql 4.3.0 The code works fine from the command line. ---------------------------------------------------------------------- >Comment By: Mike Miller (torxbit) Date: 2004-02-13 15:32 Message: Logged In: YES user_id=348825 binary apache-1.3.27-8.1.91mdk mod_php-4.3.1-1mdk php-mysql-4.3.0-2mdk ---------------------------------------------------------------------- Comment By: Max Hammond (iridium) Date: 2004-02-13 14:51 Message: Logged In: YES user_id=81516 It shouldn't be possible to segfault apache by running a PHP application. Are you using binary packages of PHP and apache, or have you compiled things yourself? ---------------------------------------------------------------------- Comment By: Mike Miller (torxbit) Date: 2004-02-13 14:45 Message: Logged In: YES user_id=348825 Apache, the child it forks [Fri Feb 13 13:37:19 2004] [notice] child pid 19194 exit signal segmentation fault (11) ---------------------------------------------------------------------- Comment By: Max Hammond (iridium) Date: 2004-02-13 14:35 Message: Logged In: YES user_id=81516 What exactly dumps core... PHP, apache, or mysql? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=377952&aid=896714&group_id=23245 |
From: SourceForge.net <no...@so...> - 2004-02-13 20:54:28
|
Bugs item #896714, was opened at 2004-02-13 19:54 Message generated for change (Comment added) made by iridium You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=377952&aid=896714&group_id=23245 Category: Databases Group: phpweather-2.x Status: Open Priority: 5 Submitted By: Mike Miller (torxbit) Assigned to: Nobody/Anonymous (nobody) Summary: Coredumps Initial Comment: The mysql code will coredump when executed via the browser: php-4.3.1 apache 1.3.27 mysql 4.3.0 The code works fine from the command line. ---------------------------------------------------------------------- >Comment By: Max Hammond (iridium) Date: 2004-02-13 20:51 Message: Logged In: YES user_id=81516 It shouldn't be possible to segfault apache by running a PHP application. Are you using binary packages of PHP and apache, or have you compiled things yourself? ---------------------------------------------------------------------- Comment By: Mike Miller (torxbit) Date: 2004-02-13 20:45 Message: Logged In: YES user_id=348825 Apache, the child it forks [Fri Feb 13 13:37:19 2004] [notice] child pid 19194 exit signal segmentation fault (11) ---------------------------------------------------------------------- Comment By: Max Hammond (iridium) Date: 2004-02-13 20:35 Message: Logged In: YES user_id=81516 What exactly dumps core... PHP, apache, or mysql? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=377952&aid=896714&group_id=23245 |
From: SourceForge.net <no...@so...> - 2004-02-13 20:48:05
|
Bugs item #896714, was opened at 2004-02-13 13:54 Message generated for change (Comment added) made by torxbit You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=377952&aid=896714&group_id=23245 Category: Databases Group: phpweather-2.x Status: Open Priority: 5 Submitted By: Mike Miller (torxbit) Assigned to: Nobody/Anonymous (nobody) Summary: Coredumps Initial Comment: The mysql code will coredump when executed via the browser: php-4.3.1 apache 1.3.27 mysql 4.3.0 The code works fine from the command line. ---------------------------------------------------------------------- >Comment By: Mike Miller (torxbit) Date: 2004-02-13 14:45 Message: Logged In: YES user_id=348825 Apache, the child it forks [Fri Feb 13 13:37:19 2004] [notice] child pid 19194 exit signal segmentation fault (11) ---------------------------------------------------------------------- Comment By: Max Hammond (iridium) Date: 2004-02-13 14:35 Message: Logged In: YES user_id=81516 What exactly dumps core... PHP, apache, or mysql? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=377952&aid=896714&group_id=23245 |
From: SourceForge.net <no...@so...> - 2004-02-13 20:38:45
|
Bugs item #896714, was opened at 2004-02-13 19:54 Message generated for change (Comment added) made by iridium You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=377952&aid=896714&group_id=23245 Category: Databases Group: phpweather-2.x Status: Open Priority: 5 Submitted By: Mike Miller (torxbit) Assigned to: Nobody/Anonymous (nobody) Summary: Coredumps Initial Comment: The mysql code will coredump when executed via the browser: php-4.3.1 apache 1.3.27 mysql 4.3.0 The code works fine from the command line. ---------------------------------------------------------------------- >Comment By: Max Hammond (iridium) Date: 2004-02-13 20:35 Message: Logged In: YES user_id=81516 What exactly dumps core... PHP, apache, or mysql? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=377952&aid=896714&group_id=23245 |
From: SourceForge.net <no...@so...> - 2004-02-13 19:57:33
|
Bugs item #896714, was opened at 2004-02-13 13:54 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=377952&aid=896714&group_id=23245 Category: Databases Group: phpweather-2.x Status: Open Priority: 5 Submitted By: Mike Miller (torxbit) Assigned to: Nobody/Anonymous (nobody) Summary: Coredumps Initial Comment: The mysql code will coredump when executed via the browser: php-4.3.1 apache 1.3.27 mysql 4.3.0 The code works fine from the command line. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=377952&aid=896714&group_id=23245 |
From: SourceForge.net <no...@so...> - 2004-02-11 14:43:55
|
Bugs item #816921, was opened at 2003-10-03 04:43 Message generated for change (Comment added) made by gimpster You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=377952&aid=816921&group_id=23245 Category: Installation Group: phpweather-2.x >Status: Closed Priority: 5 Submitted By: Lewis Bergman (lbergman) >Assigned to: Martin Geisler (gimpster) Summary: config script broken? Initial Comment: I get the following error while running the config script after hitting any "update options" button. Running PHP4.2.3 on Apache 1.3.27 Fatal error: The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition pw_option_select of the object you are trying to operate on was loaded _before_ the session was started in /home/httpd/html/weather/config/make_config.php on line 339 ---------------------------------------------------------------------- >Comment By: Martin Geisler (gimpster) Date: 2004-02-11 15:42 Message: Logged In: YES user_id=104098 The code in CVS will now present the user with a message telling them to turn off session.auto_start and then the script exits. ---------------------------------------------------------------------- Comment By: Jo Wouters (jowouters) Date: 2004-01-24 02:41 Message: Logged In: YES user_id=758006 Thanks a lot: I had this problem too; in both 2.2.0 and 2.1.2 But your solution solved it. ---------------------------------------------------------------------- Comment By: Martin Geisler (gimpster) Date: 2003-10-03 14:01 Message: Logged In: YES user_id=104098 Do you have session.auto_start=1 somewhere in your config files? If so, then that's the problem, as explained here: http://www.php.net/manual/en/ref.session.php. If that's not the case, then try loading reset_session.php and see if make_config.php starts to work again. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=377952&aid=816921&group_id=23245 |
From: SourceForge.net <no...@so...> - 2004-02-11 14:20:18
|
Bugs item #871193, was opened at 2004-01-05 20:51 Message generated for change (Comment added) made by gimpster You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=377952&aid=871193&group_id=23245 Category: Output Group: phpweather-2.x >Status: Closed Priority: 5 Submitted By: Neil Millard (noddycr) >Assigned to: Martin Geisler (gimpster) Summary: time always reported as 03:14 Initial Comment: The time from print_pretty_time was always output as 03:14 regardless of the metar. This is because the $time variable is stored in standard mysql datestamp and the function gmdate requires a unix date stamp. to fix this, just insert this code where the line gmdate is. $timestring = substr($time,0,8)." ". substr($time,8,2).":". substr($time,10,2).":". substr($time,12,2); $gmtime = gmdate('H:i', strtotime($timestring)); Regards Noddycr ---------------------------------------------------------------------- >Comment By: Martin Geisler (gimpster) Date: 2004-02-11 15:19 Message: Logged In: YES user_id=104098 Sorry about this... it is fixed in version 2.2.1. ---------------------------------------------------------------------- Comment By: Brent Stolle (brentstolle) Date: 2004-01-15 19:05 Message: Logged In: YES user_id=488777 which file is this in? I'm seeing the same time. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=377952&aid=871193&group_id=23245 |
From: SourceForge.net <no...@so...> - 2004-02-11 14:19:32
|
Bugs item #877246, was opened at 2004-01-15 00:57 Message generated for change (Comment added) made by gimpster You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=377952&aid=877246&group_id=23245 Category: Installation Group: None >Status: Closed Priority: 5 Submitted By: Brent Stolle (brentstolle) >Assigned to: Martin Geisler (gimpster) Summary: mysql initialization needs to be fixed. Initial Comment: Hey. You forgot to close your queries for the mysql database inits (called by /config/make_db.php). I updated the script (/db/pw_db_mysql.php) and am attaching it to this bug. Please update it in CVS so other people can use Mysql. Thanks, Brent ---------------------------------------------------------------------- >Comment By: Martin Geisler (gimpster) Date: 2004-02-11 15:18 Message: Logged In: YES user_id=104098 Sorry about the problems --- this has been fixed in version 2.2.1. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=377952&aid=877246&group_id=23245 |
From: SourceForge.net <no...@so...> - 2004-02-11 14:07:32
|
Bugs item #891081, was opened at 2004-02-05 16:05 Message generated for change (Comment added) made by gimpster You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=377952&aid=891081&group_id=23245 Category: Output Group: None >Status: Closed Priority: 5 Submitted By: Nick Crossland (ncrossland) >Assigned to: Martin Geisler (gimpster) Summary: pw_text - metres singular not plural Initial Comment: Line 386 of pw_text.php should read $this->properties['mark_end'] . $this->strings['meters'], NOT $this->properties['mark_end'] . $this->strings['meter'], otherwise the output reads: "... clouds at a height of xxx metre" instead of "... clouds at a height of xxx metres" ---------------------------------------------------------------------- >Comment By: Martin Geisler (gimpster) Date: 2004-02-11 15:06 Message: Logged In: YES user_id=104098 Thanks for spotting this, it has been fixed in CVS and will be part of the next release. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=377952&aid=891081&group_id=23245 |
From: SourceForge.net <no...@so...> - 2004-02-05 15:05:49
|
Bugs item #891081, was opened at 2004-02-05 15:05 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=377952&aid=891081&group_id=23245 Category: Output Group: None Status: Open Priority: 5 Submitted By: Nick Crossland (ncrossland) Assigned to: Nobody/Anonymous (nobody) Summary: pw_text - metres singular not plural Initial Comment: Line 386 of pw_text.php should read $this->properties['mark_end'] . $this->strings['meters'], NOT $this->properties['mark_end'] . $this->strings['meter'], otherwise the output reads: "... clouds at a height of xxx metre" instead of "... clouds at a height of xxx metres" ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=377952&aid=891081&group_id=23245 |
From: SourceForge.net <no...@so...> - 2004-01-24 13:59:13
|
Bugs item #808981, was opened at 2003-09-19 01:15 Message generated for change (Comment added) made by jowouters You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=377952&aid=808981&group_id=23245 Category: None Group: None Status: Open Priority: 5 Submitted By: Etienne Tourigny (etienne_t) Assigned to: Nobody/Anonymous (nobody) Summary: the weather reports don't work on the main site Initial Comment: It seems that the main site is misconfigured for fetching METAR data. All I get is: Sorry! There's no data available for Coventry Airport, United Kingdom. I've tried other stations and languages and I never get a report. Everything is fine in my local copy. ---------------------------------------------------------------------- Comment By: Jo Wouters (jowouters) Date: 2004-01-24 14:59 Message: Logged In: YES user_id=758006 Not having a working version on the phpweather-homepage is indeed a little bit embarassing... I had a simular problem: I couldnt send any http(or other) requests from a site due to very strict security measures. To solve that, I had written a quick hack: - on the 'secure' server, a file is written with a list of all the icao-codes they want. - every hour, a script on another server checks for that files, and processes the requests. - this script does a call of a special script on the secure site, and sends the metar-codes via a HTTP POST; which is then loaded into the database. Of course this adds some extra delay in the processing, but a t least you'll have some data; and I only used it to get 1 or 2 metar-codes. Don't know if processing hundreds of them would work... I can provide you with a cleaned-up (and more secure) version of this script (and my webserver can do the metar-requests for you). Just let me know. Jo ---------------------------------------------------------------------- Comment By: Martin Geisler (gimpster) Date: 2003-09-30 16:48 Message: Logged In: YES user_id=104098 Yes, you're right, we could perhaps go through a proxy. The problem is just that all network related functions in PHP seam to fail. I've just played with the popen() function because I wanted to use the GET program available on SF. When I do a 'GET http://foo.bar/' in a shell it works as it should, but then I do it from PHP I get nothing in return. I can open other programs with popen() but the GET programs doesn't work?! My test is in /home/groups/p/ph/phpweather/htdocs/test.php if you want to play with it... ---------------------------------------------------------------------- Comment By: pavlos kairis (kairis) Date: 2003-09-30 02:38 Message: Logged In: YES user_id=246218 martin phpweather has the capability to go thru a proxy. Could you simply add proxy info so that METAR data comes across? Pavlos ---------------------------------------------------------------------- Comment By: Martin Geisler (gimpster) Date: 2003-09-19 03:16 Message: Logged In: YES user_id=104098 Yes, you're perfectly correct. This is an both embarrassing and annoying problem --- it's embarrassing because it's been like this for way too long, and it's annoying because the solution isn't all trivial. The problem is that SourceForge employ a strict firewall around the webservers running www.phpweather.net. The firewall makes it impossible for PhpWeather to contact the NWS directly and fetch new weather reports, we have no access to the outside world from PHP on the webserver. I've tried to setup a system where the data were downloaded from the NWS once an hour by an external cron job and then uploaded to SF via SCP, but it never fully worked. If you want to work on this (and the website in general) then please let me know and I'll help you as I can. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=377952&aid=808981&group_id=23245 |
From: SourceForge.net <no...@so...> - 2004-01-24 01:41:36
|
Bugs item #816921, was opened at 2003-10-03 04:43 Message generated for change (Comment added) made by jowouters You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=377952&aid=816921&group_id=23245 Category: Installation Group: phpweather-2.x Status: Open Priority: 5 Submitted By: Lewis Bergman (lbergman) Assigned to: Nobody/Anonymous (nobody) Summary: config script broken? Initial Comment: I get the following error while running the config script after hitting any "update options" button. Running PHP4.2.3 on Apache 1.3.27 Fatal error: The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition pw_option_select of the object you are trying to operate on was loaded _before_ the session was started in /home/httpd/html/weather/config/make_config.php on line 339 ---------------------------------------------------------------------- Comment By: Jo Wouters (jowouters) Date: 2004-01-24 02:41 Message: Logged In: YES user_id=758006 Thanks a lot: I had this problem too; in both 2.2.0 and 2.1.2 But your solution solved it. ---------------------------------------------------------------------- Comment By: Martin Geisler (gimpster) Date: 2003-10-03 14:01 Message: Logged In: YES user_id=104098 Do you have session.auto_start=1 somewhere in your config files? If so, then that's the problem, as explained here: http://www.php.net/manual/en/ref.session.php. If that's not the case, then try loading reset_session.php and see if make_config.php starts to work again. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=377952&aid=816921&group_id=23245 |
From: SourceForge.net <no...@so...> - 2004-01-15 18:05:39
|
Bugs item #871193, was opened at 2004-01-05 13:51 Message generated for change (Comment added) made by brentstolle You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=377952&aid=871193&group_id=23245 Category: Output Group: phpweather-2.x Status: Open Priority: 5 Submitted By: Neil Millard (noddycr) Assigned to: Nobody/Anonymous (nobody) Summary: time always reported as 03:14 Initial Comment: The time from print_pretty_time was always output as 03:14 regardless of the metar. This is because the $time variable is stored in standard mysql datestamp and the function gmdate requires a unix date stamp. to fix this, just insert this code where the line gmdate is. $timestring = substr($time,0,8)." ". substr($time,8,2).":". substr($time,10,2).":". substr($time,12,2); $gmtime = gmdate('H:i', strtotime($timestring)); Regards Noddycr ---------------------------------------------------------------------- Comment By: Brent Stolle (brentstolle) Date: 2004-01-15 12:05 Message: Logged In: YES user_id=488777 which file is this in? I'm seeing the same time. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=377952&aid=871193&group_id=23245 |
From: SourceForge.net <no...@so...> - 2004-01-14 23:57:07
|
Bugs item #877246, was opened at 2004-01-14 17:57 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=377952&aid=877246&group_id=23245 Category: Installation Group: None Status: Open Priority: 5 Submitted By: Brent Stolle (brentstolle) Assigned to: Nobody/Anonymous (nobody) Summary: mysql initialization needs to be fixed. Initial Comment: Hey. You forgot to close your queries for the mysql database inits (called by /config/make_db.php). I updated the script (/db/pw_db_mysql.php) and am attaching it to this bug. Please update it in CVS so other people can use Mysql. Thanks, Brent ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=377952&aid=877246&group_id=23245 |
From: SourceForge.net <no...@so...> - 2004-01-09 12:00:58
|
Bugs item #873474, was opened at 2004-01-09 03:24 Message generated for change (Comment added) made by gimpster You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=377952&aid=873474&group_id=23245 Category: Installation Group: phpweather-2.x >Status: Closed Priority: 5 Submitted By: David Straight (straightjacket) >Assigned to: Martin Geisler (gimpster) Summary: Mysql install broken Initial Comment: The CREATE TABLE statements in the pw_db_mysql.php file did not have closing brackets. ---------------------------------------------------------------------- >Comment By: Martin Geisler (gimpster) Date: 2004-01-09 13:00 Message: Logged In: YES user_id=104098 Right... this has been fixed in CVS. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=377952&aid=873474&group_id=23245 |
From: SourceForge.net <no...@so...> - 2004-01-09 02:24:35
|
Bugs item #873474, was opened at 2004-01-08 19:24 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=377952&aid=873474&group_id=23245 Category: Installation Group: phpweather-2.x Status: Open Priority: 5 Submitted By: David Straight (straightjacket) Assigned to: Nobody/Anonymous (nobody) Summary: Mysql install broken Initial Comment: The CREATE TABLE statements in the pw_db_mysql.php file did not have closing brackets. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=377952&aid=873474&group_id=23245 |
From: SourceForge.net <no...@so...> - 2004-01-05 19:51:43
|
Bugs item #871193, was opened at 2004-01-05 19:51 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=377952&aid=871193&group_id=23245 Category: Output Group: phpweather-2.x Status: Open Priority: 5 Submitted By: Neil Millard (noddycr) Assigned to: Nobody/Anonymous (nobody) Summary: time always reported as 03:14 Initial Comment: The time from print_pretty_time was always output as 03:14 regardless of the metar. This is because the $time variable is stored in standard mysql datestamp and the function gmdate requires a unix date stamp. to fix this, just insert this code where the line gmdate is. $timestring = substr($time,0,8)." ". substr($time,8,2).":". substr($time,10,2).":". substr($time,12,2); $gmtime = gmdate('H:i', strtotime($timestring)); Regards Noddycr ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=377952&aid=871193&group_id=23245 |
From: SourceForge.net <no...@so...> - 2003-10-03 12:01:34
|
Bugs item #816921, was opened at 2003-10-03 04:43 Message generated for change (Comment added) made by gimpster You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=377952&aid=816921&group_id=23245 Category: Installation Group: phpweather-2.x Status: Open Priority: 5 Submitted By: Lewis Bergman (lbergman) Assigned to: Nobody/Anonymous (nobody) Summary: config script broken? Initial Comment: I get the following error while running the config script after hitting any "update options" button. Running PHP4.2.3 on Apache 1.3.27 Fatal error: The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition pw_option_select of the object you are trying to operate on was loaded _before_ the session was started in /home/httpd/html/weather/config/make_config.php on line 339 ---------------------------------------------------------------------- >Comment By: Martin Geisler (gimpster) Date: 2003-10-03 14:01 Message: Logged In: YES user_id=104098 Do you have session.auto_start=1 somewhere in your config files? If so, then that's the problem, as explained here: http://www.php.net/manual/en/ref.session.php. If that's not the case, then try loading reset_session.php and see if make_config.php starts to work again. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=377952&aid=816921&group_id=23245 |
From: SourceForge.net <no...@so...> - 2003-10-03 02:43:37
|
Bugs item #816921, was opened at 2003-10-03 02:43 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=377952&aid=816921&group_id=23245 Category: Installation Group: phpweather-2.x Status: Open Priority: 5 Submitted By: Lewis Bergman (lbergman) Assigned to: Nobody/Anonymous (nobody) Summary: config script broken? Initial Comment: I get the following error while running the config script after hitting any "update options" button. Running PHP4.2.3 on Apache 1.3.27 Fatal error: The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition pw_option_select of the object you are trying to operate on was loaded _before_ the session was started in /home/httpd/html/weather/config/make_config.php on line 339 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=377952&aid=816921&group_id=23245 |
From: SourceForge.net <no...@so...> - 2003-09-30 14:48:06
|
Bugs item #808981, was opened at 2003-09-19 01:15 Message generated for change (Comment added) made by gimpster You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=377952&aid=808981&group_id=23245 Category: None Group: None Status: Open Priority: 5 Submitted By: Etienne Tourigny (etienne_t) Assigned to: Nobody/Anonymous (nobody) Summary: the weather reports don't work on the main site Initial Comment: It seems that the main site is misconfigured for fetching METAR data. All I get is: Sorry! There's no data available for Coventry Airport, United Kingdom. I've tried other stations and languages and I never get a report. Everything is fine in my local copy. ---------------------------------------------------------------------- >Comment By: Martin Geisler (gimpster) Date: 2003-09-30 16:48 Message: Logged In: YES user_id=104098 Yes, you're right, we could perhaps go through a proxy. The problem is just that all network related functions in PHP seam to fail. I've just played with the popen() function because I wanted to use the GET program available on SF. When I do a 'GET http://foo.bar/' in a shell it works as it should, but then I do it from PHP I get nothing in return. I can open other programs with popen() but the GET programs doesn't work?! My test is in /home/groups/p/ph/phpweather/htdocs/test.php if you want to play with it... ---------------------------------------------------------------------- Comment By: pavlos kairis (kairis) Date: 2003-09-30 02:38 Message: Logged In: YES user_id=246218 martin phpweather has the capability to go thru a proxy. Could you simply add proxy info so that METAR data comes across? Pavlos ---------------------------------------------------------------------- Comment By: Martin Geisler (gimpster) Date: 2003-09-19 03:16 Message: Logged In: YES user_id=104098 Yes, you're perfectly correct. This is an both embarrassing and annoying problem --- it's embarrassing because it's been like this for way too long, and it's annoying because the solution isn't all trivial. The problem is that SourceForge employ a strict firewall around the webservers running www.phpweather.net. The firewall makes it impossible for PhpWeather to contact the NWS directly and fetch new weather reports, we have no access to the outside world from PHP on the webserver. I've tried to setup a system where the data were downloaded from the NWS once an hour by an external cron job and then uploaded to SF via SCP, but it never fully worked. If you want to work on this (and the website in general) then please let me know and I'll help you as I can. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=377952&aid=808981&group_id=23245 |