Database error: Invalid SQL: SELECT a.*
FROM articles a
WHERE a.deleted=0 and a.category in () and a.langid in (5) and a.approved = 1
ORDER BY position ASC
LIMIT 100
MySQL Error: 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 a.langid in (5) and a.approved = 1
ORDER BY position ASC
LIMIT 100' at line 3)
Backtrace:
file: 412 - /data/www/apache22/data/karta.ua/phplib/db_mysql.inc
call: backtrace()
file: 127 - /data/www/apache22/data/karta.ua/phplib/db_mysql.inc
call: DB_Sql->halt("Invalid SQL: SELECT a.*
FROM articles a
WHERE a.deleted=0 and ...")
file: 67 - /data/www/apache22/data/karta.ua/smarty/plugins/function.getarticles.php
call: DB_Sql->query("SELECT a.*
FROM articles a
WHERE a.deleted=0 and a.category in...")
file: 14 - /data/www/apache22/data/karta.ua/templates_c/%%102/%%1026290836/2896.article.subheader.tpl.php
call: smarty_function_getarticles(Array(3), Object(Smarty))
file: 1947 - /data/www/apache22/data/karta.ua/smarty/Smarty.class.php
call: include("/data/www/apache22/data/karta.ua/templates_c/%%102/%%1026290836/...")
file: 60 - /data/www/apache22/data/karta.ua/templates_c/%%-16/%%-1680830656/2896.default.tpl.php
call: Smarty->_smarty_include(Array(2))
file: 1308 - /data/www/apache22/data/karta.ua/smarty/Smarty.class.php
call: include("/data/www/apache22/data/karta.ua/templates_c/%%-16/%%-1680830656...")
file: 1167 - /data/www/apache22/data/karta.ua/smarty/Smarty.class.php
call: Smarty->fetch("2896.default.tpl", Null, Null, True)
file: 49 - /data/www/apache22/data/karta.ua/pages/default.tpl
call: Smarty->display("2896.default.tpl")
file: 90 - /data/www/apache22/data/karta.ua/index.php
call: include("/data/www/apache22/data/karta.ua/pages/default.tpl")
Session halted.