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 display=1
    ORDER BY `_CMS`.`rank` ASC, `date` DESC
  LIMIT 100000' at line 4

SELECT *
 FROM (`_CMS`)
 
  WHERE parent= AND display=1
    ORDER BY `_CMS`.`rank` ASC, `date` DESC
  LIMIT 100000



Fatal error: Call to a member function fetch_assoc() on a non-object in /home/countess/public_html/live/_private/classes/_system/CMS.class.php on line 71