mySQL error with query SELECT COUNT(i.inumber) FROM nucleus_item as i WHERE i.idraft=0 and i.iblog=1 and i.itime<="2018-08-16 17:38:43" and ( i.icat=14 or i.inumber IN (0) ): Table './ohyamanetn2/nucleus_item' is marked as crashed and should be repaired

|
mySQL error with query SELECT i.inumber as itemid, i.ititle as title, i.ibody as body, m.mname as author, m.mrealname as authorname, UNIX_TIMESTAMP(i.itime) as timestamp, i.itime, i.imore as more, m.mnumber as authorid, c.cname as category, i.icat as catid, i.iclosed as closed FROM nucleus_item as i, nucleus_member as m, nucleus_category as c WHERE i.iauthor=m.mnumber and i.icat=c.catid and i.iblog=1 and i.itime<="2018-08-16 17:38:43" and ( i.icat=14 or i.inumber IN (0) ) and i.idraft=0 ORDER BY i.itime DESC LIMIT -10,10: 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 '-10,10' at line 1

|