Topic: supplied argument is not a valid MySQL result resource
Hi everybody.
We ran into a small bug/problem lately on our PunBB forum: http://archiforum.free.fr/.
After a few long posts in the same thread, we had this error message (only on this thread):
Fatal error: mysql_free_result(): supplied argument is not a valid MySQL result resource in /mnt/166/sdb/8/9/archiforum/include/dblayer/mysql.php on line 185
I guess this means the MySQL request has been terminated too early, right?
Actually, the only solution I found was to reduce the number of posts per thread, so that the request doesn't fail.
If I clean the "cache" folder, I can see the thread with the first post only in it, then when one refreshes it, there goes the error report again.
I created a dummy account where I asked for 25 posts per thread (the previous settings for default user options) if you want to check (the code is "2ufn9XNG" and this account is read-only).
Thanks for any help if this weird situation doesn't come from PunBB, or thanks to fix this issue whenever you can (if it's a bug, of course). :)