Page 1 of 1

What is this error?

Posted: Thu Sep 12, 2013 7:32 pm
by kenhirai
12.30 select g.id, g.gallery_md5, gs.total_shows as thumb_casts, gs.total_clicks as clicks, if (gs.total_shows < 500, 1, 0) as new_thumb FROM rot_galleries as g JOIN rot_gallery_stats as gs on gs.thumb_id = g.id WHERE g.status = 1 AND g.rgroup != 0 and gs.best_thumb = 'yes' ORDER BY activation_date DESC LIMIT 0, 100# queryitems:: :

Re: What is this error?

Posted: Thu Sep 12, 2013 8:09 pm
by kenhirai
i have encountered error on main page.

Mysql error:: 2006 (MySQL server has gone away) (db_link) in query select g.id, g.gallery_md5, gs.total_shows as thumb_casts, gs.total_clicks as clicks, if (gs.total_shows < 500, 1, 0) as new_thumb FROM rot_galleries as g JOIN rot_gallery_stats as gs on gs.thumb_id = g.id WHERE g.status = 1 AND g.rgroup != 0 and gs.best_thumb = 'yes' ORDER BY activation_date DESC LIMIT 0, 100# queryitems.
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /usr/home/kenhirai/db_modules/mysql.php on line 249

Re: What is this error?

Posted: Thu Sep 12, 2013 9:41 pm
by kenhirai
another problem about speed. when I click the same gallery for a few times it just lag like hell. first time is usually fast, but if i click on it several time its damn slow...

site just got rejected by trafficholder due to error... so many problems.

Re: What is this error?

Posted: Thu Sep 12, 2013 9:55 pm
by kenhirai
finally figure out, its due to reddis cache. when i deactivate it, every load fast nomatter how many times i click... sometime too many addon will just has conflicts...

Re: What is this error?

Posted: Fri Sep 13, 2013 11:12 am
by admin
I don't think redis causes slow down in this situation ..