• На главную
  • Карта сайта
http://mainstars.ru/afisha/p0/weekends.html (15.09.2019 11:03)
MySQL Error:
Invalid SQL: SELECT a.* , c_2203.* FROM articles a, cont_2203 c_2203 WHERE a.category in (2243,2244,2245,2246,2247,2248,2249) and a.approved = 1 and a.langid in (1) and c_2203.absnum = a.absnum and c_2203.langid = a.langid and datewith <= 1569099600 AND bydate >= 1568494800 GROUP BY a.absnum ORDER BY datewith asc LIMIT -15, 15

(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 '-15, 15' at line 6

Backtrace:

file: -
call: backtrace()

file: 191 - /var/www/a9890/data/www/mainstars.ru/lib/globals.php
call: call_user_func_array("backtrace", Array(0))

file: 350 - /var/www/a9890/data/www/mainstars.ru/lib/classes/mysql.class.php
call: sunsite("backtrace")

file: 214 - /var/www/a9890/data/www/mainstars.ru/lib/classes/mysql.class.php
call: MySql->halt("Invalid SQL: SELECT a.* , c_2203.* FROM articles a, cont_220...")

file: 158 - /var/www/a9890/data/www/mainstars.ru/lib/classes/mysql.class.php
call: MySql->execQuery("SELECT a.* , c_2203.* FROM articles a, cont_2203 c_2203 ...", Array(0))

file: 212 - /var/www/a9890/data/www/mainstars.ru/lib/smarty/sunsite/function.getarticles.php
call: MySql->exquery("SELECT a.* , c_2203.* FROM articles a, cont_2203 c_2203 ...")

file: -
call: smarty_function_getarticles(Array(11), Object(Smarty), Object(Smarty_Template))

file: 28 - /var/www/a9890/data/www/mainstars.ru/lib/smarty/sysplugins/smarty_internal_plugin_handler.php
call: call_user_func_array("smarty_function_getarticles", Array(3))

file: 261 - /var/www/a9890/data/www/mainstars.ru/cache/templates_c/28/99/36/2899362131.file.2203.sections.center.tpl.php
call: Smarty_Internal_Plugin_Handler->__call("getarticles", Array(2))

file: 261 - /var/www/a9890/data/www/mainstars.ru/cache/templates_c/28/99/36/2899362131.file.2203.sections.center.tpl.php
call: Smarty_Internal_Plugin_Handler->getarticles(Array(3), "function")

file: 435 - /var/www/a9890/data/www/mainstars.ru/lib/smarty/sysplugins/smarty_internal_template.php
call: include("/var/www/a9890/data/www/mainstars.ru/cache/templates_c/28/99/36/...")

file: 521 - /var/www/a9890/data/www/mainstars.ru/lib/smarty/sysplugins/smarty_internal_template.php
call: Smarty_Internal_Template->renderTemplate()

file: 54 - /var/www/a9890/data/www/mainstars.ru/cache/templates_c/28/34/09/2834099048.file.0.default.tpl.php
call: Smarty_Internal_Template->getRenderedTemplate()

file: 435 - /var/www/a9890/data/www/mainstars.ru/lib/smarty/sysplugins/smarty_internal_template.php
call: include("/var/www/a9890/data/www/mainstars.ru/cache/templates_c/28/34/09/...")

file: 521 - /var/www/a9890/data/www/mainstars.ru/lib/smarty/sysplugins/smarty_internal_template.php
call: Smarty_Internal_Template->renderTemplate()

file: 318 - /var/www/a9890/data/www/mainstars.ru/lib/smarty/Smarty.class.php
call: Smarty_Internal_Template->getRenderedTemplate()

file: 336 - /var/www/a9890/data/www/mainstars.ru/lib/smarty/Smarty.class.php
call: Smarty->fetch("0.default.tpl", Null, Null, Null)

file: 9 - /var/www/a9890/data/www/mainstars.ru/pages/default.php
call: Smarty->display("0.default.tpl")

file: 39 - /var/www/a9890/data/www/mainstars.ru/index.php
call: include("/var/www/a9890/data/www/mainstars.ru/pages/default.php")