Error on line 372 in /var/www/vgorode.ua/sunsite/lib/classes/mysql.class.php:
http://vgorode.ua/ukr/ (25.02.2021 18:41)
MySQL Error:
Invalid SQL: /* articles class */ SELECT a.*
FROM articles a
WHERE a.absnum in (1152934,1152886,1152894,,1152931,1152917,1152912,1152885,1152874,1152887,1152867,1152852,1152849,1152838,1152831,1152821,1152808,1152802,1152823) 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 '1152931,1152917,1152912,1152885,1152874,1152887,1152867,1152852,1152849,11528...' 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 (1152934,1152886,1152894,,1152931,1152917,1152912,1152885,1152874,1152887,1152867,1152852,1152849,1152838,1152831,1152821,1152808,1152802,1152823) 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 (1152934,1152886,1152894,,1152931,1152917,1152912,1152885,1152874,1152887,1152867,1152852,1152849,1152838,1152831,1152821,1152808,1152802,1152823) 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 (1152934,1152886,1152894,,1152931,1152917,1152912,1152885,1152874,1152887,1152867,1152852,1152849,1152838,1152831,1152821,1152808,1152802,1152823) 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] => 1152934
[1] => 1152886
[2] => 1152894
[3] =>
[4] => 1152931
[5] => 1152917
[6] => 1152912
[7] =>
[8] => 1152885
[9] => 1152874
[10] => 1152887
[11] =>
[12] => 1152867
[13] => 1152852
[14] => 1152849
[15] =>
[16] => 1152838
[17] => 1152831
[18] => 1152821
[19] =>
[20] => 1152808
[21] => 1152802
[22] => 1152823
)
[langid] => 2
[memcache] => 0
[order] => adate DESC
)
)
file: 118 - /var/www/vgorode.ua/modules/vgorode/lib/functions/index_news_arts.php
call: articles->__construct(Array
(
[absnums] => Array
(
[0] => 1152934
[1] => 1152886
[2] => 1152894
[3] =>
[4] => 1152931
[5] => 1152917
[6] => 1152912
[7] =>
[8] => 1152885
[9] => 1152874
[10] => 1152887
[11] =>
[12] => 1152867
[13] => 1152852
[14] => 1152849
[15] =>
[16] => 1152838
[17] => 1152831
[18] => 1152821
[19] =>
[20] => 1152808
[21] => 1152802
[22] => 1152823
)
[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_602a5306ee1ab4_26235581(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_5f9fcbd88fe9a1_83772772(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_5f9fcbd0008a62_23764956(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")