The Wayback Machine - https://web.archive.org/all/20060521063432/http://www.e-artoffishing.com/catalog/topic_.html
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 'and c.categories_id = cd.categories_id and cd.language_id='1' o

select c.categories_id, cd.categories_name, c.parent_id from categories c, categories_description cd where c.categories_id = and c.categories_id = cd.categories_id and cd.language_id='1' order by sort_order, cd.categories_name

[TEP STOP]