Code: 0
Message: SQLSTATE[42000]: Syntax error or access violation: 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 '-10,10' at line 8
Trace:
Array ( [0] => Array ( [file] => /var/www/credit-rating.ua/Zend/Db/Statement.php [line] => 298 [function] => _execute [class] => Zend_Db_Statement_Pdo [type] => -> [args] => Array ( [0] => Array ( ) ) ) [1] => Array ( [file] => /var/www/credit-rating.ua/Zend/Db/Adapter/Abstract.php [line] => 279 [function] => execute [class] => Zend_Db_Statement [type] => -> [args] => Array ( [0] => Array ( ) ) ) [2] => Array ( [file] => /var/www/credit-rating.ua/Zend/Db/Adapter/Pdo/Abstract.php [line] => 208 [function] => query [class] => Zend_Db_Adapter_Abstract [type] => -> [args] => Array ( [0] => SELECT SQL_CALC_FOUND_ROWS DISTINCT s.st_id AS id FROM statya AS s LEFT JOIN st_raz AS sr USING(st_id) WHERE sr.raz_id='140' AND s.del!=1 AND s.langid=1 ORDER BY s.st_date DESC LIMIT -10,10 [1] => Array ( ) ) ) [3] => Array ( [file] => /var/www/credit-rating.ua/Zend/Db/Adapter/Abstract.php [line] => 523 [function] => query [class] => Zend_Db_Adapter_Pdo_Abstract [type] => -> [args] => Array ( [0] => SELECT SQL_CALC_FOUND_ROWS DISTINCT s.st_id AS id FROM statya AS s LEFT JOIN st_raz AS sr USING(st_id) WHERE sr.raz_id='140' AND s.del!=1 AND s.langid=1 ORDER BY s.st_date DESC LIMIT -10,10 [1] => Array ( ) ) ) [4] => Array ( [file] => /var/www/credit-rating.ua/blocks/articles_list.block.php [line] => 364 [function] => fetchCol [class] => Zend_Db_Adapter_Abstract [type] => -> [args] => Array ( [0] => SELECT SQL_CALC_FOUND_ROWS DISTINCT s.st_id AS id FROM statya AS s LEFT JOIN st_raz AS sr USING(st_id) WHERE sr.raz_id='140' AND s.del!=1 AND s.langid=1 ORDER BY s.st_date DESC LIMIT -10,10 ) ) [5] => Array ( [file] => /var/www/credit-rating.ua/Smarty_plugins/function.block.php [line] => 51 [function] => getHTML [class] => articles_list_block [type] => -> [args] => Array ( ) ) [6] => Array ( [file] => /var/www/credit-rating.ua/cache/templates_cache/%%0B^0BF^0BF2794C%%module.articles_list.tpl.php [line] => 34 [function] => smarty_function_block [args] => Array ( [0] => Array ( [name] => articles_list [params] => list,10,0, 0 ) [1] => C8_Site_TPL Object ( [exceptions:protected] => Array ( ) [template_dir] => templates [compile_dir] => cache/templates_cache [config_dir] => configs [plugins_dir] => Array ( [0] => plugins [1] => tpl_plugins [2] => Smarty_plugins [3] => /usr/share/php/Smarty_plugins ) [debugging] => [error_reporting] => [debug_tpl] => [debugging_ctrl] => NONE [compile_check] => 1 [force_compile] => [caching] => [cache_dir] => cache/templates_cache [cache_lifetime] => -1 [cache_modified_check] => [php_handling] => 0 [security] => 1 [secure_dir] => Array ( ) [security_settings] => Array ( [PHP_HANDLING] => [IF_FUNCS] => Array ( [0] => count [1] => strstr [2] => isset [3] => in_array [4] => trim [5] => ceil [6] => floor ) [INCLUDE_ANY] => [PHP_TAGS] => 1 [MODIFIER_FUNCS] => Array ( [0] => round [1] => count [2] => strstr [3] => trim [4] => ceil [5] => floor [6] => html_entity_decode [7] => in_array ) [ALLOW_CONSTANTS] => ) [trusted_dir] => Array ( ) [left_delimiter] => { [right_delimiter] => } [request_vars_order] => EGPCS [request_use_auto_globals] => 1 [compile_id] => [use_sub_dirs] => [default_modifiers] => Array ( ) [default_resource_type] => file [cache_handler_func] => [autoload_filters] => Array ( ) [config_overwrite] => 1 [config_booleanize] => 1 [config_read_hidden] => [config_fix_newlines] => 1 [default_template_handler_func] => [compiler_file] => Smarty_Compiler.class.php [compiler_class] => Smarty_Compiler [config_class] => Config_File [_tpl_vars] => Array ( [SCRIPT_NAME] => /index.php [_COUNTER_IDS] => Array ( [0] => 122 [1] => 117 [2] => 116 [3] => 119 [4] => 121 [5] => 127 [6] => 200 ) [_COUNTER_IDS_MEDIAS] => Array ( [0] => 183 [1] => 184 [2] => 185 ) [_LANGS] => Array ( [1] => Array ( [id] => 1 [alias] => ru [name] => русский [position] => 1 ) [2] => Array ( [id] => 2 [alias] => en [name] => english [position] => 2 ) [3] => Array ( [id] => 3 [alias] => ua [name] => українська [position] => 3 ) ) [_CUR_LANG] => 1 [sections] => Array ( [0] => Array ( [del] => 0 [id] => 136 [parentid] => 0 [raz_id] => 136 [m_raz_id] => 0 [raz_prior] => 36 [forum_raz_id] => 0 [raz_name] => Категории связывания контента [raz_email] => [langid] => 1 [g_raz_prior] => 36 [alias] => binding-categories [link] => [template_id] => 0 [type] => Array ( [0] => main [1] => hidden ) [template_name] => articles_list [template_child_name] => article [raz_descr] => [tag] => 0 [raz_key] => [guid] => e90c52dd609318d3c89f4ebc143b91d7 [artnum] => 0 [st_id] => 0 [article] => 0 [ini] => ) [1] => Array ( [del] => 0 [id] => 137 [parentid] => 136 [raz_id] => 137 [m_raz_id] => 136 [raz_prior] => 124 [forum_raz_id] => 0 [raz_name] => Финансовый сектор [raz_email] => [langid] => 1 [g_raz_prior] => 124 [alias] => 137 [link] => [template_id] => 0 [type] => Array ( [0] => main ) [template_name] => articles_list [template_child_name] => article [raz_descr] => [tag] => 0 [raz_key] => [guid] => fb8bc2dc04b03d841194894c65a32679 [artnum] => 4 [st_id] => 9343 [article] => 9343 [ini] => ) [2] => Array ( [del] => 0 [id] => 140 [parentid] => 137 [raz_id] => 140 [m_raz_id] => 137 [raz_prior] => 110 [forum_raz_id] => 0 [raz_name] => Банковская деятельность [raz_email] => [langid] => 1 [g_raz_prior] => 110 [alias] => 140 [link] => [template_id] => 0 [type] => Array ( [0] => main ) [template_name] => articles_list [template_child_name] => article [raz_descr] => [tag] => 1 [raz_key] => [guid] => 8c740c79f24189dfb7d1cc20bf2770d9 [artnum] => 758 [st_id] => 9304 [article] => 9304 [ini] => ) ) [section] => Array ( [del] => 0 [id] => 140 [parentid] => 137 [raz_id] => 140 [m_raz_id] => 137 [raz_prior] => 110 [forum_raz_id] => 0 [raz_name] => Банковская деятельность [raz_email] => [langid] => 1 [g_raz_prior] => 110 [alias] => 140 [link] => [template_id] => 0 [type] => Array ( [0] => main ) [template_name] => articles_list [template_child_name] => article [raz_descr] => [tag] => 1 [raz_key] => [guid] => 8c740c79f24189dfb7d1cc20bf2770d9 [artnum] => 758 [st_id] => 9304 [article] => 9304 [ini] => ) [_MAG_NUMBER_LAST] => Array ( [id] => 41 [begin] => 1320098400 [end] => 1322690399 [n_real_number] => 3 [name] => Кредит-Рейтингу 10 лет ) [isPost] => 0 [onpage] => 10 [_section] => 1 [_BC] => Array ( [0] => Array ( [0] => /ru/ [1] => Главная ) [1] => Array ( [0] => /ru/binding-categories/137/ [1] => Финансовый сектор ) [2] => Array ( [0] => /ru/binding-categories/137/140/ [1] => Банковская деятельность ) ) [_TITLE] => Банковская деятельность :: Финансовый сектор :: Credit-Rating [_META_KEYWORDS] => [_META_DESCRIPTION] => [_URL] => Array ( [0] => page [1] => Maanimo.com ) [_URL_STR] => page,Maanimo.com [site_url] => http://www.credit-rating.ua/ [message] => SQLSTATE[42000]: Syntax error or access violation: 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 '-10,10' at line 8 [code] => 0 ) [_smarty_vars] => [_sections] => Array ( ) [_foreach] => Array ( [i] => Array ( [total] => 7 [iteration] => 7 ) [isecond] => Array ( [total] => 7 [iteration] => 7 ) [bc] => Array ( [total] => 3 [iteration] => 3 ) ) [_tag_stack] => Array ( ) [_conf_obj] => [_config] => Array ( [0] => Array ( [vars] => Array ( ) [files] => Array ( ) ) ) [_smarty_md5] => f8d698aea36fcbead2b9d5359ffca76f [_version] => 2.6.16 [_inclusion_depth] => -3 [_compile_id] => [_smarty_debug_id] => SMARTY_DEBUG [_smarty_debug_info] => Array ( ) [_cache_info] => Array ( ) [_file_perms] => 420 [_dir_perms] => 505 [_reg_objects] => Array ( ) [_plugins] => Array ( [modifier] => Array ( [count] => Array ( [0] => count [1] => _bc.tpl [2] => 2 [3] => 1 [4] => 1 ) [in_array] => Array ( [0] => in_array [1] => _bottom_blocks_switch.tpl [2] => 7 [3] => 1 [4] => 1 ) ) [function] => Array ( [block] => Array ( [0] => smarty_function_block [1] => module.articles_list.tpl [2] => 3 [3] => 1 [4] => 1 ) [url] => Array ( [0] => smarty_function_url [1] => block._user_form.tpl [2] => 11 [3] => 1 [4] => 1 ) [set] => Array ( [0] => smarty_function_set [1] => _bottom_blocks_switch.tpl [2] => 5 [3] => 1 [4] => 1 ) ) [block] => Array ( ) [compiler] => Array ( ) [prefilter] => Array ( ) [postfilter] => Array ( [translate_template] => Array ( [0] => translate_template [1] => [2] => [3] => ) ) [outputfilter] => Array ( ) [resource] => Array ( ) [insert] => Array ( ) ) [_cache_serials] => Array ( ) [_cache_include] => [_cache_including] => ) ) ) [7] => Array ( [file] => /var/www/credit-rating.ua/Smarty/Smarty.class.php [line] => 1265 [args] => Array ( [0] => /var/www/credit-rating.ua/cache/templates_cache/%%0B^0BF^0BF2794C%%module.articles_list.tpl.php ) [function] => include ) [8] => Array ( [file] => /var/www/credit-rating.ua/C8/Site/TPL.php [line] => 70 [function] => fetch [class] => Smarty [type] => -> [args] => Array ( [0] => module.articles_list.tpl [1] => [2] => [3] => ) ) [9] => Array ( [file] => /var/www/credit-rating.ua/C8/Site/Module.php [line] => 225 [function] => fetch [class] => C8_Site_TPL [type] => -> [args] => Array ( [0] => module.articles_list.tpl ) ) [10] => Array ( [file] => /var/www/credit-rating.ua/C8/Site/Controller.php [line] => 300 [function] => getHTML [class] => C8_Site_Module [type] => -> [args] => Array ( ) ) [11] => Array ( [file] => /var/www/credit-rating.ua/index.php [line] => 317 [function] => getHTML [class] => C8_Site_Controller [type] => -> [args] => Array ( ) ) [12] => Array ( [file] => /var/www/credit-rating.ua/www/index.php [line] => 3 [args] => Array ( [0] => /var/www/credit-rating.ua/index.php ) [function] => require ) )