SFML community forums
General => SFML website => Topic started by: eXpl0it3r on July 24, 2012, 06:33:42 pm
-
I've now run twice into this database error with the search function and I guess it could happen even more often if I'd need to use the search function more (which I probably should have (http://en.sfml-dev.org/forums/index.php?topic=8629) ;D).
(http://i.imgur.com/X9cEp.png) (http://i.imgur.com/X9cEp.png)
Do you know the reason for this and/or how it could get fixed?
(A side note isn't 128kb individual file size a bit too limiting, e.g. couldn't add the image as attachment....)
-
I have no idea sorry :(
-
Found this: http://www.simplemachines.org/community/index.php?topic=423482.msg3325138#msg3325138
Happens to me on my server a lot too that the MySQL daemon drops connections under too much load. I guess I tuned the my.conf too much :P
-
This^^ is the exact same thing I got here (http://en.sfml-dev.org/forums/index.php?topic=7669.msg50932).
-
Did you have all the forums selected for this search?
-
Is there a way not to select all forums?
-
Of course, below "CHOOSE A BOARD TO SEARCH IN, OR SEARCH ALL" ;)
It would be much better if it was expanded by default though. I'll see if I can change that.
-
Of course, below "CHOOSE A BOARD TO SEARCH IN, OR SEARCH ALL" ;)
It would be much better if it was expanded by default though. I'll see if I can change that.
Ah lol, I never noticed that it's expandable. ;D
I was always thinking about what unchecking the 'Check all' box would do, or what the sense is, since you "can't" choose specific forums. ;)
-
Arg it happend again twice today. >:(
This is getting annoying... :-\
-
Happening almost constantly. It also gives an error where the browser says that the server sent no data.
-
Well the search function seems to become more and more useless, i.e. I've now tried to search something 10 times in a row and always either got the PHP error from above or an EMPTY_RESPONSE from the server... >:(
I did a little research and came up with this statement about the error (source (http://www.simplemachines.org/community/index.php?topic=440101.msg3094279#msg3094279)):
This error basically means that sometime between when the page load began (which means an sql connection was made) but before the end the page the mysql connection dropped. This should *never* happen but it does, I don't know why but it does.
Laurent: Could you maybe check the MySQL logs & SFM logs for strange mysql drops or similar and/or contact your hoster, maybe they know more about this...
I've also found these two threads, but I haven't digged all the way through it, but maybe there's a solution somewhere:
http://www.simplemachines.org/community/index.php?topic=423482.0 (http://www.simplemachines.org/community/index.php?topic=423482.0)
http://portamx.com/2835/error_log-shows-an-error-in-subs-db-mysql-php-on-line-130/ (http://portamx.com/2835/error_log-shows-an-error-in-subs-db-mysql-php-on-line-130/)
Or does this solution (http://www.sergechel.info/articles/fix_smf_error_mysql_real_escape_string_expects_parameter_2_be_resource_boolean_given) fix it?
Edit: Ah well binary actually linked already to that issue, so it seems to be that the MySQL server just drops the connection because of too much load. So this should be solved by the hoster...
-
Or does this solution fix it?
It fixes the error message error, but the connection is still lost when the search takes too long.