"Henrik Boyander" <[EMAIL PROTECTED]> writes:

> Hello Martin,
> I continue to get the following message when loading the demo file:
> Parse error: parse error in /.1/value2/www/prod/hotels/weather/phpweather.inc on 
>line 58
> Fatal error: Call to undefined function: get_metar() in
> /.1/value2/www/prod/hotels/weather/demo.php on line 13
> Do you know what can be wrong ?

There's some sort of error on line 58 in phpweather.inc. Because of
that, the get_metar() function isn't defined later in the script.

Could you take a look at the offending line, and perhaps send it to
the list, together with the previous and next 10 lines?

Also, if you haven't downloaded the tarball from sourceforge
(http://www.sf.net/projects/phpweather/), then please do so. As far as
I know, it works...
> Thanks, Henrik

Best regards,
Martin Geisler

Checkout http://www.gimpster.com for:
PHP Weather => Shows the current weather on your webpages.
PHP Shell   => A telnet-connection (almost :-) in a PHP page.

Reply via email to