Valhalla Legends Archive

Programming => Web Development => Topic started by: AC_Drkan on January 03, 2006, 09:31 PM

Title: [PHP] Weirdest Error?
Post by: AC_Drkan on January 03, 2006, 09:31 PM
Warning: Unknown: 1 result set(s) not freed. Use mysql_free_result to free result sets which were requested using mysql_query() in Unknown on line 0

Im lost, looked it up on php.net and discovered it frees up memory from large queries to the SQL databse. Its located inside a footer from some scripts. Anyone wanna help a brother out on this one? I have never in my life, found this error.
Title: Re: [PHP] Weirdest Error?
Post by: Akamas on January 03, 2006, 11:45 PM
I haven't encountered an error like that either, but I would suggest that you go in phpmyadmin and select all tables and hit REPAIR, it might help.
Title: Re: [PHP] Weirdest Error?
Post by: AC_Drkan on January 04, 2006, 12:42 PM
Tried it, it still does it.

Anyone else have any ideas?
Title: Re: [PHP] Weirdest Error?
Post by: rabbit on January 04, 2006, 08:12 PM
IIRC, that has to do with either a) the result of the query is far too large (IE: a few gigs), or b) your MySQL server is extremely busy and can't store all the data it needs to in memory.

Try talking to your host, or, if you host yourself, get more RAM.
Title: Re: [PHP] Weirdest Error?
Post by: AC_Drkan on January 04, 2006, 09:25 PM
Quote from: rabbit on January 04, 2006, 08:12 PM
IIRC, that has to do with either a) the result of the query is far too large (IE: a few gigs), or b) your MySQL server is extremely busy and can't store all the data it needs to in memory.

Try talking to your host, or, if you host yourself, get more RAM.

I thought that i might be too large but its only selecting 1 thing from the footer and thats only like 20 KB.  The SQL server i know isn't busy because im the only one using it. I have plenty of RAM to cover a 1 GIG SQL query, and have the CPU power to do it to.
Title: Re: [PHP] Weirdest Error?
Post by: rabbit on January 05, 2006, 10:09 PM
Hrm.  Then you'll probably want to take this to the MySQL forums.  Sorry I didn't help :\