LinHES Forums
http://forums.linhes.org/

Mythweather for Canadian Postal Codes?
http://forums.linhes.org/viewtopic.php?f=5&t=11315
Page 1 of 1

Author:  jmacmythtv [ Sun Aug 27, 2006 7:25 am ]
Post subject:  Mythweather for Canadian Postal Codes?

Hi everybody,

Anybody have mythweather working with a Canadian postal code?

Thanks!
John

Author:  iscraigh [ Wed Aug 30, 2006 2:11 am ]
Post subject: 

yes never a problem. Ok one small issue....during install choose a US zip code (say 90210)
then go back in to the settings after install and choose a Canadian one.

Craig

Author:  jmacmythtv [ Wed Aug 30, 2006 4:37 pm ]
Post subject: 

Hi Craig,

Thanks for the reply. Mine works for american zip codes, but when I put mine in (H3Z2K3), I get:

rror at /usr/share/mythtv/mythweb/modules/weather/handler.php, line 210:
Invalid argument supplied for foreach()
Details:

datetime: 2006-08-30 18:34:41 (EDT)
errornum: 2
error type: Warning
error string: Invalid argument supplied for foreach()
filename: /usr/share/mythtv/mythweb/modules/weather/handler.php
error line: 210

Any thoughts?
Thanks!
John

Author:  iscraigh [ Wed Aug 30, 2006 5:14 pm ]
Post subject: 

try the long way picking your city from the list, that is how I ussually do it.

Author:  jmacmythtv [ Fri Sep 08, 2006 5:32 am ]
Post subject: 

Hi Craig,

Thanks! Got it working. I was running the sql command from a terminal to try and update it. This apparently doesn't work if you use a standard canadian postal code.

John

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/