Warning: fopen(logs/sql_error.log): failed to open stream: Нет такого файла или каталога in /var/www/cloomed52/data/www/med52.ru/classes/modules/sys_logger/Logger.class.php on line 261
SQL Error: Lost connection to MySQL server during query at /var/www/cloomed52/data/www/med52.ru/classes/modules/topic/mapper/Topic.mapper.class.php line 587
Array ( [code] => 2013 [message] => Lost connection to MySQL server during query [query] => SELECT t.*, tc.*, u.user_login as user_login, b.blog_title as blog_title, b.blog_type as blog_type, b.blog_url as blog_url, IF(tv.topic_id IS NULL,0,1) as user_is_vote, tv.vote_delta as user_vote_delta, IF(tqv.topic_id IS NULL,0,1) as user_question_is_vote, IF(ft.topic_id IS NULL,0,1) as topic_is_favourite FROM ( SELECT topic_id FROM sv_topic_tag WHERE topic_tag_text = 'дом престарелых' ORDER BY topic_id DESC LIMIT 0, 10 ) as tt JOIN sv_topic AS t ON tt.topic_id=t.topic_id JOIN sv_user AS u ON t.user_id=u.user_id JOIN sv_blog AS b ON t.blog_id=b.blog_id LEFT JOIN ( SELECT topic_id, vote_delta FROM sv_topic_vote WHERE user_voter_id = -1 ) AS tv ON tt.topic_id=tv.topic_id LEFT JOIN ( SELECT topic_id FROM sv_favourite_topic WHERE user_id = -1 ) AS ft ON tt.topic_id=ft.topic_id LEFT JOIN ( SELECT topic_id FROM sv_topic_question_vote WHERE user_voter_id = -1 ) AS tqv ON tt.topic_id=tqv.topic_id LEFT JOIN sv_topic_content AS tc ON tt.topic_id=tc.topic_id order by t.topic_id desc ; [context] => /var/www/cloomed52/data/www/med52.ru/classes/modules/topic/mapper/Topic.mapper.class.php line 587 )