Page 1 of 1
weird warnings at bottom of page
Posted: 17 Jun 2009, 04:44
by L number Banana
Hi, got these weird bits when I looked up plotosus. Nothing on the top of the page either, picture frame was the 'top' of the page. This was at the bottom:
Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /home/.heathcote/webcat/planetcatfish.com/scripts/clog_datasheet.php on line 317
Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /home/.heathcote/webcat/planetcatfish.com/scripts/clog_datasheet.php on line 318
Re: weird warnings at bottom of page
Posted: 17 Jun 2009, 10:41
by Jools
Hi,
When you say "look up Plotosus" can you give me a bit more detail? Like the URL address of the page throwing the error?
Cheers,
Jools
Re: weird warnings at bottom of page
Posted: 17 Jun 2009, 10:48
by MatsP
I spent a few minutes trying to reproduce this, but I can't find a way to do that.
So, yes, a URL of the page that you get the warning message on/from would help.
It's a fairly benign message - it usually means that the result has already been freed by the time free_result is called - but it is obviously not good to have this message, and it's meaningless to free something twice anyways.
--
Mats
Re: weird warnings at bottom of page
Posted: 20 Jun 2009, 07:21
by L number Banana
Sorry Jools and MatsP,
forgot about this
It happened when I went to the search page (
http://www.planetcatfish.com/core/search.php) and typed in Plotosus, got this page :
http://www.planetcatfish.com/core/searc ... Search#940 and I clicked on the third link down.
Just did it again with the same result. The URL is
http://www.planetcatfish.com/catelog/sp ... cies_id=91
Re: weird warnings at bottom of page
Posted: 20 Jun 2009, 09:44
by sidguppy
same here, just checked and yup, it happened
my browser is FF 3.0.11 on WXP sp II
Re: weird warnings at bottom of page
Posted: 21 Jun 2009, 03:59
by L number Banana
MatsP:
and it's meaningless to free something twice anyways.

Very philosophical!
Re: weird warnings at bottom of page
Posted: 21 Jun 2009, 08:54
by MatsP
Indeed reproducable.
And my comment wasn't meant as philosophical.
--
Mats
Re: weird warnings at bottom of page
Posted: 21 Jun 2009, 09:59
by Jools
Fixed.
Mats is correct, the datasheet frees up the mycats and articles database queries but they're not used on the print format data sheet, so nothing to set free. A little conditional freedom and it's all fixed.
Jools
Re: weird warnings at bottom of page
Posted: 22 Jun 2009, 12:28
by L number Banana
Indeed reproducable.
And my comment wasn't meant as philosophical.
--
Mats
Sorry Mats, I understood that, it just struck me as a very Zen quote even though it was not meant that way.