SQL/DB Error -- [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 '' at line 1]
SQL: select tid from goods, goods_groups where goods_groups.id=goods.ggid and goods.id=
SQL/DB Error -- [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 full=1 order by ordernum' at line 1]
SQL: select id, property from templates_properties where tid= and full=1 order by ordernum