Warning (512): SQL Error: 1064: 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 'order by id' at line 1 [CORE/cake/libs/model/datasources/dbo_source.php, line 684]

Query: select * from pages as Page where parent_id= order by id

museum in progress -
Notice (8): Undefined index: HTTP_ACCEPT_LANGUAGE [APP/views/layouts/default.ctp, line 46]
Warning (2): Cannot modify header information - headers already sent by (output started at /usr/www/users/mipaat/cake/libs/debugger.php:686) [APP/views/layouts/default.ctp, line 55]