SQL Error: Out of resources when opening file '/tmp/#sql_f77_683.MYD' (Errcode: 24) at /var/www/tlttimes/data/www/tlttimes.ru/classes/modules/topic/mapper/Topic.mapper.class.php line 889
Array ( [code] => 23 [message] => Out of resources when opening file '/tmp/#sql_f77_683.MYD' (Errcode: 24) [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, theme.css, theme.id as theme_id, 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 prefix_topic_tag WHERE topic_tag_text = 'детский дом' ORDER BY topic_id DESC LIMIT 0, 10 ) as tt JOIN prefix_topic AS t ON tt.topic_id=t.topic_id JOIN prefix_user AS u ON t.user_id=u.user_id JOIN prefix_blog AS b ON t.blog_id=b.blog_id LEFT JOIN ( SELECT topic_id, vote_delta FROM prefix_topic_vote WHERE user_voter_id = -1 ) AS tv ON tt.topic_id=tv.topic_id LEFT JOIN ( SELECT topic_id FROM prefix_favourite_topic WHERE user_id = -1 ) AS ft ON tt.topic_id=ft.topic_id LEFT JOIN ( SELECT topic_id FROM prefix_topic_question_vote WHERE user_voter_id = -1 ) AS tqv ON tt.topic_id=tqv.topic_id LEFT JOIN prefix_topic_content AS tc ON tt.topic_id=tc.topic_id LEFT JOIN prefix_theme_blog as theme_blog ON theme_blog.blog_id = t.blog_id LEFT JOIN prefix_theme as theme ON theme.id = theme_blog.theme_id order by t.topic_id desc ; [context] => /var/www/tlttimes/data/www/tlttimes.ru/classes/modules/topic/mapper/Topic.mapper.class.php line 889 )