PEAR-Error
MDB2 Error: syntax error: _doQuery: [Error message: Could not execute statement]
[Last executed query: SELECT c.id as cid, c.pid, al.path, m1.sr AS category_name, m2.sr AS category_subtitle, m3.sr AS category_text, c.picture
FROM cx_catalog_category c
LEFT JOIN cx_mlc m1 ON c.name_mlc_id = m1.id
LEFT JOIN cx_mlc m2 ON c.subtitle_mlc_id = m2.id
LEFT JOIN cx_mlc m3 ON c.text_mlc_id = m3.id
LEFT JOIN cx_alias al ON (c.id = al.sid AND al.stable = 'cx_catalog_category')
WHERE c.id =
AND c.active = 'y'
LIMIT 1]
[Native code: 1064]
[Native message: 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 c.active = 'y'
LIMIT 1' at line 8]