Failed to execute the SQL query

select  i.title,  c.title, c.id, c.siteurl, i.unread, i.url, i.enclosure, i.author, i.description, c.icon,  unix_timestamp(ifnull(i.pubdate,i.added)) as ts,  i.pubdate is not null as ispubdate, i.id, r.rating, c.issponsor   from  mi_item  i  left join  mi_rating  r on (i.id = r.iid),  mi_channels  c,  mi_folders  f  where  i.cid = c.id and  f.id=c.parent and  not(i.unread & 8) and  not(i.unread & 4) and i.cid = 80 and IF(i.pubdate IS NOT NULL, i.pubdate <= now(), i.added <= now())  and month(ifnull(i.pubdate,i.added))= 11  and year(ifnull(i.pubdate, i.added))= 2009  and dayofmonth(ifnull(i.pubdate,i.added))= 07  and  1=1  order by  ts desc, f.position asc, c.position asc , ts desc, i.id asc limit  0, 100

Error 1017: Can't find file: '.\dmastio_5\mi_channels.frm' (errno: 24)