Posted on: 10/13/02 12:33am
By: micahmj11
I am trying to install the weather block. After changing my php and inc files to use full paths, i get the following error message:
Fatal error: Cannot redeclare store_temp() (previously declared in /home/chiadd2/public_html/geeklog/weather/phpweather.inc:22) in /home/chiadd2/public_html/geeklog/weather/phpweather.inc on line 22
can someone please advise.
thanks.
Weather Block
Posted on: 10/13/02 09:27am
By: micahmj11
never mind. the problem is fixed. i commented out all of the weather block code, and that allowed me back into geeklog. when i got in, i was that it tried to create two weather blocks (both visible with error messages.) so i one of the blocks, went back and enabled all of the code, and everything worked fine.
Weather Block
Posted on: 06/02/03 02:47pm
By: Anonymous (Anonymous)
I'm not so lucky. I've been getting this error for some time now.
What can be done to fix it?
TonyC
www.chiaffredo.org
Weather Block
Posted on: 06/02/03 08:19pm
By: rawdata
First, make sure you aren't using the same function name in some other script. If you are, you need to change the name of one or the other. If this is not your problem, you may be experiencing the same thing as I did. The weather block script uses include and require which did not play nicely with some of my scripts. It kept spitting out those reclaration errors. To get rid of them, I changed all the include and require in the weather block script to include_once and require_once.