Warning: fopen(/var/www/admin/data/www/iwomen.ru/logs/sql_error.log) [function.fopen]: failed to open stream: Отказано в доступе in /var/www/admin/data/www/iwomen.ru/classes/modules/sys_logger/Logger.class.php on line 262
SQL Error: Got error 28 from storage engine at /var/www/admin/data/www/iwomen.ru/classes/modules/topic/mapper/Topic.mapper.class.php line 587
Array
(
[code] => 1030
[message] => Got error 28 from storage engine
[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
prefix_topic_tag
WHERE
topic_tag_text = 'iwomen'
ORDER BY topic_id DESC
LIMIT 0, 50
) 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
order by t.topic_id desc
;
[context] => /var/www/admin/data/www/iwomen.ru/classes/modules/topic/mapper/Topic.mapper.class.php line 587
)