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 'int)0 AND cd.language_id ='2' ORDER BY sort_order, cd.categorie' at line 4

SELECT c.categories_id, cpath, cd.categories_name, c.parent_id FROM categories c INNER JOIN categories_description cd ON c.categories_id = cd.categories_id WHERE c.parent_id = (int)0 AND cd.language_id ='2' ORDER BY sort_order, cd.categories_name

[TEP STOP]