[Tickets #7847] Re: TAF data issue in metar.php

bugs at horde.org bugs at horde.org
Wed Mar 25 18:52:59 UTC 2009


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/7847
------------------------------------------------------------------------------
  Ticket             | 7847
  Updated By         | horde at heskia.net
  Summary            | TAF data issue in metar.php
  Queue              | Horde Base
  Version            | 3.3.2
  Type               | Bug
  State              | Resolved
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             | Michael Rubinsky
------------------------------------------------------------------------------


horde at heskia.net (2009-03-25 14:52) wrote:

> Are you sure the newest version of both Services_Weather and the
> metar block? If so, and after applying the latest patch to
> Services_Weather, you still get that error, can you provide a test
> case, or at least a TAF string that is causing this error for you?

Hi Michael,

I have double-check the PEAR Service_Weather module: it is really  
version 1.4.4
for the metar block in Horde, I have re-downloaded Horde v3.3.3 from  
horde ftp site (ftp://ftp.horde.org/pub/horde/horde-3.3.3.tar.gz)  
whioch is stated as:
* $Horde: horde/lib/Block/metar.php,v 1.22.10.11 2009/01/16 17:05:59  
mrubinsk Exp $
and cleared the cache content (both in the MySQL database and within  
my browser) and I still got the error:
Warning: Invalid argument supplied for foreach() in  
/home/ovh/www/horde/lib/Block/metar.php on line 416

The TAF data I have setup is :
Country: France
Location: Lyon / Bron
Unit: Metrics
Wind speed in knots: checked
Display forecast (TAF): checked


I have then tried version in CVS repository :  
http://cvs.horde.org/co.php/horde/lib/Block/metar.php?r=1.38&p=1
This version is stated :
$Horde: horde/lib/Block/metar.php,v 1.35 2008/08/28 19:34:58 mrubinsk Exp $
and same error:
Warning: Invalid argument supplied for foreach() in  
/home/ovh/www/horde/lib/Block/metar.php on line 416

Do you have any explanation ?

Thanks,
Antoine.






More information about the bugs mailing list