weird warnings at bottom of page

A historical forum for issues reported in the suggestions and bugs forum that have been subsequently fixed or resolved.
Post Reply
User avatar
L number Banana
Posts: 2140
Joined: 06 Jan 2009, 18:52
I've donated: $5.00!
My articles: 1
My cats species list: 13 (i:0, k:0)
My aquaria list: 1 (i:0)
Location 2: Kingston, ON, Canada

weird warnings at bottom of page

Post 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
Racing, shoes and fish. Nothing else matters. Oh, and bacon.
User avatar
Jools
Expert
Posts: 16278
Joined: 30 Dec 2002, 15:25
My articles: 198
My images: 941
My catfish: 237
My cats species list: 88 (i:235, k:1)
My BLogs: 7 (i:10, p:167)
My Wishlist: 23
Spotted: 451
Location 1: Middle Earth,
Location 2: Scotland
Interests: All things aquatic, Sci-Fi, photography and travel. Oh, and beer.
Contact:

Re: weird warnings at bottom of page

Post 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
User avatar
MatsP
Posts: 21038
Joined: 06 Oct 2004, 13:58
My articles: 4
My images: 28
My cats species list: 117 (i:33, k:0)
My aquaria list: 10 (i:8)
My BLogs: 4 (i:0, p:164)
Spotted: 187
Location 1: North of Cambridge
Location 2: England.

Re: weird warnings at bottom of page

Post 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
User avatar
L number Banana
Posts: 2140
Joined: 06 Jan 2009, 18:52
I've donated: $5.00!
My articles: 1
My cats species list: 13 (i:0, k:0)
My aquaria list: 1 (i:0)
Location 2: Kingston, ON, Canada

Re: weird warnings at bottom of page

Post by L number Banana »

Sorry Jools and MatsP,
forgot about this :oops:
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
Racing, shoes and fish. Nothing else matters. Oh, and bacon.
User avatar
sidguppy
Posts: 3827
Joined: 18 Jan 2004, 12:26
My articles: 1
My images: 28
My aquaria list: 5 (i:0)
Spotted: 9
Location 1: Southern Netherlands near Belgium
Location 2: Noord Brabant, Netherlands
Interests: African catfishes and oddballs, Madagascar cichlids; stoner doom and heavy rock; old school choppers and riding them, fantasy novels, travelling and diving in the tropics and all things nature.
Contact:

Re: weird warnings at bottom of page

Post by sidguppy »

same here, just checked and yup, it happened

my browser is FF 3.0.11 on WXP sp II
Valar Morghulis
User avatar
L number Banana
Posts: 2140
Joined: 06 Jan 2009, 18:52
I've donated: $5.00!
My articles: 1
My cats species list: 13 (i:0, k:0)
My aquaria list: 1 (i:0)
Location 2: Kingston, ON, Canada

Re: weird warnings at bottom of page

Post by L number Banana »

MatsP:
and it's meaningless to free something twice anyways.
:lol: Very philosophical!
Racing, shoes and fish. Nothing else matters. Oh, and bacon.
User avatar
MatsP
Posts: 21038
Joined: 06 Oct 2004, 13:58
My articles: 4
My images: 28
My cats species list: 117 (i:33, k:0)
My aquaria list: 10 (i:8)
My BLogs: 4 (i:0, p:164)
Spotted: 187
Location 1: North of Cambridge
Location 2: England.

Re: weird warnings at bottom of page

Post by MatsP »

Indeed reproducable.

And my comment wasn't meant as philosophical.

--
Mats
User avatar
Jools
Expert
Posts: 16278
Joined: 30 Dec 2002, 15:25
My articles: 198
My images: 941
My catfish: 237
My cats species list: 88 (i:235, k:1)
My BLogs: 7 (i:10, p:167)
My Wishlist: 23
Spotted: 451
Location 1: Middle Earth,
Location 2: Scotland
Interests: All things aquatic, Sci-Fi, photography and travel. Oh, and beer.
Contact:

Re: weird warnings at bottom of page

Post 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
User avatar
L number Banana
Posts: 2140
Joined: 06 Jan 2009, 18:52
I've donated: $5.00!
My articles: 1
My cats species list: 13 (i:0, k:0)
My aquaria list: 1 (i:0)
Location 2: Kingston, ON, Canada

Re: weird warnings at bottom of page

Post 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.
Racing, shoes and fish. Nothing else matters. Oh, and bacon.
Post Reply

Return to “All Resolved Issues”