Error on line 363 in /var/www/ailas2017.newagelab.com.ua/sunsite/lib/classes/mysql.class.php:
http://www.ailas.com.ua/qa/29023.html (26.09.2017 21:14)
MySQL Error:
Invalid SQL: /* get articles */ SELECT a.* FROM articles a WHERE a.approved = 1 and a.absnum in () and a.langid in (1) ORDER BY adate DESC LIMIT 30

(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 (1) ORDER BY adate DESC LIMIT 30' at line 3

Backtrace:

file: -
call: backtrace()

file: 255 - /var/www/ailas2017.newagelab.com.ua/sunsite/lib/globals.php
call: call_user_func_array("backtrace", Array(0))

file: 351 - /var/www/ailas2017.newagelab.com.ua/sunsite/lib/classes/mysql.class.php
call: sunsite("backtrace")

file: 203 - /var/www/ailas2017.newagelab.com.ua/sunsite/lib/classes/mysql.class.php
call: MySql->halt("Invalid SQL: /* get articles */ SELECT a.* FROM articles a...")

file: 144 - /var/www/ailas2017.newagelab.com.ua/sunsite/lib/classes/mysql.class.php
call: MySql->execQuery("/* get articles */ SELECT a.* FROM articles a WHERE a.a...", Array(0), False)

file: 145 - /var/www/ailas2017.newagelab.com.ua/sunsite/lib/smarty/sunsite/function.getarticles.php
call: MySql->exquery("/* get articles */ SELECT a.* FROM articles a WHERE a.a...")

file: 56 - /var/www/ailas2017.newagelab.com.ua/sunsite/cache/templates_c/82/19/b2/8219b202ac9f848cbd3b473937d7f9d02b176912_0.file.simple_article_propertis.tpl.php
call: smarty_function_getarticles(Array(6), Object(Smarty_Internal_Template))

file: 122 - /var/www/ailas2017.newagelab.com.ua/sunsite/lib/smarty/sysplugins/smarty_template_resource_base.php
call: content_59a40d32b62931_40950268(Object(Smarty_Internal_Template))

file: 199 - /var/www/ailas2017.newagelab.com.ua/sunsite/lib/smarty/sysplugins/smarty_template_compiled.php
call: Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(Smarty_Internal_Template))

file: 159 - /var/www/ailas2017.newagelab.com.ua/sunsite/lib/smarty/sysplugins/smarty_internal_template.php
call: Smarty_Template_Compiled->render(Object(Smarty_Internal_Template))

file: 174 - /var/www/ailas2017.newagelab.com.ua/sunsite/lib/smarty/sysplugins/smarty_internal_runtime_subtemplate.php
call: Smarty_Internal_Template->render()

file: 130 - /var/www/ailas2017.newagelab.com.ua/sunsite/cache/templates_c/d3/23/28/d32328da90d99a883243b781e46877738514e237_0.file.simple_block_img_data.tpl.php
call: Smarty_Internal_Runtime_SubTemplate->render(Object(Smarty_Internal_Template), "file:blocks/simple_article_propertis.tpl", Null, Null, 0, 3600, Array(0), 0, False)

file: 122 - /var/www/ailas2017.newagelab.com.ua/sunsite/lib/smarty/sysplugins/smarty_template_resource_base.php
call: content_59a40d32a0cdf6_46156946(Object(Smarty_Internal_Template))

file: 199 - /var/www/ailas2017.newagelab.com.ua/sunsite/lib/smarty/sysplugins/smarty_template_compiled.php
call: Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(Smarty_Internal_Template))

file: 159 - /var/www/ailas2017.newagelab.com.ua/sunsite/lib/smarty/sysplugins/smarty_internal_template.php
call: Smarty_Template_Compiled->render(Object(Smarty_Internal_Template))

file: 174 - /var/www/ailas2017.newagelab.com.ua/sunsite/lib/smarty/sysplugins/smarty_internal_runtime_subtemplate.php
call: Smarty_Internal_Template->render()

file: 611 - /var/www/ailas2017.newagelab.com.ua/sunsite/cache/templates_c/fb/71/6b/fb716bcf5ef3b7498b3d0b38e637b248e3e31618_0.file.0.article.center.tpl.php
call: Smarty_Internal_Runtime_SubTemplate->render(Object(Smarty_Internal_Template), "file:blocks/simple_block_img_data.tpl", Null, Null, 0, 3600, Array(0), 0, True)

file: 122 - /var/www/ailas2017.newagelab.com.ua/sunsite/lib/smarty/sysplugins/smarty_template_resource_base.php
call: content_59ca364fb41763_95106379(Object(Smarty_Internal_Template))

file: 199 - /var/www/ailas2017.newagelab.com.ua/sunsite/lib/smarty/sysplugins/smarty_template_compiled.php
call: Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(Smarty_Internal_Template))

file: 159 - /var/www/ailas2017.newagelab.com.ua/sunsite/lib/smarty/sysplugins/smarty_internal_template.php
call: Smarty_Template_Compiled->render(Object(Smarty_Internal_Template))

file: 174 - /var/www/ailas2017.newagelab.com.ua/sunsite/lib/smarty/sysplugins/smarty_internal_runtime_subtemplate.php
call: Smarty_Internal_Template->render()

file: 48 - /var/www/ailas2017.newagelab.com.ua/sunsite/cache/templates_c/35/a7/15/35a715eda34dcf46e254b48f89cc713e314f4a39_0.file.0.default.tpl.php
call: Smarty_Internal_Runtime_SubTemplate->render(Object(Smarty_Internal_Template), "0.article.center.tpl", Null, Null, 0, 3600, Array(0), 0, True)

file: 122 - /var/www/ailas2017.newagelab.com.ua/sunsite/lib/smarty/sysplugins/smarty_template_resource_base.php
call: content_59c100230c6411_61835061(Object(Smarty_Internal_Template))

file: 199 - /var/www/ailas2017.newagelab.com.ua/sunsite/lib/smarty/sysplugins/smarty_template_compiled.php
call: Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(Smarty_Internal_Template))

file: 159 - /var/www/ailas2017.newagelab.com.ua/sunsite/lib/smarty/sysplugins/smarty_internal_template.php
call: Smarty_Template_Compiled->render(Object(Smarty_Internal_Template))

file: 191 - /var/www/ailas2017.newagelab.com.ua/sunsite/lib/smarty/sysplugins/smarty_internal_templatebase.php
call: Smarty_Internal_Template->render(False, 1)

file: 109 - /var/www/ailas2017.newagelab.com.ua/sunsite/lib/smarty/sysplugins/smarty_internal_templatebase.php
call: Smarty_Internal_TemplateBase->_execute("0.default.tpl", Null, Null, Null, 1)

file: 7 - /var/www/ailas2017.newagelab.com.ua/sunsite/pages/core/default.php
call: Smarty_Internal_TemplateBase->display("0.default.tpl")

file: 47 - /var/www/ailas2017.newagelab.com.ua/sunsite/index.php
call: include("/var/www/ailas2017.newagelab.com.ua/sunsite/pages/core/default.p...")