Error on line 363 in /var/www/ubr.ua/sunsite/lib/classes/mysql.class.php:
http://bp.ubr.ua/profile/-26.html? (23.02.2017 06:45)
MySQL Error:
Invalid SQL: SELECT * FROM cont_2254 WHERE person= ORDER BY position 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 'ORDER BY position DESC' at line 1

Backtrace:

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

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

file: 203 - /var/www/ubr.ua/sunsite/lib/classes/mysql.class.php
call: MySql->halt("Invalid SQL: SELECT * FROM cont_2254 WHERE person= ORDER BY posi...")

file: 128 - /var/www/ubr.ua/sunsite/lib/classes/mysql.class.php
call: MySql->execQuery("SELECT * FROM cont_2254 WHERE person= ORDER BY position DESC", Array(0), False)

file: 9 - /var/www/ubr.ua/sunsite/lib/smarty/sunsite/function.query.php
call: MySql->query("SELECT * FROM cont_2254 WHERE person= ORDER BY position DESC")

file: 141 - /var/www/ubr.ua/sunsite/cache/templates_c/18/68/62/1868629ab07ed8d2903e68323daaf5db7d2bf8b0_0.file.2575.article.center.tpl.php
call: smarty_function_query(Array(2), Object(Smarty_Internal_Template))

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

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

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

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

file: 71 - /var/www/ubr.ua/sunsite/cache/templates_c/4d/a4/aa/4da4aa17ee6d25a16446f82d37dfa6d8572574f8_0.file.0.default.tpl.php
call: Smarty_Internal_Runtime_SubTemplate->render(Object(Smarty_Internal_Template), "2575.article.center.tpl", Null, Null, 0, 3600, Array(0), 0, True)

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

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

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

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

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

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

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