A Database Error Occurred
Error Number: 1030
Got error 28 from storage engine
SELECT DISTINCT idea.*, char_length(idea.description) as len, (SELECT count(*) FROM vote_ideas WHERE item_id = idea.id) AS totalvotes, fa_user.id as user_id, fa_user.user_name, user_profile.user_id, user_profile.bio_image_thumb, (SELECT count(*) FROM comments WHERE parent_id = idea.id AND parent_type = 'idea') AS totalcomments FROM (idea) JOIN fa_user ON fa_user.id = idea.user_id JOIN user_profile ON user_profile.user_id = idea.user_id WHERE `idea`.`id` IN ('547', '548', '549', '550', '551', '552', '553', '554', '555', '556', '557', '560', '562', '563', '564', '565', '566', '571', '572', '573', '574', '575', '576', '577', '578', '579', '580', '717', '807', '834', '857', '873', '874', '889', '897', '914', '920', '923', '947', '963', '981', '989', '990', '992', '1022', '1024', '1064', '1069', '1073', '1094') AND char_length(idea.description) > 200 AND (SELECT count(*) FROM vote_ideas WHERE item_id = idea.id) > 4 ORDER BY `totalvotes` desc LIMIT 45, 5