gen_user_error

ERROR SQL [ mysql4 ]

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 categorynumericorder' at line 3 [1064]

SQL

select c.idcategory,c.categoryname,c.categoryorder,c.isleaf,c.topcategory,c.categorynumericorder from products_categories as c where isleaf=0 and c.idcategory in (select distinct(topcategory) from products_categories where idcategory in (select idcategory from products where isshown=1 and idcountry=)) order by categorynumericorder

BACKTRACE

FILE: kernel/agllib/bd/mysql.php
LINE: 127
CALL: bdclass->sql_error()

FILE: kernel/class.categories.php
LINE: 150
CALL: bdclass_mysql->query()

FILE: compania.php
LINE: 61
CALL: categories->getInfo()

FILE: compania.php
LINE: 34
CALL: showindex()

gen_send_notification_to_admin: AGLStudios Webmaster