MYSQL DEBUG CONSOLE
 MySQL DEBUG CONSOLE  
   
 Query: 
 select * from cms_pages WHERE (parent_id= or parent_id=) and top_nav=0 and parent_id<>0 ORDER BY sort_order 
   
 Mysql Response: 
 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 'or parent_id=) and top_nav=0 and parent_id<>0 ORDER BY sort_order' at line 1