DATABASE ERROR:

SELECT con.id
				FROM cms_content con
				INNER JOIN cms_category cat ON cat.id = con.category_id AND cat.NSLeft >= '340' AND cat.NSRight <= '341'
				WHERE con.published = 1 AND con.is_arhive = 0

MySQL server has gone away