Quote:
Originally posted by qwaz
Fatal error: Cannot redeclare convert_temp() in /home/racing-f/public_html/bbs/weather_functions.php on line 4
Getting that when cliking on Change Settings and Detailed Forecast
|
It sounds like for some reason, the weather_functions.php file is being included/required twice. Did you turn the weather_include.txt file into a PHP file and include it in your phpinclude template? If so, the problem is probably that both the weather.php file and the weather_include.php file would try to include weather_functions.php. Try removing the line in weather.php that requires weather_functions.php and see if it works like that.
Also, in Post #11 above, I incorrectly stated to change weather_include.txt into a PHP file and include it in the headinclude template. I should have said to include it in the phpinclude template, which is at the top of the styles area.