Error on line 372 in /var/www/vgorode.ua/sunsite/lib/classes/mysql.class.php:
http://vgorode.ua/ukr/ (25.07.2021 09:44)
MySQL Error:
Invalid SQL: /* articles class */ SELECT a.* FROM articles a WHERE a.absnum in (1171866,1171852,1171833,,1171816,1171804,1171800,1171798,1171796,1171788,1171783,1171778,1171765,1171770,1171764,1171755,1171742,1171617,1171723) and a.langid = 2 ORDER BY adate DESC

(1064) You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '1171816,1171804,1171800,1171798,1171796,1171788,1171783,1171778,1171765,11717...' at line 3

Backtrace:

file: 273 - /var/www/vgorode.ua/sunsite/lib/globals.php
call: backtrace()

file: 360 - /var/www/vgorode.ua/sunsite/lib/classes/mysql.class.php
call: sunsite("backtrace")

file: 204 - /var/www/vgorode.ua/sunsite/lib/classes/mysql.class.php
call: SunMySql->halt("Invalid SQL: /* articles class */ SELECT a.* FROM articles a WHERE a.absnum in (1171866,1171852,1171833,,1171816,1171804,1171800,1171798,1171796,1171788,1171783,1171778,1171765,1171770,1171764,1171755,1171742,1171617,1171723) and a.langid = 2 ORDER BY adate DESC ")

file: 145 - /var/www/vgorode.ua/sunsite/lib/classes/mysql.class.php
call: SunMySql->execQuery("/* articles class */ SELECT a.* FROM articles a WHERE a.absnum in (1171866,1171852,1171833,,1171816,1171804,1171800,1171798,1171796,1171788,1171783,1171778,1171765,1171770,1171764,1171755,1171742,1171617,1171723) and a.langid = 2 ORDER BY adate DESC ", Array ( ) , False)

file: 280 - /var/www/vgorode.ua/sunsite/lib/classes/articles.class.php
call: SunMySql->exquery("/* articles class */ SELECT a.* FROM articles a WHERE a.absnum in (1171866,1171852,1171833,,1171816,1171804,1171800,1171798,1171796,1171788,1171783,1171778,1171765,1171770,1171764,1171755,1171742,1171617,1171723) and a.langid = 2 ORDER BY adate DESC ")

file: 63 - /var/www/vgorode.ua/sunsite/lib/classes/articles.class.php
call: articles->load_articles(Array ( [absnums] => Array ( [0] => 1171866 [1] => 1171852 [2] => 1171833 [3] => [4] => 1171816 [5] => 1171804 [6] => 1171800 [7] => [8] => 1171798 [9] => 1171796 [10] => 1171788 [11] => [12] => 1171783 [13] => 1171778 [14] => 1171765 [15] => [16] => 1171770 [17] => 1171764 [18] => 1171755 [19] => [20] => 1171742 [21] => 1171617 [22] => 1171723 ) [langid] => 2 [memcache] => 0 [order] => adate DESC ) )

file: 119 - /var/www/vgorode.ua/modules/vgorode/lib/functions/index_news_arts.php
call: articles->__construct(Array ( [absnums] => Array ( [0] => 1171866 [1] => 1171852 [2] => 1171833 [3] => [4] => 1171816 [5] => 1171804 [6] => 1171800 [7] => [8] => 1171798 [9] => 1171796 [10] => 1171788 [11] => [12] => 1171783 [13] => 1171778 [14] => 1171765 [15] => [16] => 1171770 [17] => 1171764 [18] => 1171755 [19] => [20] => 1171742 [21] => 1171617 [22] => 1171723 ) [memcache] => 0 [langid] => 2 ) )

file: 285 - /var/www/vgorode.ua/sunsite/lib/globals.php
call: index_news_arts(6129, "2", 23)

file: 18 - /var/www/vgorode.ua/modules/vgorode/lib/smarty/function.index_gen.php
call: sunsite("index_news_arts", 6129, "2", 23)

file: 127 - /var/www/vgorode.ua/sunsite/cache/templates_c/1b/90/96/1b9096afda5f34625bf60c15e96e820ff8572ffe_0.file.6123.sections.center.tpl.php
call: smarty_function_index_gen(Array ( [city] => 6129 ) , Object(Smarty_Internal_Template))

file: 122 - /var/www/vgorode.ua/sunsite/lib/smarty/sysplugins/smarty_template_resource_base.php
call: content_60dc5c0c640274_21405878(Object(Smarty_Internal_Template))

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

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

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

file: 27 - /var/www/vgorode.ua/sunsite/cache/templates_c/c4/c6/ca/c4c6ca3bf313dd96bbdd1c5da92b797121f0d014_0.file.1000.base.center.tpl.php
call: Smarty_Internal_Runtime_SubTemplate->render(Object(Smarty_Internal_Template), "file:6123.sections.center.tpl", Null, Null, 0, 3600, Array ( ) , 0, False)

file: 122 - /var/www/vgorode.ua/sunsite/lib/smarty/sysplugins/smarty_template_resource_base.php
call: content_60dc5c2c6bb339_46976262(Object(Smarty_Internal_Template))

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

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

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

file: 82 - /var/www/vgorode.ua/sunsite/cache/templates_c/98/4d/a4/984da4d31b5cd97928d39859815a78d35c3f8b99_0.file.0.default.tpl.php
call: Smarty_Internal_Runtime_SubTemplate->render(Object(Smarty_Internal_Template), "1000.base.center.tpl", Null, Null, 0, 3600, Array ( ) , 0, True)

file: 122 - /var/www/vgorode.ua/sunsite/lib/smarty/sysplugins/smarty_template_resource_base.php
call: content_60e58c388936e7_52441893(Object(Smarty_Internal_Template))

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

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

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

file: 109 - /var/www/vgorode.ua/sunsite/lib/smarty/sysplugins/smarty_internal_templatebase.php
call: Smarty_Internal_TemplateBase->_execute(Object(Smarty_Internal_Template), Null, Null, Null, 1)

file: 8 - /var/www/vgorode.ua/sunsite/pages/core/default.php
call: Smarty_Internal_TemplateBase->display("0.default.tpl")

file: 49 - /var/www/vgorode.ua/sunsite/index.php
call: include("/var/www/vgorode.ua/sunsite/pages/core/default.php")