Database error: Invalid SQL: select c.type, c.open_method, c.link, cd.name, cd.content, ep.path, c.id,tl.content_id, ( if( (select root_id from tree_logic where lang_id=1 and root_id !=0 and root_id=tl.content_id limit 0,1)=tl.content_id, 1,0 ) ) as menuSub from contents as c inner join contents_data as cd on c.id = cd.content_id and cd.name <> '' inner join elementpath as ep on c.id = ep.page and ep.lang = cd.lang_id and ep.lang = 1 and ep.subid = 0 inner join tree_logic as tl on ep.page = tl.content_id and cd.lang_id = tl.lang_id and tl.root_id = 0 where c.visibility = 1 order by tl.position
MySQL Error: 1030 (Got error 28 from storage engine)
Session halted.