Включаю в админке режим отладки, и сразу же на главной такая картина
DATABASE ERROR: SELECT con.*, con.pubdate as fdate, u.nickname as author, u.login as author_login FROM cms_content con WHERE con.published = 1 AND con.showlatest = 1 AND (con.is_end=0 OR (con.is_end=1 AND con.enddate >= '2011-06-07 21:50:54' AND con.pubdate <= '2011-06-07 21:50:54')) AND (cat.NSLeft >= AND cat.NSRight <= ) ORDER BY con.id DESC LIMIT 4 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND cat.NSRight <= ) ORDER BY con.id DESC LIMIT 4' at line 10