Re: Image call up problem
Brought to you by:
iridium
From: Martin G. <gim...@gi...> - 2002-07-17 16:41:00
|
"Martin Sweeney" <sw...@ro...> writes: > Hi all; Hi Martin, > Ive just started using Phpweather v 1.61. > > I have seen created a page called weather.php, and the following code is the > source; > > The error that comes up on the published page lists as so; > > <img src=" > Fatal error: Call to undefined function: get_temp_image() in > /usr/local/psa/home/vhosts/rokits.org/web_users/martin/weather.php on line 20 The problem is, that you haven't included the file images.inc file. The function get_temp_image() is defined there. I'm sorry that the documentation doesn't mention this - I'll fix it right away. > And, since there is no config setup on this new version, how do i > alter the time offset? There's some instructions in a comment near the top of the pretty_print_metar() function (around line 195) in phpweather.inc. -- 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. |