<da...@he...> writes:
Hi there
> I've installed and configured phpweather - using mysql db. The
> original index page and speed test runs fine. The tables are formed
> and have been populated.
Good...
> However, test.php throws an error:
> Notice: Undefined variable: time in XXX /output/pw_text.php on line 1050
>
> The result is data unavailable.
>
> Any ideas? Please advise.
The test.php that comes with PhpWeather is only meant to test METAR
reports manually. You can enter a report in the input field and have
PhpWeather try and parse it.
If the report lacks the time/date part, then you'll see the notice
about the undefined variable. This is because every valid METAR must
have a time/date part.
If you're referring to some other test.php, then please write again.
--
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.
|