mysql query error in query:
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 'AND AND cat_level=1 ...' at line 3Array ( [0] => Array ( [file] => /home/itlinec/public_html/system/sql.php [line] => 176 [function] => sql_query [args] => Array ( [0] => SELECT menu_good.*, upi.alias FROM menu_good JOIN upi ON upi.id=menu_good.id_upi WHERE cat_left BETWEEN AND AND cat_level=1 AND id_language= AND visible=1 ORDER BY cat_left ) ) [1] => Array ( [file] => /home/itlinec/public_html/system/sql.php [line] => 212 [function] => sql2array [args] => Array ( [0] => SELECT menu_good.*, upi.alias FROM menu_good JOIN upi ON upi.id=menu_good.id_upi WHERE cat_left BETWEEN AND AND cat_level=1 AND id_language= AND visible=1 ORDER BY cat_left ) ) [2] => Array ( [file] => /home/itlinec/public_html/system/upi_function.php [line] => 83 [function] => sql2smarty [args] => Array ( [0] => SELECT menu_good.*, upi.alias FROM menu_good JOIN upi ON upi.id=menu_good.id_upi WHERE cat_left BETWEEN AND AND cat_level=1 AND id_language= AND visible=1 ORDER BY cat_left [1] => subgroup ) ) [3] => Array ( [file] => /home/itlinec/public_html/system/upi_function.php [line] => 163 [function] => UpiList [args] => Array ( [0] => Array ( [module_infoset_name] => list [element_name] => language [admin_mode] => 0 [id_element] => 66 [skeleton] => Array ( [menu_good] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 67 ) [val] => 351 ) [good] => Array ( [parent] => Array ( [0] => menu_good ) [id_parent] => Array ( [0] => 67 ) [id_element] => Array ( [0] => 71 ) ) [top_menu] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 68 ) ) [bot_menu] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 69 ) ) [language] => Array ( [parent] => Array ( [0] => ) [id_parent] => Array ( [0] => ) [id_element] => Array ( [0] => 66 ) [val] => 1 ) ) [upi] => Array ( [id] => 11135 [meta_title] => [meta_keyword] => [meta_description] => [alias] => keyboard_microsoft_en [id_template] => 28 [refcount] => 1 [date_create] => 2013-06-21 15:58:44 [date_modify] => 2013-06-21 15:58:44 ) [id_template_mapping] => 41 [smarty] => Smarty Object ( [template_dir] => /home/itlinec/public_html/templates/ [compile_dir] => /home/itlinec/public_html/service/templates_c/ [config_dir] => configs [plugins_dir] => Array ( [0] => plugins ) [debugging] => [error_reporting] => [debug_tpl] => [debugging_ctrl] => NONE [compile_check] => 1 [force_compile] => [caching] => 0 [cache_dir] => cache [cache_lifetime] => 3600 [cache_modified_check] => [php_handling] => 0 [security] => [secure_dir] => Array ( ) [security_settings] => Array ( [PHP_HANDLING] => [IF_FUNCS] => Array ( [0] => array [1] => list [2] => isset [3] => empty [4] => count [5] => sizeof [6] => in_array [7] => is_array [8] => true [9] => false [10] => null ) [INCLUDE_ANY] => [PHP_TAGS] => [MODIFIER_FUNCS] => Array ( [0] => count ) [ALLOW_CONSTANTS] => [ALLOW_SUPER_GLOBALS] => 1 ) [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 [cur_menu_good] => 351 [cur_language] => 1 [item] => Array ( ) [pp] => Array ( [module_infoset_name] => menu_expand_by_click [element_name] => menu_good [admin_mode] => 0 [id_element] => 67 [skeleton] => Array ( [menu_good] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 67 ) [val] => 351 ) [good] => Array ( [parent] => Array ( [0] => menu_good ) [id_parent] => Array ( [0] => 67 ) [id_element] => Array ( [0] => 71 ) ) [top_menu] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 68 ) ) [bot_menu] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 69 ) ) [language] => Array ( [parent] => Array ( [0] => ) [id_parent] => Array ( [0] => ) [id_element] => Array ( [0] => 66 ) [val] => 1 ) ) [upi] => Array ( [id] => 11135 [meta_title] => [meta_keyword] => [meta_description] => [alias] => keyboard_microsoft_en [id_template] => 28 [refcount] => 1 [date_create] => 2013-06-21 15:58:44 [date_modify] => 2013-06-21 15:58:44 ) [id_template_mapping] => 42 [smarty] => Smarty Object *RECURSION* ) [shost] => http://itline.kiev.ua ) [_smarty_vars] => [_sections] => Array ( [c] => Array ( [name] => c [loop] => 0 [show] => [max] => 0 [step] => 1 [start] => 0 [total] => 0 ) ) [_foreach] => Array ( ) [_tag_stack] => Array ( ) [_conf_obj] => [_config] => Array ( [0] => Array ( [vars] => Array ( ) [files] => Array ( ) ) ) [_smarty_md5] => f8d698aea36fcbead2b9d5359ffca76f [_version] => 2.6.26 [_inclusion_depth] => 0 [_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 ( ) [function] => Array ( [get] => Array ( [0] => get_text_smarty [1] => [2] => [3] => [4] => 1 [5] => ) [count] => Array ( [0] => count_smarty [1] => [2] => [3] => [4] => 1 [5] => ) ) [block] => Array ( [repeat] => Array ( [0] => smarty_block_repeat [1] => infoset/menu_good_menu_expand_by_click.tpl [2] => 5 [3] => 1 [4] => 1 ) ) [compiler] => Array ( ) [prefilter] => Array ( ) [postfilter] => Array ( ) [outputfilter] => Array ( ) [resource] => Array ( ) [insert] => Array ( ) ) [_cache_serials] => Array ( ) [_cache_include] => [_cache_including] => ) ) ) ) [4] => Array ( [file] => /home/itlinec/public_html/system/upi_function.php [line] => 210 [function] => ParseTmUpi [args] => Array ( [0] => Array ( [module_infoset_name] => list [element_name] => language [admin_mode] => 0 [id_element] => 66 [skeleton] => Array ( [menu_good] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 67 ) [val] => 351 ) [good] => Array ( [parent] => Array ( [0] => menu_good ) [id_parent] => Array ( [0] => 67 ) [id_element] => Array ( [0] => 71 ) ) [top_menu] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 68 ) ) [bot_menu] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 69 ) ) [language] => Array ( [parent] => Array ( [0] => ) [id_parent] => Array ( [0] => ) [id_element] => Array ( [0] => 66 ) [val] => 1 ) ) [upi] => Array ( [id] => 11135 [meta_title] => [meta_keyword] => [meta_description] => [alias] => keyboard_microsoft_en [id_template] => 28 [refcount] => 1 [date_create] => 2013-06-21 15:58:44 [date_modify] => 2013-06-21 15:58:44 ) [id_template_mapping] => 41 [smarty] => Smarty Object ( [template_dir] => /home/itlinec/public_html/templates/ [compile_dir] => /home/itlinec/public_html/service/templates_c/ [config_dir] => configs [plugins_dir] => Array ( [0] => plugins ) [debugging] => [error_reporting] => [debug_tpl] => [debugging_ctrl] => NONE [compile_check] => 1 [force_compile] => [caching] => 0 [cache_dir] => cache [cache_lifetime] => 3600 [cache_modified_check] => [php_handling] => 0 [security] => [secure_dir] => Array ( ) [security_settings] => Array ( [PHP_HANDLING] => [IF_FUNCS] => Array ( [0] => array [1] => list [2] => isset [3] => empty [4] => count [5] => sizeof [6] => in_array [7] => is_array [8] => true [9] => false [10] => null ) [INCLUDE_ANY] => [PHP_TAGS] => [MODIFIER_FUNCS] => Array ( [0] => count ) [ALLOW_CONSTANTS] => [ALLOW_SUPER_GLOBALS] => 1 ) [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 [cur_menu_good] => 351 [cur_language] => 1 [item] => Array ( ) [pp] => Array ( [module_infoset_name] => menu_expand_by_click [element_name] => menu_good [admin_mode] => 0 [id_element] => 67 [skeleton] => Array ( [menu_good] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 67 ) [val] => 351 ) [good] => Array ( [parent] => Array ( [0] => menu_good ) [id_parent] => Array ( [0] => 67 ) [id_element] => Array ( [0] => 71 ) ) [top_menu] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 68 ) ) [bot_menu] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 69 ) ) [language] => Array ( [parent] => Array ( [0] => ) [id_parent] => Array ( [0] => ) [id_element] => Array ( [0] => 66 ) [val] => 1 ) ) [upi] => Array ( [id] => 11135 [meta_title] => [meta_keyword] => [meta_description] => [alias] => keyboard_microsoft_en [id_template] => 28 [refcount] => 1 [date_create] => 2013-06-21 15:58:44 [date_modify] => 2013-06-21 15:58:44 ) [id_template_mapping] => 42 [smarty] => Smarty Object *RECURSION* ) [shost] => http://itline.kiev.ua ) [_smarty_vars] => [_sections] => Array ( [c] => Array ( [name] => c [loop] => 0 [show] => [max] => 0 [step] => 1 [start] => 0 [total] => 0 ) ) [_foreach] => Array ( ) [_tag_stack] => Array ( ) [_conf_obj] => [_config] => Array ( [0] => Array ( [vars] => Array ( ) [files] => Array ( ) ) ) [_smarty_md5] => f8d698aea36fcbead2b9d5359ffca76f [_version] => 2.6.26 [_inclusion_depth] => 0 [_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 ( ) [function] => Array ( [get] => Array ( [0] => get_text_smarty [1] => [2] => [3] => [4] => 1 [5] => ) [count] => Array ( [0] => count_smarty [1] => [2] => [3] => [4] => 1 [5] => ) ) [block] => Array ( [repeat] => Array ( [0] => smarty_block_repeat [1] => infoset/menu_good_menu_expand_by_click.tpl [2] => 5 [3] => 1 [4] => 1 ) ) [compiler] => Array ( ) [prefilter] => Array ( ) [postfilter] => Array ( ) [outputfilter] => Array ( ) [resource] => Array ( ) [insert] => Array ( ) ) [_cache_serials] => Array ( ) [_cache_include] => [_cache_including] => ) ) ) ) [5] => Array ( [file] => /home/itlinec/public_html/index.php [line] => 28 [function] => get_upi_html [args] => Array ( [0] => Array ( [id] => 11135 [meta_title] => [meta_keyword] => [meta_description] => [alias] => keyboard_microsoft_en [id_template] => 28 [refcount] => 1 [date_create] => 2013-06-21 15:58:44 [date_modify] => 2013-06-21 15:58:44 ) [1] => 0 ) ) ) mysql fetch assoc error in query:
mysql query error in query:
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 'AND cat_right>= AND id_language= ORDER BY cat_level' at line 3Array ( [0] => Array ( [file] => /home/itlinec/public_html/system/sql.php [line] => 176 [function] => sql_query [args] => Array ( [0] => SELECT menu_good.*, upi.alias FROM menu_good JOIN upi ON upi.id=menu_good.id_upi WHERE cat_left <= AND cat_right>= AND id_language= ORDER BY cat_level ) ) [1] => Array ( [file] => /home/itlinec/public_html/system/sql.php [line] => 212 [function] => sql2array [args] => Array ( [0] => SELECT menu_good.*, upi.alias FROM menu_good JOIN upi ON upi.id=menu_good.id_upi WHERE cat_left <= AND cat_right>= AND id_language= ORDER BY cat_level ) ) [2] => Array ( [file] => /home/itlinec/public_html/system/upi_function.php [line] => 89 [function] => sql2smarty [args] => Array ( [0] => SELECT menu_good.*, upi.alias FROM menu_good JOIN upi ON upi.id=menu_good.id_upi WHERE cat_left <= AND cat_right>= AND id_language= ORDER BY cat_level [1] => path ) ) [3] => Array ( [file] => /home/itlinec/public_html/system/upi_function.php [line] => 163 [function] => UpiList [args] => Array ( [0] => Array ( [module_infoset_name] => list [element_name] => language [admin_mode] => 0 [id_element] => 66 [skeleton] => Array ( [menu_good] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 67 ) [val] => 351 ) [good] => Array ( [parent] => Array ( [0] => menu_good ) [id_parent] => Array ( [0] => 67 ) [id_element] => Array ( [0] => 71 ) ) [top_menu] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 68 ) ) [bot_menu] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 69 ) ) [language] => Array ( [parent] => Array ( [0] => ) [id_parent] => Array ( [0] => ) [id_element] => Array ( [0] => 66 ) [val] => 1 ) ) [upi] => Array ( [id] => 11135 [meta_title] => [meta_keyword] => [meta_description] => [alias] => keyboard_microsoft_en [id_template] => 28 [refcount] => 1 [date_create] => 2013-06-21 15:58:44 [date_modify] => 2013-06-21 15:58:44 ) [id_template_mapping] => 41 [smarty] => Smarty Object ( [template_dir] => /home/itlinec/public_html/templates/ [compile_dir] => /home/itlinec/public_html/service/templates_c/ [config_dir] => configs [plugins_dir] => Array ( [0] => plugins ) [debugging] => [error_reporting] => [debug_tpl] => [debugging_ctrl] => NONE [compile_check] => 1 [force_compile] => [caching] => 0 [cache_dir] => cache [cache_lifetime] => 3600 [cache_modified_check] => [php_handling] => 0 [security] => [secure_dir] => Array ( ) [security_settings] => Array ( [PHP_HANDLING] => [IF_FUNCS] => Array ( [0] => array [1] => list [2] => isset [3] => empty [4] => count [5] => sizeof [6] => in_array [7] => is_array [8] => true [9] => false [10] => null ) [INCLUDE_ANY] => [PHP_TAGS] => [MODIFIER_FUNCS] => Array ( [0] => count ) [ALLOW_CONSTANTS] => [ALLOW_SUPER_GLOBALS] => 1 ) [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 [cur_menu_good] => 351 [cur_language] => 1 [item] => Array ( ) [pp] => Array ( [module_infoset_name] => menu_expand_by_click [element_name] => menu_good [admin_mode] => 0 [id_element] => 67 [skeleton] => Array ( [menu_good] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 67 ) [val] => 351 ) [good] => Array ( [parent] => Array ( [0] => menu_good ) [id_parent] => Array ( [0] => 67 ) [id_element] => Array ( [0] => 71 ) ) [top_menu] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 68 ) ) [bot_menu] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 69 ) ) [language] => Array ( [parent] => Array ( [0] => ) [id_parent] => Array ( [0] => ) [id_element] => Array ( [0] => 66 ) [val] => 1 ) ) [upi] => Array ( [id] => 11135 [meta_title] => [meta_keyword] => [meta_description] => [alias] => keyboard_microsoft_en [id_template] => 28 [refcount] => 1 [date_create] => 2013-06-21 15:58:44 [date_modify] => 2013-06-21 15:58:44 ) [id_template_mapping] => 42 [smarty] => Smarty Object *RECURSION* ) [shost] => http://itline.kiev.ua [subgroup] => Array ( ) ) [_smarty_vars] => [_sections] => Array ( [c] => Array ( [name] => c [loop] => 0 [show] => [max] => 0 [step] => 1 [start] => 0 [total] => 0 ) ) [_foreach] => Array ( ) [_tag_stack] => Array ( ) [_conf_obj] => [_config] => Array ( [0] => Array ( [vars] => Array ( ) [files] => Array ( ) ) ) [_smarty_md5] => f8d698aea36fcbead2b9d5359ffca76f [_version] => 2.6.26 [_inclusion_depth] => 0 [_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 ( ) [function] => Array ( [get] => Array ( [0] => get_text_smarty [1] => [2] => [3] => [4] => 1 [5] => ) [count] => Array ( [0] => count_smarty [1] => [2] => [3] => [4] => 1 [5] => ) ) [block] => Array ( [repeat] => Array ( [0] => smarty_block_repeat [1] => infoset/menu_good_menu_expand_by_click.tpl [2] => 5 [3] => 1 [4] => 1 ) ) [compiler] => Array ( ) [prefilter] => Array ( ) [postfilter] => Array ( ) [outputfilter] => Array ( ) [resource] => Array ( ) [insert] => Array ( ) ) [_cache_serials] => Array ( ) [_cache_include] => [_cache_including] => ) ) ) ) [4] => Array ( [file] => /home/itlinec/public_html/system/upi_function.php [line] => 210 [function] => ParseTmUpi [args] => Array ( [0] => Array ( [module_infoset_name] => list [element_name] => language [admin_mode] => 0 [id_element] => 66 [skeleton] => Array ( [menu_good] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 67 ) [val] => 351 ) [good] => Array ( [parent] => Array ( [0] => menu_good ) [id_parent] => Array ( [0] => 67 ) [id_element] => Array ( [0] => 71 ) ) [top_menu] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 68 ) ) [bot_menu] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 69 ) ) [language] => Array ( [parent] => Array ( [0] => ) [id_parent] => Array ( [0] => ) [id_element] => Array ( [0] => 66 ) [val] => 1 ) ) [upi] => Array ( [id] => 11135 [meta_title] => [meta_keyword] => [meta_description] => [alias] => keyboard_microsoft_en [id_template] => 28 [refcount] => 1 [date_create] => 2013-06-21 15:58:44 [date_modify] => 2013-06-21 15:58:44 ) [id_template_mapping] => 41 [smarty] => Smarty Object ( [template_dir] => /home/itlinec/public_html/templates/ [compile_dir] => /home/itlinec/public_html/service/templates_c/ [config_dir] => configs [plugins_dir] => Array ( [0] => plugins ) [debugging] => [error_reporting] => [debug_tpl] => [debugging_ctrl] => NONE [compile_check] => 1 [force_compile] => [caching] => 0 [cache_dir] => cache [cache_lifetime] => 3600 [cache_modified_check] => [php_handling] => 0 [security] => [secure_dir] => Array ( ) [security_settings] => Array ( [PHP_HANDLING] => [IF_FUNCS] => Array ( [0] => array [1] => list [2] => isset [3] => empty [4] => count [5] => sizeof [6] => in_array [7] => is_array [8] => true [9] => false [10] => null ) [INCLUDE_ANY] => [PHP_TAGS] => [MODIFIER_FUNCS] => Array ( [0] => count ) [ALLOW_CONSTANTS] => [ALLOW_SUPER_GLOBALS] => 1 ) [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 [cur_menu_good] => 351 [cur_language] => 1 [item] => Array ( ) [pp] => Array ( [module_infoset_name] => menu_expand_by_click [element_name] => menu_good [admin_mode] => 0 [id_element] => 67 [skeleton] => Array ( [menu_good] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 67 ) [val] => 351 ) [good] => Array ( [parent] => Array ( [0] => menu_good ) [id_parent] => Array ( [0] => 67 ) [id_element] => Array ( [0] => 71 ) ) [top_menu] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 68 ) ) [bot_menu] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 69 ) ) [language] => Array ( [parent] => Array ( [0] => ) [id_parent] => Array ( [0] => ) [id_element] => Array ( [0] => 66 ) [val] => 1 ) ) [upi] => Array ( [id] => 11135 [meta_title] => [meta_keyword] => [meta_description] => [alias] => keyboard_microsoft_en [id_template] => 28 [refcount] => 1 [date_create] => 2013-06-21 15:58:44 [date_modify] => 2013-06-21 15:58:44 ) [id_template_mapping] => 42 [smarty] => Smarty Object *RECURSION* ) [shost] => http://itline.kiev.ua [subgroup] => Array ( ) ) [_smarty_vars] => [_sections] => Array ( [c] => Array ( [name] => c [loop] => 0 [show] => [max] => 0 [step] => 1 [start] => 0 [total] => 0 ) ) [_foreach] => Array ( ) [_tag_stack] => Array ( ) [_conf_obj] => [_config] => Array ( [0] => Array ( [vars] => Array ( ) [files] => Array ( ) ) ) [_smarty_md5] => f8d698aea36fcbead2b9d5359ffca76f [_version] => 2.6.26 [_inclusion_depth] => 0 [_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 ( ) [function] => Array ( [get] => Array ( [0] => get_text_smarty [1] => [2] => [3] => [4] => 1 [5] => ) [count] => Array ( [0] => count_smarty [1] => [2] => [3] => [4] => 1 [5] => ) ) [block] => Array ( [repeat] => Array ( [0] => smarty_block_repeat [1] => infoset/menu_good_menu_expand_by_click.tpl [2] => 5 [3] => 1 [4] => 1 ) ) [compiler] => Array ( ) [prefilter] => Array ( ) [postfilter] => Array ( ) [outputfilter] => Array ( ) [resource] => Array ( ) [insert] => Array ( ) ) [_cache_serials] => Array ( ) [_cache_include] => [_cache_including] => ) ) ) ) [5] => Array ( [file] => /home/itlinec/public_html/index.php [line] => 28 [function] => get_upi_html [args] => Array ( [0] => Array ( [id] => 11135 [meta_title] => [meta_keyword] => [meta_description] => [alias] => keyboard_microsoft_en [id_template] => 28 [refcount] => 1 [date_create] => 2013-06-21 15:58:44 [date_modify] => 2013-06-21 15:58:44 ) [1] => 0 ) ) ) mysql fetch assoc error in query:
mysql query error in query:
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 'AND AND cat_level=1 ...' at line 3Array ( [0] => Array ( [file] => /home/itlinec/public_html/system/sql.php [line] => 176 [function] => sql_query [args] => Array ( [0] => SELECT menu_good.*, upi.alias FROM menu_good JOIN upi ON upi.id=menu_good.id_upi WHERE cat_left BETWEEN AND AND cat_level=1 AND id_language= AND visible=1 ORDER BY cat_left ) ) [1] => Array ( [file] => /home/itlinec/public_html/system/sql.php [line] => 212 [function] => sql2array [args] => Array ( [0] => SELECT menu_good.*, upi.alias FROM menu_good JOIN upi ON upi.id=menu_good.id_upi WHERE cat_left BETWEEN AND AND cat_level=1 AND id_language= AND visible=1 ORDER BY cat_left ) ) [2] => Array ( [file] => /home/itlinec/public_html/system/upi_function.php [line] => 83 [function] => sql2smarty [args] => Array ( [0] => SELECT menu_good.*, upi.alias FROM menu_good JOIN upi ON upi.id=menu_good.id_upi WHERE cat_left BETWEEN AND AND cat_level=1 AND id_language= AND visible=1 ORDER BY cat_left [1] => subgroup ) ) [3] => Array ( [file] => /home/itlinec/public_html/system/upi_function.php [line] => 163 [function] => UpiList [args] => Array ( [0] => Array ( [module_infoset_name] => list [element_name] => good [admin_mode] => 0 [id_element] => 71 [skeleton] => Array ( [menu_good] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 67 ) [val] => 351 ) [good] => Array ( [parent] => Array ( [0] => menu_good ) [id_parent] => Array ( [0] => 67 ) [id_element] => Array ( [0] => 71 ) ) [top_menu] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 68 ) ) [bot_menu] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 69 ) ) [language] => Array ( [parent] => Array ( [0] => ) [id_parent] => Array ( [0] => ) [id_element] => Array ( [0] => 66 ) [val] => 1 ) ) [upi] => Array ( [id] => 11135 [meta_title] => [meta_keyword] => [meta_description] => [alias] => keyboard_microsoft_en [id_template] => 28 [refcount] => 1 [date_create] => 2013-06-21 15:58:44 [date_modify] => 2013-06-21 15:58:44 ) [id_template_mapping] => 43 [smarty] => Smarty Object ( [template_dir] => /home/itlinec/public_html/templates/ [compile_dir] => /home/itlinec/public_html/service/templates_c/ [config_dir] => configs [plugins_dir] => Array ( [0] => plugins ) [debugging] => [error_reporting] => [debug_tpl] => [debugging_ctrl] => NONE [compile_check] => 1 [force_compile] => [caching] => 0 [cache_dir] => cache [cache_lifetime] => 3600 [cache_modified_check] => [php_handling] => 0 [security] => [secure_dir] => Array ( ) [security_settings] => Array ( [PHP_HANDLING] => [IF_FUNCS] => Array ( [0] => array [1] => list [2] => isset [3] => empty [4] => count [5] => sizeof [6] => in_array [7] => is_array [8] => true [9] => false [10] => null ) [INCLUDE_ANY] => [PHP_TAGS] => [MODIFIER_FUNCS] => Array ( [0] => count ) [ALLOW_CONSTANTS] => [ALLOW_SUPER_GLOBALS] => 1 ) [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 [cur_menu_good] => 351 [cur_language] => 1 [item] => Array ( [0] => Array ( [id] => 2 [code] => ru [name] => Русская версия [id_upi] => 1256 [pos] => 1 [visible] => 1 [alias] => / ) [1] => Array ( [id] => 3 [code] => ua [name] => Українська версія [id_upi] => 1258 [pos] => 2 [visible] => 1 [alias] => /ua/ ) [2] => Array ( [id] => 1 [code] => en [name] => English version [id_upi] => 1257 [pos] => 5 [visible] => 1 [alias] => /en/ ) ) [pp] => Array ( [module_infoset_name] => list [element_name] => language [admin_mode] => 0 [id_element] => 66 [skeleton] => Array ( [menu_good] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 67 ) [val] => 351 ) [good] => Array ( [parent] => Array ( [0] => menu_good ) [id_parent] => Array ( [0] => 67 ) [id_element] => Array ( [0] => 71 ) ) [top_menu] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 68 ) ) [bot_menu] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 69 ) ) [language] => Array ( [parent] => Array ( [0] => ) [id_parent] => Array ( [0] => ) [id_element] => Array ( [0] => 66 ) [val] => 1 ) ) [upi] => Array ( [id] => 11135 [meta_title] => [meta_keyword] => [meta_description] => [alias] => keyboard_microsoft_en [id_template] => 28 [refcount] => 1 [date_create] => 2013-06-21 15:58:44 [date_modify] => 2013-06-21 15:58:44 ) [id_template_mapping] => 41 [smarty] => Smarty Object *RECURSION* ) [shost] => http://itline.kiev.ua [subgroup] => Array ( ) [path] => Array ( ) [skeleton] => Array ( [menu_good] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 67 ) [val] => 351 ) [good] => Array ( [parent] => Array ( [0] => menu_good ) [id_parent] => Array ( [0] => 67 ) [id_element] => Array ( [0] => 71 ) ) [top_menu] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 68 ) ) [bot_menu] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 69 ) ) [language] => Array ( [parent] => Array ( [0] => ) [id_parent] => Array ( [0] => ) [id_element] => Array ( [0] => 66 ) [val] => 1 ) ) ) [_smarty_vars] => [_sections] => Array ( [c] => Array ( [name] => c [loop] => 3 [show] => 1 [max] => 3 [step] => 1 [start] => 0 [total] => 3 [index] => 3 [iteration] => 4 [rownum] => 3 [index_prev] => 1 [index_next] => 3 [first] => [last] => 1 ) ) [_foreach] => Array ( ) [_tag_stack] => Array ( ) [_conf_obj] => [_config] => Array ( [0] => Array ( [vars] => Array ( ) [files] => Array ( ) ) ) [_smarty_md5] => f8d698aea36fcbead2b9d5359ffca76f [_version] => 2.6.26 [_inclusion_depth] => 0 [_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 ( ) [function] => Array ( [get] => Array ( [0] => get_text_smarty [1] => [2] => [3] => [4] => 1 [5] => ) [count] => Array ( [0] => count_smarty [1] => [2] => [3] => [4] => 1 [5] => ) ) [block] => Array ( [repeat] => Array ( [0] => smarty_block_repeat [1] => infoset/menu_good_menu_expand_by_click.tpl [2] => 5 [3] => 1 [4] => 1 ) ) [compiler] => Array ( ) [prefilter] => Array ( ) [postfilter] => Array ( ) [outputfilter] => Array ( ) [resource] => Array ( ) [insert] => Array ( ) ) [_cache_serials] => Array ( ) [_cache_include] => [_cache_including] => ) ) ) ) [4] => Array ( [file] => /home/itlinec/public_html/system/upi_function.php [line] => 210 [function] => ParseTmUpi [args] => Array ( [0] => Array ( [module_infoset_name] => list [element_name] => good [admin_mode] => 0 [id_element] => 71 [skeleton] => Array ( [menu_good] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 67 ) [val] => 351 ) [good] => Array ( [parent] => Array ( [0] => menu_good ) [id_parent] => Array ( [0] => 67 ) [id_element] => Array ( [0] => 71 ) ) [top_menu] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 68 ) ) [bot_menu] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 69 ) ) [language] => Array ( [parent] => Array ( [0] => ) [id_parent] => Array ( [0] => ) [id_element] => Array ( [0] => 66 ) [val] => 1 ) ) [upi] => Array ( [id] => 11135 [meta_title] => [meta_keyword] => [meta_description] => [alias] => keyboard_microsoft_en [id_template] => 28 [refcount] => 1 [date_create] => 2013-06-21 15:58:44 [date_modify] => 2013-06-21 15:58:44 ) [id_template_mapping] => 43 [smarty] => Smarty Object ( [template_dir] => /home/itlinec/public_html/templates/ [compile_dir] => /home/itlinec/public_html/service/templates_c/ [config_dir] => configs [plugins_dir] => Array ( [0] => plugins ) [debugging] => [error_reporting] => [debug_tpl] => [debugging_ctrl] => NONE [compile_check] => 1 [force_compile] => [caching] => 0 [cache_dir] => cache [cache_lifetime] => 3600 [cache_modified_check] => [php_handling] => 0 [security] => [secure_dir] => Array ( ) [security_settings] => Array ( [PHP_HANDLING] => [IF_FUNCS] => Array ( [0] => array [1] => list [2] => isset [3] => empty [4] => count [5] => sizeof [6] => in_array [7] => is_array [8] => true [9] => false [10] => null ) [INCLUDE_ANY] => [PHP_TAGS] => [MODIFIER_FUNCS] => Array ( [0] => count ) [ALLOW_CONSTANTS] => [ALLOW_SUPER_GLOBALS] => 1 ) [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 [cur_menu_good] => 351 [cur_language] => 1 [item] => Array ( [0] => Array ( [id] => 2 [code] => ru [name] => Русская версия [id_upi] => 1256 [pos] => 1 [visible] => 1 [alias] => / ) [1] => Array ( [id] => 3 [code] => ua [name] => Українська версія [id_upi] => 1258 [pos] => 2 [visible] => 1 [alias] => /ua/ ) [2] => Array ( [id] => 1 [code] => en [name] => English version [id_upi] => 1257 [pos] => 5 [visible] => 1 [alias] => /en/ ) ) [pp] => Array ( [module_infoset_name] => list [element_name] => language [admin_mode] => 0 [id_element] => 66 [skeleton] => Array ( [menu_good] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 67 ) [val] => 351 ) [good] => Array ( [parent] => Array ( [0] => menu_good ) [id_parent] => Array ( [0] => 67 ) [id_element] => Array ( [0] => 71 ) ) [top_menu] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 68 ) ) [bot_menu] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 69 ) ) [language] => Array ( [parent] => Array ( [0] => ) [id_parent] => Array ( [0] => ) [id_element] => Array ( [0] => 66 ) [val] => 1 ) ) [upi] => Array ( [id] => 11135 [meta_title] => [meta_keyword] => [meta_description] => [alias] => keyboard_microsoft_en [id_template] => 28 [refcount] => 1 [date_create] => 2013-06-21 15:58:44 [date_modify] => 2013-06-21 15:58:44 ) [id_template_mapping] => 41 [smarty] => Smarty Object *RECURSION* ) [shost] => http://itline.kiev.ua [subgroup] => Array ( ) [path] => Array ( ) [skeleton] => Array ( [menu_good] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 67 ) [val] => 351 ) [good] => Array ( [parent] => Array ( [0] => menu_good ) [id_parent] => Array ( [0] => 67 ) [id_element] => Array ( [0] => 71 ) ) [top_menu] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 68 ) ) [bot_menu] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 69 ) ) [language] => Array ( [parent] => Array ( [0] => ) [id_parent] => Array ( [0] => ) [id_element] => Array ( [0] => 66 ) [val] => 1 ) ) ) [_smarty_vars] => [_sections] => Array ( [c] => Array ( [name] => c [loop] => 3 [show] => 1 [max] => 3 [step] => 1 [start] => 0 [total] => 3 [index] => 3 [iteration] => 4 [rownum] => 3 [index_prev] => 1 [index_next] => 3 [first] => [last] => 1 ) ) [_foreach] => Array ( ) [_tag_stack] => Array ( ) [_conf_obj] => [_config] => Array ( [0] => Array ( [vars] => Array ( ) [files] => Array ( ) ) ) [_smarty_md5] => f8d698aea36fcbead2b9d5359ffca76f [_version] => 2.6.26 [_inclusion_depth] => 0 [_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 ( ) [function] => Array ( [get] => Array ( [0] => get_text_smarty [1] => [2] => [3] => [4] => 1 [5] => ) [count] => Array ( [0] => count_smarty [1] => [2] => [3] => [4] => 1 [5] => ) ) [block] => Array ( [repeat] => Array ( [0] => smarty_block_repeat [1] => infoset/menu_good_menu_expand_by_click.tpl [2] => 5 [3] => 1 [4] => 1 ) ) [compiler] => Array ( ) [prefilter] => Array ( ) [postfilter] => Array ( ) [outputfilter] => Array ( ) [resource] => Array ( ) [insert] => Array ( ) ) [_cache_serials] => Array ( ) [_cache_include] => [_cache_including] => ) ) ) ) [5] => Array ( [file] => /home/itlinec/public_html/index.php [line] => 28 [function] => get_upi_html [args] => Array ( [0] => Array ( [id] => 11135 [meta_title] => [meta_keyword] => [meta_description] => [alias] => keyboard_microsoft_en [id_template] => 28 [refcount] => 1 [date_create] => 2013-06-21 15:58:44 [date_modify] => 2013-06-21 15:58:44 ) [1] => 0 ) ) ) mysql fetch assoc error in query:
mysql query error in query:
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 'AND cat_right>= AND id_language= ORDER BY cat_level' at line 3Array ( [0] => Array ( [file] => /home/itlinec/public_html/system/sql.php [line] => 176 [function] => sql_query [args] => Array ( [0] => SELECT menu_good.*, upi.alias FROM menu_good JOIN upi ON upi.id=menu_good.id_upi WHERE cat_left <= AND cat_right>= AND id_language= ORDER BY cat_level ) ) [1] => Array ( [file] => /home/itlinec/public_html/system/sql.php [line] => 212 [function] => sql2array [args] => Array ( [0] => SELECT menu_good.*, upi.alias FROM menu_good JOIN upi ON upi.id=menu_good.id_upi WHERE cat_left <= AND cat_right>= AND id_language= ORDER BY cat_level ) ) [2] => Array ( [file] => /home/itlinec/public_html/system/upi_function.php [line] => 89 [function] => sql2smarty [args] => Array ( [0] => SELECT menu_good.*, upi.alias FROM menu_good JOIN upi ON upi.id=menu_good.id_upi WHERE cat_left <= AND cat_right>= AND id_language= ORDER BY cat_level [1] => path ) ) [3] => Array ( [file] => /home/itlinec/public_html/system/upi_function.php [line] => 163 [function] => UpiList [args] => Array ( [0] => Array ( [module_infoset_name] => list [element_name] => good [admin_mode] => 0 [id_element] => 71 [skeleton] => Array ( [menu_good] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 67 ) [val] => 351 ) [good] => Array ( [parent] => Array ( [0] => menu_good ) [id_parent] => Array ( [0] => 67 ) [id_element] => Array ( [0] => 71 ) ) [top_menu] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 68 ) ) [bot_menu] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 69 ) ) [language] => Array ( [parent] => Array ( [0] => ) [id_parent] => Array ( [0] => ) [id_element] => Array ( [0] => 66 ) [val] => 1 ) ) [upi] => Array ( [id] => 11135 [meta_title] => [meta_keyword] => [meta_description] => [alias] => keyboard_microsoft_en [id_template] => 28 [refcount] => 1 [date_create] => 2013-06-21 15:58:44 [date_modify] => 2013-06-21 15:58:44 ) [id_template_mapping] => 43 [smarty] => Smarty Object ( [template_dir] => /home/itlinec/public_html/templates/ [compile_dir] => /home/itlinec/public_html/service/templates_c/ [config_dir] => configs [plugins_dir] => Array ( [0] => plugins ) [debugging] => [error_reporting] => [debug_tpl] => [debugging_ctrl] => NONE [compile_check] => 1 [force_compile] => [caching] => 0 [cache_dir] => cache [cache_lifetime] => 3600 [cache_modified_check] => [php_handling] => 0 [security] => [secure_dir] => Array ( ) [security_settings] => Array ( [PHP_HANDLING] => [IF_FUNCS] => Array ( [0] => array [1] => list [2] => isset [3] => empty [4] => count [5] => sizeof [6] => in_array [7] => is_array [8] => true [9] => false [10] => null ) [INCLUDE_ANY] => [PHP_TAGS] => [MODIFIER_FUNCS] => Array ( [0] => count ) [ALLOW_CONSTANTS] => [ALLOW_SUPER_GLOBALS] => 1 ) [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 [cur_menu_good] => 351 [cur_language] => 1 [item] => Array ( [0] => Array ( [id] => 2 [code] => ru [name] => Русская версия [id_upi] => 1256 [pos] => 1 [visible] => 1 [alias] => / ) [1] => Array ( [id] => 3 [code] => ua [name] => Українська версія [id_upi] => 1258 [pos] => 2 [visible] => 1 [alias] => /ua/ ) [2] => Array ( [id] => 1 [code] => en [name] => English version [id_upi] => 1257 [pos] => 5 [visible] => 1 [alias] => /en/ ) ) [pp] => Array ( [module_infoset_name] => list [element_name] => language [admin_mode] => 0 [id_element] => 66 [skeleton] => Array ( [menu_good] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 67 ) [val] => 351 ) [good] => Array ( [parent] => Array ( [0] => menu_good ) [id_parent] => Array ( [0] => 67 ) [id_element] => Array ( [0] => 71 ) ) [top_menu] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 68 ) ) [bot_menu] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 69 ) ) [language] => Array ( [parent] => Array ( [0] => ) [id_parent] => Array ( [0] => ) [id_element] => Array ( [0] => 66 ) [val] => 1 ) ) [upi] => Array ( [id] => 11135 [meta_title] => [meta_keyword] => [meta_description] => [alias] => keyboard_microsoft_en [id_template] => 28 [refcount] => 1 [date_create] => 2013-06-21 15:58:44 [date_modify] => 2013-06-21 15:58:44 ) [id_template_mapping] => 41 [smarty] => Smarty Object *RECURSION* ) [shost] => http://itline.kiev.ua [subgroup] => Array ( ) [path] => Array ( ) [skeleton] => Array ( [menu_good] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 67 ) [val] => 351 ) [good] => Array ( [parent] => Array ( [0] => menu_good ) [id_parent] => Array ( [0] => 67 ) [id_element] => Array ( [0] => 71 ) ) [top_menu] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 68 ) ) [bot_menu] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 69 ) ) [language] => Array ( [parent] => Array ( [0] => ) [id_parent] => Array ( [0] => ) [id_element] => Array ( [0] => 66 ) [val] => 1 ) ) ) [_smarty_vars] => [_sections] => Array ( [c] => Array ( [name] => c [loop] => 3 [show] => 1 [max] => 3 [step] => 1 [start] => 0 [total] => 3 [index] => 3 [iteration] => 4 [rownum] => 3 [index_prev] => 1 [index_next] => 3 [first] => [last] => 1 ) ) [_foreach] => Array ( ) [_tag_stack] => Array ( ) [_conf_obj] => [_config] => Array ( [0] => Array ( [vars] => Array ( ) [files] => Array ( ) ) ) [_smarty_md5] => f8d698aea36fcbead2b9d5359ffca76f [_version] => 2.6.26 [_inclusion_depth] => 0 [_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 ( ) [function] => Array ( [get] => Array ( [0] => get_text_smarty [1] => [2] => [3] => [4] => 1 [5] => ) [count] => Array ( [0] => count_smarty [1] => [2] => [3] => [4] => 1 [5] => ) ) [block] => Array ( [repeat] => Array ( [0] => smarty_block_repeat [1] => infoset/menu_good_menu_expand_by_click.tpl [2] => 5 [3] => 1 [4] => 1 ) ) [compiler] => Array ( ) [prefilter] => Array ( ) [postfilter] => Array ( ) [outputfilter] => Array ( ) [resource] => Array ( ) [insert] => Array ( ) ) [_cache_serials] => Array ( ) [_cache_include] => [_cache_including] => ) ) ) ) [4] => Array ( [file] => /home/itlinec/public_html/system/upi_function.php [line] => 210 [function] => ParseTmUpi [args] => Array ( [0] => Array ( [module_infoset_name] => list [element_name] => good [admin_mode] => 0 [id_element] => 71 [skeleton] => Array ( [menu_good] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 67 ) [val] => 351 ) [good] => Array ( [parent] => Array ( [0] => menu_good ) [id_parent] => Array ( [0] => 67 ) [id_element] => Array ( [0] => 71 ) ) [top_menu] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 68 ) ) [bot_menu] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 69 ) ) [language] => Array ( [parent] => Array ( [0] => ) [id_parent] => Array ( [0] => ) [id_element] => Array ( [0] => 66 ) [val] => 1 ) ) [upi] => Array ( [id] => 11135 [meta_title] => [meta_keyword] => [meta_description] => [alias] => keyboard_microsoft_en [id_template] => 28 [refcount] => 1 [date_create] => 2013-06-21 15:58:44 [date_modify] => 2013-06-21 15:58:44 ) [id_template_mapping] => 43 [smarty] => Smarty Object ( [template_dir] => /home/itlinec/public_html/templates/ [compile_dir] => /home/itlinec/public_html/service/templates_c/ [config_dir] => configs [plugins_dir] => Array ( [0] => plugins ) [debugging] => [error_reporting] => [debug_tpl] => [debugging_ctrl] => NONE [compile_check] => 1 [force_compile] => [caching] => 0 [cache_dir] => cache [cache_lifetime] => 3600 [cache_modified_check] => [php_handling] => 0 [security] => [secure_dir] => Array ( ) [security_settings] => Array ( [PHP_HANDLING] => [IF_FUNCS] => Array ( [0] => array [1] => list [2] => isset [3] => empty [4] => count [5] => sizeof [6] => in_array [7] => is_array [8] => true [9] => false [10] => null ) [INCLUDE_ANY] => [PHP_TAGS] => [MODIFIER_FUNCS] => Array ( [0] => count ) [ALLOW_CONSTANTS] => [ALLOW_SUPER_GLOBALS] => 1 ) [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 [cur_menu_good] => 351 [cur_language] => 1 [item] => Array ( [0] => Array ( [id] => 2 [code] => ru [name] => Русская версия [id_upi] => 1256 [pos] => 1 [visible] => 1 [alias] => / ) [1] => Array ( [id] => 3 [code] => ua [name] => Українська версія [id_upi] => 1258 [pos] => 2 [visible] => 1 [alias] => /ua/ ) [2] => Array ( [id] => 1 [code] => en [name] => English version [id_upi] => 1257 [pos] => 5 [visible] => 1 [alias] => /en/ ) ) [pp] => Array ( [module_infoset_name] => list [element_name] => language [admin_mode] => 0 [id_element] => 66 [skeleton] => Array ( [menu_good] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 67 ) [val] => 351 ) [good] => Array ( [parent] => Array ( [0] => menu_good ) [id_parent] => Array ( [0] => 67 ) [id_element] => Array ( [0] => 71 ) ) [top_menu] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 68 ) ) [bot_menu] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 69 ) ) [language] => Array ( [parent] => Array ( [0] => ) [id_parent] => Array ( [0] => ) [id_element] => Array ( [0] => 66 ) [val] => 1 ) ) [upi] => Array ( [id] => 11135 [meta_title] => [meta_keyword] => [meta_description] => [alias] => keyboard_microsoft_en [id_template] => 28 [refcount] => 1 [date_create] => 2013-06-21 15:58:44 [date_modify] => 2013-06-21 15:58:44 ) [id_template_mapping] => 41 [smarty] => Smarty Object *RECURSION* ) [shost] => http://itline.kiev.ua [subgroup] => Array ( ) [path] => Array ( ) [skeleton] => Array ( [menu_good] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 67 ) [val] => 351 ) [good] => Array ( [parent] => Array ( [0] => menu_good ) [id_parent] => Array ( [0] => 67 ) [id_element] => Array ( [0] => 71 ) ) [top_menu] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 68 ) ) [bot_menu] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 69 ) ) [language] => Array ( [parent] => Array ( [0] => ) [id_parent] => Array ( [0] => ) [id_element] => Array ( [0] => 66 ) [val] => 1 ) ) ) [_smarty_vars] => [_sections] => Array ( [c] => Array ( [name] => c [loop] => 3 [show] => 1 [max] => 3 [step] => 1 [start] => 0 [total] => 3 [index] => 3 [iteration] => 4 [rownum] => 3 [index_prev] => 1 [index_next] => 3 [first] => [last] => 1 ) ) [_foreach] => Array ( ) [_tag_stack] => Array ( ) [_conf_obj] => [_config] => Array ( [0] => Array ( [vars] => Array ( ) [files] => Array ( ) ) ) [_smarty_md5] => f8d698aea36fcbead2b9d5359ffca76f [_version] => 2.6.26 [_inclusion_depth] => 0 [_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 ( ) [function] => Array ( [get] => Array ( [0] => get_text_smarty [1] => [2] => [3] => [4] => 1 [5] => ) [count] => Array ( [0] => count_smarty [1] => [2] => [3] => [4] => 1 [5] => ) ) [block] => Array ( [repeat] => Array ( [0] => smarty_block_repeat [1] => infoset/menu_good_menu_expand_by_click.tpl [2] => 5 [3] => 1 [4] => 1 ) ) [compiler] => Array ( ) [prefilter] => Array ( ) [postfilter] => Array ( ) [outputfilter] => Array ( ) [resource] => Array ( ) [insert] => Array ( ) ) [_cache_serials] => Array ( ) [_cache_include] => [_cache_including] => ) ) ) ) [5] => Array ( [file] => /home/itlinec/public_html/index.php [line] => 28 [function] => get_upi_html [args] => Array ( [0] => Array ( [id] => 11135 [meta_title] => [meta_keyword] => [meta_description] => [alias] => keyboard_microsoft_en [id_template] => 28 [refcount] => 1 [date_create] => 2013-06-21 15:58:44 [date_modify] => 2013-06-21 15:58:44 ) [1] => 0 ) ) ) mysql fetch assoc error in query:
mysql query error in query:
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 'AND AND cat_level=1 ...' at line 3Array ( [0] => Array ( [file] => /home/itlinec/public_html/system/sql.php [line] => 176 [function] => sql_query [args] => Array ( [0] => SELECT menu_good.*, upi.alias FROM menu_good JOIN upi ON upi.id=menu_good.id_upi WHERE cat_left BETWEEN AND AND cat_level=1 AND id_language= AND visible=1 ORDER BY cat_left ) ) [1] => Array ( [file] => /home/itlinec/public_html/system/sql.php [line] => 212 [function] => sql2array [args] => Array ( [0] => SELECT menu_good.*, upi.alias FROM menu_good JOIN upi ON upi.id=menu_good.id_upi WHERE cat_left BETWEEN AND AND cat_level=1 AND id_language= AND visible=1 ORDER BY cat_left ) ) [2] => Array ( [file] => /home/itlinec/public_html/system/upi_function.php [line] => 83 [function] => sql2smarty [args] => Array ( [0] => SELECT menu_good.*, upi.alias FROM menu_good JOIN upi ON upi.id=menu_good.id_upi WHERE cat_left BETWEEN AND AND cat_level=1 AND id_language= AND visible=1 ORDER BY cat_left [1] => subgroup ) ) [3] => Array ( [file] => /home/itlinec/public_html/system/upi_function.php [line] => 163 [function] => UpiList [args] => Array ( [0] => Array ( [module_infoset_name] => list [element_name] => top_menu [admin_mode] => 0 [id_element] => 68 [skeleton] => Array ( [menu_good] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 67 ) [val] => 351 ) [good] => Array ( [parent] => Array ( [0] => menu_good ) [id_parent] => Array ( [0] => 67 ) [id_element] => Array ( [0] => 71 ) ) [top_menu] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 68 ) ) [bot_menu] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 69 ) ) [language] => Array ( [parent] => Array ( [0] => ) [id_parent] => Array ( [0] => ) [id_element] => Array ( [0] => 66 ) [val] => 1 ) ) [upi] => Array ( [id] => 11135 [meta_title] => [meta_keyword] => [meta_description] => [alias] => keyboard_microsoft_en [id_template] => 28 [refcount] => 1 [date_create] => 2013-06-21 15:58:44 [date_modify] => 2013-06-21 15:58:44 ) [id_template_mapping] => 44 [smarty] => Smarty Object ( [template_dir] => /home/itlinec/public_html/templates/ [compile_dir] => /home/itlinec/public_html/service/templates_c/ [config_dir] => configs [plugins_dir] => Array ( [0] => plugins ) [debugging] => [error_reporting] => [debug_tpl] => [debugging_ctrl] => NONE [compile_check] => 1 [force_compile] => [caching] => 0 [cache_dir] => cache [cache_lifetime] => 3600 [cache_modified_check] => [php_handling] => 0 [security] => [secure_dir] => Array ( ) [security_settings] => Array ( [PHP_HANDLING] => [IF_FUNCS] => Array ( [0] => array [1] => list [2] => isset [3] => empty [4] => count [5] => sizeof [6] => in_array [7] => is_array [8] => true [9] => false [10] => null ) [INCLUDE_ANY] => [PHP_TAGS] => [MODIFIER_FUNCS] => Array ( [0] => count ) [ALLOW_CONSTANTS] => [ALLOW_SUPER_GLOBALS] => 1 ) [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 [cur_menu_good] => 351 [cur_language] => 1 [item] => Array ( ) [pp] => Array ( [module_infoset_name] => list [element_name] => good [admin_mode] => 0 [id_element] => 71 [skeleton] => Array ( [menu_good] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 67 ) [val] => 351 ) [good] => Array ( [parent] => Array ( [0] => menu_good ) [id_parent] => Array ( [0] => 67 ) [id_element] => Array ( [0] => 71 ) ) [top_menu] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 68 ) ) [bot_menu] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 69 ) ) [language] => Array ( [parent] => Array ( [0] => ) [id_parent] => Array ( [0] => ) [id_element] => Array ( [0] => 66 ) [val] => 1 ) ) [upi] => Array ( [id] => 11135 [meta_title] => [meta_keyword] => [meta_description] => [alias] => keyboard_microsoft_en [id_template] => 28 [refcount] => 1 [date_create] => 2013-06-21 15:58:44 [date_modify] => 2013-06-21 15:58:44 ) [id_template_mapping] => 43 [smarty] => Smarty Object *RECURSION* [r_tm_dependancy] => Array ( [0] => Array ( [id] => 65 [id_template_mapping] => 43 [id_element] => 67 [id_item] => -1 ) ) ) [shost] => http://itline.kiev.ua [subgroup] => Array ( ) [path] => Array ( ) [skeleton] => Array ( [menu_good] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 67 ) [val] => 351 ) [good] => Array ( [parent] => Array ( [0] => menu_good ) [id_parent] => Array ( [0] => 67 ) [id_element] => Array ( [0] => 71 ) ) [top_menu] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 68 ) ) [bot_menu] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 69 ) ) [language] => Array ( [parent] => Array ( [0] => ) [id_parent] => Array ( [0] => ) [id_element] => Array ( [0] => 66 ) [val] => 1 ) ) [em] => Array ( ) [nal_kurs] => 41 ) [_smarty_vars] => [_sections] => Array ( [c] => Array ( [name] => c [loop] => 0 [show] => [max] => 0 [step] => 1 [start] => 0 [total] => 0 ) ) [_foreach] => Array ( ) [_tag_stack] => Array ( ) [_conf_obj] => [_config] => Array ( [0] => Array ( [vars] => Array ( ) [files] => Array ( ) ) ) [_smarty_md5] => f8d698aea36fcbead2b9d5359ffca76f [_version] => 2.6.26 [_inclusion_depth] => 0 [_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 ( [string_format] => Array ( [0] => smarty_modifier_string_format [1] => infoset/good_list.tpl [2] => 146 [3] => 1 [4] => 1 ) ) [function] => Array ( [get] => Array ( [0] => get_text_smarty [1] => [2] => [3] => [4] => 1 [5] => ) [count] => Array ( [0] => count_smarty [1] => [2] => [3] => [4] => 1 [5] => ) [constant] => Array ( [0] => smarty_function_constant [1] => infoset/good_list.tpl [2] => 1 [3] => 1 [4] => 1 ) ) [block] => Array ( [repeat] => Array ( [0] => smarty_block_repeat [1] => infoset/menu_good_menu_expand_by_click.tpl [2] => 5 [3] => 1 [4] => 1 ) ) [compiler] => Array ( ) [prefilter] => Array ( ) [postfilter] => Array ( ) [outputfilter] => Array ( ) [resource] => Array ( ) [insert] => Array ( ) ) [_cache_serials] => Array ( ) [_cache_include] => [_cache_including] => ) ) ) ) [4] => Array ( [file] => /home/itlinec/public_html/system/upi_function.php [line] => 210 [function] => ParseTmUpi [args] => Array ( [0] => Array ( [module_infoset_name] => list [element_name] => top_menu [admin_mode] => 0 [id_element] => 68 [skeleton] => Array ( [menu_good] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 67 ) [val] => 351 ) [good] => Array ( [parent] => Array ( [0] => menu_good ) [id_parent] => Array ( [0] => 67 ) [id_element] => Array ( [0] => 71 ) ) [top_menu] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 68 ) ) [bot_menu] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 69 ) ) [language] => Array ( [parent] => Array ( [0] => ) [id_parent] => Array ( [0] => ) [id_element] => Array ( [0] => 66 ) [val] => 1 ) ) [upi] => Array ( [id] => 11135 [meta_title] => [meta_keyword] => [meta_description] => [alias] => keyboard_microsoft_en [id_template] => 28 [refcount] => 1 [date_create] => 2013-06-21 15:58:44 [date_modify] => 2013-06-21 15:58:44 ) [id_template_mapping] => 44 [smarty] => Smarty Object ( [template_dir] => /home/itlinec/public_html/templates/ [compile_dir] => /home/itlinec/public_html/service/templates_c/ [config_dir] => configs [plugins_dir] => Array ( [0] => plugins ) [debugging] => [error_reporting] => [debug_tpl] => [debugging_ctrl] => NONE [compile_check] => 1 [force_compile] => [caching] => 0 [cache_dir] => cache [cache_lifetime] => 3600 [cache_modified_check] => [php_handling] => 0 [security] => [secure_dir] => Array ( ) [security_settings] => Array ( [PHP_HANDLING] => [IF_FUNCS] => Array ( [0] => array [1] => list [2] => isset [3] => empty [4] => count [5] => sizeof [6] => in_array [7] => is_array [8] => true [9] => false [10] => null ) [INCLUDE_ANY] => [PHP_TAGS] => [MODIFIER_FUNCS] => Array ( [0] => count ) [ALLOW_CONSTANTS] => [ALLOW_SUPER_GLOBALS] => 1 ) [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 [cur_menu_good] => 351 [cur_language] => 1 [item] => Array ( ) [pp] => Array ( [module_infoset_name] => list [element_name] => good [admin_mode] => 0 [id_element] => 71 [skeleton] => Array ( [menu_good] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 67 ) [val] => 351 ) [good] => Array ( [parent] => Array ( [0] => menu_good ) [id_parent] => Array ( [0] => 67 ) [id_element] => Array ( [0] => 71 ) ) [top_menu] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 68 ) ) [bot_menu] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 69 ) ) [language] => Array ( [parent] => Array ( [0] => ) [id_parent] => Array ( [0] => ) [id_element] => Array ( [0] => 66 ) [val] => 1 ) ) [upi] => Array ( [id] => 11135 [meta_title] => [meta_keyword] => [meta_description] => [alias] => keyboard_microsoft_en [id_template] => 28 [refcount] => 1 [date_create] => 2013-06-21 15:58:44 [date_modify] => 2013-06-21 15:58:44 ) [id_template_mapping] => 43 [smarty] => Smarty Object *RECURSION* [r_tm_dependancy] => Array ( [0] => Array ( [id] => 65 [id_template_mapping] => 43 [id_element] => 67 [id_item] => -1 ) ) ) [shost] => http://itline.kiev.ua [subgroup] => Array ( ) [path] => Array ( ) [skeleton] => Array ( [menu_good] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 67 ) [val] => 351 ) [good] => Array ( [parent] => Array ( [0] => menu_good ) [id_parent] => Array ( [0] => 67 ) [id_element] => Array ( [0] => 71 ) ) [top_menu] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 68 ) ) [bot_menu] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 69 ) ) [language] => Array ( [parent] => Array ( [0] => ) [id_parent] => Array ( [0] => ) [id_element] => Array ( [0] => 66 ) [val] => 1 ) ) [em] => Array ( ) [nal_kurs] => 41 ) [_smarty_vars] => [_sections] => Array ( [c] => Array ( [name] => c [loop] => 0 [show] => [max] => 0 [step] => 1 [start] => 0 [total] => 0 ) ) [_foreach] => Array ( ) [_tag_stack] => Array ( ) [_conf_obj] => [_config] => Array ( [0] => Array ( [vars] => Array ( ) [files] => Array ( ) ) ) [_smarty_md5] => f8d698aea36fcbead2b9d5359ffca76f [_version] => 2.6.26 [_inclusion_depth] => 0 [_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 ( [string_format] => Array ( [0] => smarty_modifier_string_format [1] => infoset/good_list.tpl [2] => 146 [3] => 1 [4] => 1 ) ) [function] => Array ( [get] => Array ( [0] => get_text_smarty [1] => [2] => [3] => [4] => 1 [5] => ) [count] => Array ( [0] => count_smarty [1] => [2] => [3] => [4] => 1 [5] => ) [constant] => Array ( [0] => smarty_function_constant [1] => infoset/good_list.tpl [2] => 1 [3] => 1 [4] => 1 ) ) [block] => Array ( [repeat] => Array ( [0] => smarty_block_repeat [1] => infoset/menu_good_menu_expand_by_click.tpl [2] => 5 [3] => 1 [4] => 1 ) ) [compiler] => Array ( ) [prefilter] => Array ( ) [postfilter] => Array ( ) [outputfilter] => Array ( ) [resource] => Array ( ) [insert] => Array ( ) ) [_cache_serials] => Array ( ) [_cache_include] => [_cache_including] => ) ) ) ) [5] => Array ( [file] => /home/itlinec/public_html/index.php [line] => 28 [function] => get_upi_html [args] => Array ( [0] => Array ( [id] => 11135 [meta_title] => [meta_keyword] => [meta_description] => [alias] => keyboard_microsoft_en [id_template] => 28 [refcount] => 1 [date_create] => 2013-06-21 15:58:44 [date_modify] => 2013-06-21 15:58:44 ) [1] => 0 ) ) ) mysql fetch assoc error in query:
mysql query error in query:
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 'AND cat_right>= AND id_language= ORDER BY cat_level' at line 3Array ( [0] => Array ( [file] => /home/itlinec/public_html/system/sql.php [line] => 176 [function] => sql_query [args] => Array ( [0] => SELECT menu_good.*, upi.alias FROM menu_good JOIN upi ON upi.id=menu_good.id_upi WHERE cat_left <= AND cat_right>= AND id_language= ORDER BY cat_level ) ) [1] => Array ( [file] => /home/itlinec/public_html/system/sql.php [line] => 212 [function] => sql2array [args] => Array ( [0] => SELECT menu_good.*, upi.alias FROM menu_good JOIN upi ON upi.id=menu_good.id_upi WHERE cat_left <= AND cat_right>= AND id_language= ORDER BY cat_level ) ) [2] => Array ( [file] => /home/itlinec/public_html/system/upi_function.php [line] => 89 [function] => sql2smarty [args] => Array ( [0] => SELECT menu_good.*, upi.alias FROM menu_good JOIN upi ON upi.id=menu_good.id_upi WHERE cat_left <= AND cat_right>= AND id_language= ORDER BY cat_level [1] => path ) ) [3] => Array ( [file] => /home/itlinec/public_html/system/upi_function.php [line] => 163 [function] => UpiList [args] => Array ( [0] => Array ( [module_infoset_name] => list [element_name] => top_menu [admin_mode] => 0 [id_element] => 68 [skeleton] => Array ( [menu_good] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 67 ) [val] => 351 ) [good] => Array ( [parent] => Array ( [0] => menu_good ) [id_parent] => Array ( [0] => 67 ) [id_element] => Array ( [0] => 71 ) ) [top_menu] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 68 ) ) [bot_menu] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 69 ) ) [language] => Array ( [parent] => Array ( [0] => ) [id_parent] => Array ( [0] => ) [id_element] => Array ( [0] => 66 ) [val] => 1 ) ) [upi] => Array ( [id] => 11135 [meta_title] => [meta_keyword] => [meta_description] => [alias] => keyboard_microsoft_en [id_template] => 28 [refcount] => 1 [date_create] => 2013-06-21 15:58:44 [date_modify] => 2013-06-21 15:58:44 ) [id_template_mapping] => 44 [smarty] => Smarty Object ( [template_dir] => /home/itlinec/public_html/templates/ [compile_dir] => /home/itlinec/public_html/service/templates_c/ [config_dir] => configs [plugins_dir] => Array ( [0] => plugins ) [debugging] => [error_reporting] => [debug_tpl] => [debugging_ctrl] => NONE [compile_check] => 1 [force_compile] => [caching] => 0 [cache_dir] => cache [cache_lifetime] => 3600 [cache_modified_check] => [php_handling] => 0 [security] => [secure_dir] => Array ( ) [security_settings] => Array ( [PHP_HANDLING] => [IF_FUNCS] => Array ( [0] => array [1] => list [2] => isset [3] => empty [4] => count [5] => sizeof [6] => in_array [7] => is_array [8] => true [9] => false [10] => null ) [INCLUDE_ANY] => [PHP_TAGS] => [MODIFIER_FUNCS] => Array ( [0] => count ) [ALLOW_CONSTANTS] => [ALLOW_SUPER_GLOBALS] => 1 ) [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 [cur_menu_good] => 351 [cur_language] => 1 [item] => Array ( ) [pp] => Array ( [module_infoset_name] => list [element_name] => good [admin_mode] => 0 [id_element] => 71 [skeleton] => Array ( [menu_good] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 67 ) [val] => 351 ) [good] => Array ( [parent] => Array ( [0] => menu_good ) [id_parent] => Array ( [0] => 67 ) [id_element] => Array ( [0] => 71 ) ) [top_menu] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 68 ) ) [bot_menu] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 69 ) ) [language] => Array ( [parent] => Array ( [0] => ) [id_parent] => Array ( [0] => ) [id_element] => Array ( [0] => 66 ) [val] => 1 ) ) [upi] => Array ( [id] => 11135 [meta_title] => [meta_keyword] => [meta_description] => [alias] => keyboard_microsoft_en [id_template] => 28 [refcount] => 1 [date_create] => 2013-06-21 15:58:44 [date_modify] => 2013-06-21 15:58:44 ) [id_template_mapping] => 43 [smarty] => Smarty Object *RECURSION* [r_tm_dependancy] => Array ( [0] => Array ( [id] => 65 [id_template_mapping] => 43 [id_element] => 67 [id_item] => -1 ) ) ) [shost] => http://itline.kiev.ua [subgroup] => Array ( ) [path] => Array ( ) [skeleton] => Array ( [menu_good] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 67 ) [val] => 351 ) [good] => Array ( [parent] => Array ( [0] => menu_good ) [id_parent] => Array ( [0] => 67 ) [id_element] => Array ( [0] => 71 ) ) [top_menu] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 68 ) ) [bot_menu] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 69 ) ) [language] => Array ( [parent] => Array ( [0] => ) [id_parent] => Array ( [0] => ) [id_element] => Array ( [0] => 66 ) [val] => 1 ) ) [em] => Array ( ) [nal_kurs] => 41 ) [_smarty_vars] => [_sections] => Array ( [c] => Array ( [name] => c [loop] => 0 [show] => [max] => 0 [step] => 1 [start] => 0 [total] => 0 ) ) [_foreach] => Array ( ) [_tag_stack] => Array ( ) [_conf_obj] => [_config] => Array ( [0] => Array ( [vars] => Array ( ) [files] => Array ( ) ) ) [_smarty_md5] => f8d698aea36fcbead2b9d5359ffca76f [_version] => 2.6.26 [_inclusion_depth] => 0 [_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 ( [string_format] => Array ( [0] => smarty_modifier_string_format [1] => infoset/good_list.tpl [2] => 146 [3] => 1 [4] => 1 ) ) [function] => Array ( [get] => Array ( [0] => get_text_smarty [1] => [2] => [3] => [4] => 1 [5] => ) [count] => Array ( [0] => count_smarty [1] => [2] => [3] => [4] => 1 [5] => ) [constant] => Array ( [0] => smarty_function_constant [1] => infoset/good_list.tpl [2] => 1 [3] => 1 [4] => 1 ) ) [block] => Array ( [repeat] => Array ( [0] => smarty_block_repeat [1] => infoset/menu_good_menu_expand_by_click.tpl [2] => 5 [3] => 1 [4] => 1 ) ) [compiler] => Array ( ) [prefilter] => Array ( ) [postfilter] => Array ( ) [outputfilter] => Array ( ) [resource] => Array ( ) [insert] => Array ( ) ) [_cache_serials] => Array ( ) [_cache_include] => [_cache_including] => ) ) ) ) [4] => Array ( [file] => /home/itlinec/public_html/system/upi_function.php [line] => 210 [function] => ParseTmUpi [args] => Array ( [0] => Array ( [module_infoset_name] => list [element_name] => top_menu [admin_mode] => 0 [id_element] => 68 [skeleton] => Array ( [menu_good] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 67 ) [val] => 351 ) [good] => Array ( [parent] => Array ( [0] => menu_good ) [id_parent] => Array ( [0] => 67 ) [id_element] => Array ( [0] => 71 ) ) [top_menu] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 68 ) ) [bot_menu] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 69 ) ) [language] => Array ( [parent] => Array ( [0] => ) [id_parent] => Array ( [0] => ) [id_element] => Array ( [0] => 66 ) [val] => 1 ) ) [upi] => Array ( [id] => 11135 [meta_title] => [meta_keyword] => [meta_description] => [alias] => keyboard_microsoft_en [id_template] => 28 [refcount] => 1 [date_create] => 2013-06-21 15:58:44 [date_modify] => 2013-06-21 15:58:44 ) [id_template_mapping] => 44 [smarty] => Smarty Object ( [template_dir] => /home/itlinec/public_html/templates/ [compile_dir] => /home/itlinec/public_html/service/templates_c/ [config_dir] => configs [plugins_dir] => Array ( [0] => plugins ) [debugging] => [error_reporting] => [debug_tpl] => [debugging_ctrl] => NONE [compile_check] => 1 [force_compile] => [caching] => 0 [cache_dir] => cache [cache_lifetime] => 3600 [cache_modified_check] => [php_handling] => 0 [security] => [secure_dir] => Array ( ) [security_settings] => Array ( [PHP_HANDLING] => [IF_FUNCS] => Array ( [0] => array [1] => list [2] => isset [3] => empty [4] => count [5] => sizeof [6] => in_array [7] => is_array [8] => true [9] => false [10] => null ) [INCLUDE_ANY] => [PHP_TAGS] => [MODIFIER_FUNCS] => Array ( [0] => count ) [ALLOW_CONSTANTS] => [ALLOW_SUPER_GLOBALS] => 1 ) [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 [cur_menu_good] => 351 [cur_language] => 1 [item] => Array ( ) [pp] => Array ( [module_infoset_name] => list [element_name] => good [admin_mode] => 0 [id_element] => 71 [skeleton] => Array ( [menu_good] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 67 ) [val] => 351 ) [good] => Array ( [parent] => Array ( [0] => menu_good ) [id_parent] => Array ( [0] => 67 ) [id_element] => Array ( [0] => 71 ) ) [top_menu] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 68 ) ) [bot_menu] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 69 ) ) [language] => Array ( [parent] => Array ( [0] => ) [id_parent] => Array ( [0] => ) [id_element] => Array ( [0] => 66 ) [val] => 1 ) ) [upi] => Array ( [id] => 11135 [meta_title] => [meta_keyword] => [meta_description] => [alias] => keyboard_microsoft_en [id_template] => 28 [refcount] => 1 [date_create] => 2013-06-21 15:58:44 [date_modify] => 2013-06-21 15:58:44 ) [id_template_mapping] => 43 [smarty] => Smarty Object *RECURSION* [r_tm_dependancy] => Array ( [0] => Array ( [id] => 65 [id_template_mapping] => 43 [id_element] => 67 [id_item] => -1 ) ) ) [shost] => http://itline.kiev.ua [subgroup] => Array ( ) [path] => Array ( ) [skeleton] => Array ( [menu_good] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 67 ) [val] => 351 ) [good] => Array ( [parent] => Array ( [0] => menu_good ) [id_parent] => Array ( [0] => 67 ) [id_element] => Array ( [0] => 71 ) ) [top_menu] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 68 ) ) [bot_menu] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 69 ) ) [language] => Array ( [parent] => Array ( [0] => ) [id_parent] => Array ( [0] => ) [id_element] => Array ( [0] => 66 ) [val] => 1 ) ) [em] => Array ( ) [nal_kurs] => 41 ) [_smarty_vars] => [_sections] => Array ( [c] => Array ( [name] => c [loop] => 0 [show] => [max] => 0 [step] => 1 [start] => 0 [total] => 0 ) ) [_foreach] => Array ( ) [_tag_stack] => Array ( ) [_conf_obj] => [_config] => Array ( [0] => Array ( [vars] => Array ( ) [files] => Array ( ) ) ) [_smarty_md5] => f8d698aea36fcbead2b9d5359ffca76f [_version] => 2.6.26 [_inclusion_depth] => 0 [_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 ( [string_format] => Array ( [0] => smarty_modifier_string_format [1] => infoset/good_list.tpl [2] => 146 [3] => 1 [4] => 1 ) ) [function] => Array ( [get] => Array ( [0] => get_text_smarty [1] => [2] => [3] => [4] => 1 [5] => ) [count] => Array ( [0] => count_smarty [1] => [2] => [3] => [4] => 1 [5] => ) [constant] => Array ( [0] => smarty_function_constant [1] => infoset/good_list.tpl [2] => 1 [3] => 1 [4] => 1 ) ) [block] => Array ( [repeat] => Array ( [0] => smarty_block_repeat [1] => infoset/menu_good_menu_expand_by_click.tpl [2] => 5 [3] => 1 [4] => 1 ) ) [compiler] => Array ( ) [prefilter] => Array ( ) [postfilter] => Array ( ) [outputfilter] => Array ( ) [resource] => Array ( ) [insert] => Array ( ) ) [_cache_serials] => Array ( ) [_cache_include] => [_cache_including] => ) ) ) ) [5] => Array ( [file] => /home/itlinec/public_html/index.php [line] => 28 [function] => get_upi_html [args] => Array ( [0] => Array ( [id] => 11135 [meta_title] => [meta_keyword] => [meta_description] => [alias] => keyboard_microsoft_en [id_template] => 28 [refcount] => 1 [date_create] => 2013-06-21 15:58:44 [date_modify] => 2013-06-21 15:58:44 ) [1] => 0 ) ) ) mysql fetch assoc error in query:
mysql query error in query:
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 'AND AND cat_level=1 ...' at line 3Array ( [0] => Array ( [file] => /home/itlinec/public_html/system/sql.php [line] => 176 [function] => sql_query [args] => Array ( [0] => SELECT menu_good.*, upi.alias FROM menu_good JOIN upi ON upi.id=menu_good.id_upi WHERE cat_left BETWEEN AND AND cat_level=1 AND id_language= AND visible=1 ORDER BY cat_left ) ) [1] => Array ( [file] => /home/itlinec/public_html/system/sql.php [line] => 212 [function] => sql2array [args] => Array ( [0] => SELECT menu_good.*, upi.alias FROM menu_good JOIN upi ON upi.id=menu_good.id_upi WHERE cat_left BETWEEN AND AND cat_level=1 AND id_language= AND visible=1 ORDER BY cat_left ) ) [2] => Array ( [file] => /home/itlinec/public_html/system/upi_function.php [line] => 83 [function] => sql2smarty [args] => Array ( [0] => SELECT menu_good.*, upi.alias FROM menu_good JOIN upi ON upi.id=menu_good.id_upi WHERE cat_left BETWEEN AND AND cat_level=1 AND id_language= AND visible=1 ORDER BY cat_left [1] => subgroup ) ) [3] => Array ( [file] => /home/itlinec/public_html/system/upi_function.php [line] => 163 [function] => UpiList [args] => Array ( [0] => Array ( [module_infoset_name] => list [element_name] => bot_menu [admin_mode] => 0 [id_element] => 69 [skeleton] => Array ( [menu_good] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 67 ) [val] => 351 ) [good] => Array ( [parent] => Array ( [0] => menu_good ) [id_parent] => Array ( [0] => 67 ) [id_element] => Array ( [0] => 71 ) ) [top_menu] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 68 ) ) [bot_menu] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 69 ) ) [language] => Array ( [parent] => Array ( [0] => ) [id_parent] => Array ( [0] => ) [id_element] => Array ( [0] => 66 ) [val] => 1 ) ) [upi] => Array ( [id] => 11135 [meta_title] => [meta_keyword] => [meta_description] => [alias] => keyboard_microsoft_en [id_template] => 28 [refcount] => 1 [date_create] => 2013-06-21 15:58:44 [date_modify] => 2013-06-21 15:58:44 ) [id_template_mapping] => 45 [smarty] => Smarty Object ( [template_dir] => /home/itlinec/public_html/templates/ [compile_dir] => /home/itlinec/public_html/service/templates_c/ [config_dir] => configs [plugins_dir] => Array ( [0] => plugins ) [debugging] => [error_reporting] => [debug_tpl] => [debugging_ctrl] => NONE [compile_check] => 1 [force_compile] => [caching] => 0 [cache_dir] => cache [cache_lifetime] => 3600 [cache_modified_check] => [php_handling] => 0 [security] => [secure_dir] => Array ( ) [security_settings] => Array ( [PHP_HANDLING] => [IF_FUNCS] => Array ( [0] => array [1] => list [2] => isset [3] => empty [4] => count [5] => sizeof [6] => in_array [7] => is_array [8] => true [9] => false [10] => null ) [INCLUDE_ANY] => [PHP_TAGS] => [MODIFIER_FUNCS] => Array ( [0] => count ) [ALLOW_CONSTANTS] => [ALLOW_SUPER_GLOBALS] => 1 ) [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 [cur_menu_good] => 351 [cur_language] => 1 [item] => Array ( [0] => Array ( [id] => 8 [id_language] => 1 [name] => About a company [pos] => 10 [id_upi] => 1323 [visible] => 1 [alias] => /o_kompanii_en/ ) [1] => Array ( [id] => 12 [id_language] => 1 [name] => How to buy [pos] => 40 [id_upi] => 1327 [visible] => 1 [alias] => /kak_kupit_en/ ) [2] => Array ( [id] => 14 [id_language] => 1 [name] => Guarantee and service [pos] => 50 [id_upi] => 1329 [visible] => 1 [alias] => /garantiya_i_servis_en/ ) [3] => Array ( [id] => 16 [id_language] => 1 [name] => Delivery and payment [pos] => 60 [id_upi] => 1331 [visible] => 1 [alias] => /dostavka_i_oplata_en/ ) [4] => Array ( [id] => 18 [id_language] => 1 [name] => Contacts [pos] => 70 [id_upi] => 1333 [visible] => 1 [alias] => /kontakti_en/ ) ) [pp] => Array ( [module_infoset_name] => list [element_name] => top_menu [admin_mode] => 0 [id_element] => 68 [skeleton] => Array ( [menu_good] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 67 ) [val] => 351 ) [good] => Array ( [parent] => Array ( [0] => menu_good ) [id_parent] => Array ( [0] => 67 ) [id_element] => Array ( [0] => 71 ) ) [top_menu] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 68 ) ) [bot_menu] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 69 ) ) [language] => Array ( [parent] => Array ( [0] => ) [id_parent] => Array ( [0] => ) [id_element] => Array ( [0] => 66 ) [val] => 1 ) ) [upi] => Array ( [id] => 11135 [meta_title] => [meta_keyword] => [meta_description] => [alias] => keyboard_microsoft_en [id_template] => 28 [refcount] => 1 [date_create] => 2013-06-21 15:58:44 [date_modify] => 2013-06-21 15:58:44 ) [id_template_mapping] => 44 [smarty] => Smarty Object *RECURSION* ) [shost] => http://itline.kiev.ua [subgroup] => Array ( ) [path] => Array ( ) [skeleton] => Array ( [menu_good] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 67 ) [val] => 351 ) [good] => Array ( [parent] => Array ( [0] => menu_good ) [id_parent] => Array ( [0] => 67 ) [id_element] => Array ( [0] => 71 ) ) [top_menu] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 68 ) ) [bot_menu] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 69 ) ) [language] => Array ( [parent] => Array ( [0] => ) [id_parent] => Array ( [0] => ) [id_element] => Array ( [0] => 66 ) [val] => 1 ) ) [em] => Array ( ) [nal_kurs] => 41 ) [_smarty_vars] => [_sections] => Array ( [c] => Array ( [name] => c [loop] => 5 [show] => 1 [max] => 5 [step] => 1 [start] => 0 [total] => 5 [index] => 5 [iteration] => 6 [rownum] => 5 [index_prev] => 3 [index_next] => 5 [first] => [last] => 1 ) ) [_foreach] => Array ( ) [_tag_stack] => Array ( ) [_conf_obj] => [_config] => Array ( [0] => Array ( [vars] => Array ( ) [files] => Array ( ) ) ) [_smarty_md5] => f8d698aea36fcbead2b9d5359ffca76f [_version] => 2.6.26 [_inclusion_depth] => 0 [_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 ( [string_format] => Array ( [0] => smarty_modifier_string_format [1] => infoset/good_list.tpl [2] => 146 [3] => 1 [4] => 1 ) ) [function] => Array ( [get] => Array ( [0] => get_text_smarty [1] => [2] => [3] => [4] => 1 [5] => ) [count] => Array ( [0] => count_smarty [1] => [2] => [3] => [4] => 1 [5] => ) [constant] => Array ( [0] => smarty_function_constant [1] => infoset/good_list.tpl [2] => 1 [3] => 1 [4] => 1 ) ) [block] => Array ( [repeat] => Array ( [0] => smarty_block_repeat [1] => infoset/menu_good_menu_expand_by_click.tpl [2] => 5 [3] => 1 [4] => 1 ) ) [compiler] => Array ( ) [prefilter] => Array ( ) [postfilter] => Array ( ) [outputfilter] => Array ( ) [resource] => Array ( ) [insert] => Array ( ) ) [_cache_serials] => Array ( ) [_cache_include] => [_cache_including] => ) ) ) ) [4] => Array ( [file] => /home/itlinec/public_html/system/upi_function.php [line] => 210 [function] => ParseTmUpi [args] => Array ( [0] => Array ( [module_infoset_name] => list [element_name] => bot_menu [admin_mode] => 0 [id_element] => 69 [skeleton] => Array ( [menu_good] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 67 ) [val] => 351 ) [good] => Array ( [parent] => Array ( [0] => menu_good ) [id_parent] => Array ( [0] => 67 ) [id_element] => Array ( [0] => 71 ) ) [top_menu] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 68 ) ) [bot_menu] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 69 ) ) [language] => Array ( [parent] => Array ( [0] => ) [id_parent] => Array ( [0] => ) [id_element] => Array ( [0] => 66 ) [val] => 1 ) ) [upi] => Array ( [id] => 11135 [meta_title] => [meta_keyword] => [meta_description] => [alias] => keyboard_microsoft_en [id_template] => 28 [refcount] => 1 [date_create] => 2013-06-21 15:58:44 [date_modify] => 2013-06-21 15:58:44 ) [id_template_mapping] => 45 [smarty] => Smarty Object ( [template_dir] => /home/itlinec/public_html/templates/ [compile_dir] => /home/itlinec/public_html/service/templates_c/ [config_dir] => configs [plugins_dir] => Array ( [0] => plugins ) [debugging] => [error_reporting] => [debug_tpl] => [debugging_ctrl] => NONE [compile_check] => 1 [force_compile] => [caching] => 0 [cache_dir] => cache [cache_lifetime] => 3600 [cache_modified_check] => [php_handling] => 0 [security] => [secure_dir] => Array ( ) [security_settings] => Array ( [PHP_HANDLING] => [IF_FUNCS] => Array ( [0] => array [1] => list [2] => isset [3] => empty [4] => count [5] => sizeof [6] => in_array [7] => is_array [8] => true [9] => false [10] => null ) [INCLUDE_ANY] => [PHP_TAGS] => [MODIFIER_FUNCS] => Array ( [0] => count ) [ALLOW_CONSTANTS] => [ALLOW_SUPER_GLOBALS] => 1 ) [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 [cur_menu_good] => 351 [cur_language] => 1 [item] => Array ( [0] => Array ( [id] => 8 [id_language] => 1 [name] => About a company [pos] => 10 [id_upi] => 1323 [visible] => 1 [alias] => /o_kompanii_en/ ) [1] => Array ( [id] => 12 [id_language] => 1 [name] => How to buy [pos] => 40 [id_upi] => 1327 [visible] => 1 [alias] => /kak_kupit_en/ ) [2] => Array ( [id] => 14 [id_language] => 1 [name] => Guarantee and service [pos] => 50 [id_upi] => 1329 [visible] => 1 [alias] => /garantiya_i_servis_en/ ) [3] => Array ( [id] => 16 [id_language] => 1 [name] => Delivery and payment [pos] => 60 [id_upi] => 1331 [visible] => 1 [alias] => /dostavka_i_oplata_en/ ) [4] => Array ( [id] => 18 [id_language] => 1 [name] => Contacts [pos] => 70 [id_upi] => 1333 [visible] => 1 [alias] => /kontakti_en/ ) ) [pp] => Array ( [module_infoset_name] => list [element_name] => top_menu [admin_mode] => 0 [id_element] => 68 [skeleton] => Array ( [menu_good] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 67 ) [val] => 351 ) [good] => Array ( [parent] => Array ( [0] => menu_good ) [id_parent] => Array ( [0] => 67 ) [id_element] => Array ( [0] => 71 ) ) [top_menu] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 68 ) ) [bot_menu] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 69 ) ) [language] => Array ( [parent] => Array ( [0] => ) [id_parent] => Array ( [0] => ) [id_element] => Array ( [0] => 66 ) [val] => 1 ) ) [upi] => Array ( [id] => 11135 [meta_title] => [meta_keyword] => [meta_description] => [alias] => keyboard_microsoft_en [id_template] => 28 [refcount] => 1 [date_create] => 2013-06-21 15:58:44 [date_modify] => 2013-06-21 15:58:44 ) [id_template_mapping] => 44 [smarty] => Smarty Object *RECURSION* ) [shost] => http://itline.kiev.ua [subgroup] => Array ( ) [path] => Array ( ) [skeleton] => Array ( [menu_good] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 67 ) [val] => 351 ) [good] => Array ( [parent] => Array ( [0] => menu_good ) [id_parent] => Array ( [0] => 67 ) [id_element] => Array ( [0] => 71 ) ) [top_menu] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 68 ) ) [bot_menu] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 69 ) ) [language] => Array ( [parent] => Array ( [0] => ) [id_parent] => Array ( [0] => ) [id_element] => Array ( [0] => 66 ) [val] => 1 ) ) [em] => Array ( ) [nal_kurs] => 41 ) [_smarty_vars] => [_sections] => Array ( [c] => Array ( [name] => c [loop] => 5 [show] => 1 [max] => 5 [step] => 1 [start] => 0 [total] => 5 [index] => 5 [iteration] => 6 [rownum] => 5 [index_prev] => 3 [index_next] => 5 [first] => [last] => 1 ) ) [_foreach] => Array ( ) [_tag_stack] => Array ( ) [_conf_obj] => [_config] => Array ( [0] => Array ( [vars] => Array ( ) [files] => Array ( ) ) ) [_smarty_md5] => f8d698aea36fcbead2b9d5359ffca76f [_version] => 2.6.26 [_inclusion_depth] => 0 [_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 ( [string_format] => Array ( [0] => smarty_modifier_string_format [1] => infoset/good_list.tpl [2] => 146 [3] => 1 [4] => 1 ) ) [function] => Array ( [get] => Array ( [0] => get_text_smarty [1] => [2] => [3] => [4] => 1 [5] => ) [count] => Array ( [0] => count_smarty [1] => [2] => [3] => [4] => 1 [5] => ) [constant] => Array ( [0] => smarty_function_constant [1] => infoset/good_list.tpl [2] => 1 [3] => 1 [4] => 1 ) ) [block] => Array ( [repeat] => Array ( [0] => smarty_block_repeat [1] => infoset/menu_good_menu_expand_by_click.tpl [2] => 5 [3] => 1 [4] => 1 ) ) [compiler] => Array ( ) [prefilter] => Array ( ) [postfilter] => Array ( ) [outputfilter] => Array ( ) [resource] => Array ( ) [insert] => Array ( ) ) [_cache_serials] => Array ( ) [_cache_include] => [_cache_including] => ) ) ) ) [5] => Array ( [file] => /home/itlinec/public_html/index.php [line] => 28 [function] => get_upi_html [args] => Array ( [0] => Array ( [id] => 11135 [meta_title] => [meta_keyword] => [meta_description] => [alias] => keyboard_microsoft_en [id_template] => 28 [refcount] => 1 [date_create] => 2013-06-21 15:58:44 [date_modify] => 2013-06-21 15:58:44 ) [1] => 0 ) ) ) mysql fetch assoc error in query:
mysql query error in query:
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 'AND cat_right>= AND id_language= ORDER BY cat_level' at line 3Array ( [0] => Array ( [file] => /home/itlinec/public_html/system/sql.php [line] => 176 [function] => sql_query [args] => Array ( [0] => SELECT menu_good.*, upi.alias FROM menu_good JOIN upi ON upi.id=menu_good.id_upi WHERE cat_left <= AND cat_right>= AND id_language= ORDER BY cat_level ) ) [1] => Array ( [file] => /home/itlinec/public_html/system/sql.php [line] => 212 [function] => sql2array [args] => Array ( [0] => SELECT menu_good.*, upi.alias FROM menu_good JOIN upi ON upi.id=menu_good.id_upi WHERE cat_left <= AND cat_right>= AND id_language= ORDER BY cat_level ) ) [2] => Array ( [file] => /home/itlinec/public_html/system/upi_function.php [line] => 89 [function] => sql2smarty [args] => Array ( [0] => SELECT menu_good.*, upi.alias FROM menu_good JOIN upi ON upi.id=menu_good.id_upi WHERE cat_left <= AND cat_right>= AND id_language= ORDER BY cat_level [1] => path ) ) [3] => Array ( [file] => /home/itlinec/public_html/system/upi_function.php [line] => 163 [function] => UpiList [args] => Array ( [0] => Array ( [module_infoset_name] => list [element_name] => bot_menu [admin_mode] => 0 [id_element] => 69 [skeleton] => Array ( [menu_good] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 67 ) [val] => 351 ) [good] => Array ( [parent] => Array ( [0] => menu_good ) [id_parent] => Array ( [0] => 67 ) [id_element] => Array ( [0] => 71 ) ) [top_menu] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 68 ) ) [bot_menu] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 69 ) ) [language] => Array ( [parent] => Array ( [0] => ) [id_parent] => Array ( [0] => ) [id_element] => Array ( [0] => 66 ) [val] => 1 ) ) [upi] => Array ( [id] => 11135 [meta_title] => [meta_keyword] => [meta_description] => [alias] => keyboard_microsoft_en [id_template] => 28 [refcount] => 1 [date_create] => 2013-06-21 15:58:44 [date_modify] => 2013-06-21 15:58:44 ) [id_template_mapping] => 45 [smarty] => Smarty Object ( [template_dir] => /home/itlinec/public_html/templates/ [compile_dir] => /home/itlinec/public_html/service/templates_c/ [config_dir] => configs [plugins_dir] => Array ( [0] => plugins ) [debugging] => [error_reporting] => [debug_tpl] => [debugging_ctrl] => NONE [compile_check] => 1 [force_compile] => [caching] => 0 [cache_dir] => cache [cache_lifetime] => 3600 [cache_modified_check] => [php_handling] => 0 [security] => [secure_dir] => Array ( ) [security_settings] => Array ( [PHP_HANDLING] => [IF_FUNCS] => Array ( [0] => array [1] => list [2] => isset [3] => empty [4] => count [5] => sizeof [6] => in_array [7] => is_array [8] => true [9] => false [10] => null ) [INCLUDE_ANY] => [PHP_TAGS] => [MODIFIER_FUNCS] => Array ( [0] => count ) [ALLOW_CONSTANTS] => [ALLOW_SUPER_GLOBALS] => 1 ) [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 [cur_menu_good] => 351 [cur_language] => 1 [item] => Array ( [0] => Array ( [id] => 8 [id_language] => 1 [name] => About a company [pos] => 10 [id_upi] => 1323 [visible] => 1 [alias] => /o_kompanii_en/ ) [1] => Array ( [id] => 12 [id_language] => 1 [name] => How to buy [pos] => 40 [id_upi] => 1327 [visible] => 1 [alias] => /kak_kupit_en/ ) [2] => Array ( [id] => 14 [id_language] => 1 [name] => Guarantee and service [pos] => 50 [id_upi] => 1329 [visible] => 1 [alias] => /garantiya_i_servis_en/ ) [3] => Array ( [id] => 16 [id_language] => 1 [name] => Delivery and payment [pos] => 60 [id_upi] => 1331 [visible] => 1 [alias] => /dostavka_i_oplata_en/ ) [4] => Array ( [id] => 18 [id_language] => 1 [name] => Contacts [pos] => 70 [id_upi] => 1333 [visible] => 1 [alias] => /kontakti_en/ ) ) [pp] => Array ( [module_infoset_name] => list [element_name] => top_menu [admin_mode] => 0 [id_element] => 68 [skeleton] => Array ( [menu_good] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 67 ) [val] => 351 ) [good] => Array ( [parent] => Array ( [0] => menu_good ) [id_parent] => Array ( [0] => 67 ) [id_element] => Array ( [0] => 71 ) ) [top_menu] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 68 ) ) [bot_menu] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 69 ) ) [language] => Array ( [parent] => Array ( [0] => ) [id_parent] => Array ( [0] => ) [id_element] => Array ( [0] => 66 ) [val] => 1 ) ) [upi] => Array ( [id] => 11135 [meta_title] => [meta_keyword] => [meta_description] => [alias] => keyboard_microsoft_en [id_template] => 28 [refcount] => 1 [date_create] => 2013-06-21 15:58:44 [date_modify] => 2013-06-21 15:58:44 ) [id_template_mapping] => 44 [smarty] => Smarty Object *RECURSION* ) [shost] => http://itline.kiev.ua [subgroup] => Array ( ) [path] => Array ( ) [skeleton] => Array ( [menu_good] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 67 ) [val] => 351 ) [good] => Array ( [parent] => Array ( [0] => menu_good ) [id_parent] => Array ( [0] => 67 ) [id_element] => Array ( [0] => 71 ) ) [top_menu] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 68 ) ) [bot_menu] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 69 ) ) [language] => Array ( [parent] => Array ( [0] => ) [id_parent] => Array ( [0] => ) [id_element] => Array ( [0] => 66 ) [val] => 1 ) ) [em] => Array ( ) [nal_kurs] => 41 ) [_smarty_vars] => [_sections] => Array ( [c] => Array ( [name] => c [loop] => 5 [show] => 1 [max] => 5 [step] => 1 [start] => 0 [total] => 5 [index] => 5 [iteration] => 6 [rownum] => 5 [index_prev] => 3 [index_next] => 5 [first] => [last] => 1 ) ) [_foreach] => Array ( ) [_tag_stack] => Array ( ) [_conf_obj] => [_config] => Array ( [0] => Array ( [vars] => Array ( ) [files] => Array ( ) ) ) [_smarty_md5] => f8d698aea36fcbead2b9d5359ffca76f [_version] => 2.6.26 [_inclusion_depth] => 0 [_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 ( [string_format] => Array ( [0] => smarty_modifier_string_format [1] => infoset/good_list.tpl [2] => 146 [3] => 1 [4] => 1 ) ) [function] => Array ( [get] => Array ( [0] => get_text_smarty [1] => [2] => [3] => [4] => 1 [5] => ) [count] => Array ( [0] => count_smarty [1] => [2] => [3] => [4] => 1 [5] => ) [constant] => Array ( [0] => smarty_function_constant [1] => infoset/good_list.tpl [2] => 1 [3] => 1 [4] => 1 ) ) [block] => Array ( [repeat] => Array ( [0] => smarty_block_repeat [1] => infoset/menu_good_menu_expand_by_click.tpl [2] => 5 [3] => 1 [4] => 1 ) ) [compiler] => Array ( ) [prefilter] => Array ( ) [postfilter] => Array ( ) [outputfilter] => Array ( ) [resource] => Array ( ) [insert] => Array ( ) ) [_cache_serials] => Array ( ) [_cache_include] => [_cache_including] => ) ) ) ) [4] => Array ( [file] => /home/itlinec/public_html/system/upi_function.php [line] => 210 [function] => ParseTmUpi [args] => Array ( [0] => Array ( [module_infoset_name] => list [element_name] => bot_menu [admin_mode] => 0 [id_element] => 69 [skeleton] => Array ( [menu_good] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 67 ) [val] => 351 ) [good] => Array ( [parent] => Array ( [0] => menu_good ) [id_parent] => Array ( [0] => 67 ) [id_element] => Array ( [0] => 71 ) ) [top_menu] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 68 ) ) [bot_menu] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 69 ) ) [language] => Array ( [parent] => Array ( [0] => ) [id_parent] => Array ( [0] => ) [id_element] => Array ( [0] => 66 ) [val] => 1 ) ) [upi] => Array ( [id] => 11135 [meta_title] => [meta_keyword] => [meta_description] => [alias] => keyboard_microsoft_en [id_template] => 28 [refcount] => 1 [date_create] => 2013-06-21 15:58:44 [date_modify] => 2013-06-21 15:58:44 ) [id_template_mapping] => 45 [smarty] => Smarty Object ( [template_dir] => /home/itlinec/public_html/templates/ [compile_dir] => /home/itlinec/public_html/service/templates_c/ [config_dir] => configs [plugins_dir] => Array ( [0] => plugins ) [debugging] => [error_reporting] => [debug_tpl] => [debugging_ctrl] => NONE [compile_check] => 1 [force_compile] => [caching] => 0 [cache_dir] => cache [cache_lifetime] => 3600 [cache_modified_check] => [php_handling] => 0 [security] => [secure_dir] => Array ( ) [security_settings] => Array ( [PHP_HANDLING] => [IF_FUNCS] => Array ( [0] => array [1] => list [2] => isset [3] => empty [4] => count [5] => sizeof [6] => in_array [7] => is_array [8] => true [9] => false [10] => null ) [INCLUDE_ANY] => [PHP_TAGS] => [MODIFIER_FUNCS] => Array ( [0] => count ) [ALLOW_CONSTANTS] => [ALLOW_SUPER_GLOBALS] => 1 ) [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 [cur_menu_good] => 351 [cur_language] => 1 [item] => Array ( [0] => Array ( [id] => 8 [id_language] => 1 [name] => About a company [pos] => 10 [id_upi] => 1323 [visible] => 1 [alias] => /o_kompanii_en/ ) [1] => Array ( [id] => 12 [id_language] => 1 [name] => How to buy [pos] => 40 [id_upi] => 1327 [visible] => 1 [alias] => /kak_kupit_en/ ) [2] => Array ( [id] => 14 [id_language] => 1 [name] => Guarantee and service [pos] => 50 [id_upi] => 1329 [visible] => 1 [alias] => /garantiya_i_servis_en/ ) [3] => Array ( [id] => 16 [id_language] => 1 [name] => Delivery and payment [pos] => 60 [id_upi] => 1331 [visible] => 1 [alias] => /dostavka_i_oplata_en/ ) [4] => Array ( [id] => 18 [id_language] => 1 [name] => Contacts [pos] => 70 [id_upi] => 1333 [visible] => 1 [alias] => /kontakti_en/ ) ) [pp] => Array ( [module_infoset_name] => list [element_name] => top_menu [admin_mode] => 0 [id_element] => 68 [skeleton] => Array ( [menu_good] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 67 ) [val] => 351 ) [good] => Array ( [parent] => Array ( [0] => menu_good ) [id_parent] => Array ( [0] => 67 ) [id_element] => Array ( [0] => 71 ) ) [top_menu] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 68 ) ) [bot_menu] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 69 ) ) [language] => Array ( [parent] => Array ( [0] => ) [id_parent] => Array ( [0] => ) [id_element] => Array ( [0] => 66 ) [val] => 1 ) ) [upi] => Array ( [id] => 11135 [meta_title] => [meta_keyword] => [meta_description] => [alias] => keyboard_microsoft_en [id_template] => 28 [refcount] => 1 [date_create] => 2013-06-21 15:58:44 [date_modify] => 2013-06-21 15:58:44 ) [id_template_mapping] => 44 [smarty] => Smarty Object *RECURSION* ) [shost] => http://itline.kiev.ua [subgroup] => Array ( ) [path] => Array ( ) [skeleton] => Array ( [menu_good] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 67 ) [val] => 351 ) [good] => Array ( [parent] => Array ( [0] => menu_good ) [id_parent] => Array ( [0] => 67 ) [id_element] => Array ( [0] => 71 ) ) [top_menu] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 68 ) ) [bot_menu] => Array ( [parent] => Array ( [0] => language ) [id_parent] => Array ( [0] => 66 ) [id_element] => Array ( [0] => 69 ) ) [language] => Array ( [parent] => Array ( [0] => ) [id_parent] => Array ( [0] => ) [id_element] => Array ( [0] => 66 ) [val] => 1 ) ) [em] => Array ( ) [nal_kurs] => 41 ) [_smarty_vars] => [_sections] => Array ( [c] => Array ( [name] => c [loop] => 5 [show] => 1 [max] => 5 [step] => 1 [start] => 0 [total] => 5 [index] => 5 [iteration] => 6 [rownum] => 5 [index_prev] => 3 [index_next] => 5 [first] => [last] => 1 ) ) [_foreach] => Array ( ) [_tag_stack] => Array ( ) [_conf_obj] => [_config] => Array ( [0] => Array ( [vars] => Array ( ) [files] => Array ( ) ) ) [_smarty_md5] => f8d698aea36fcbead2b9d5359ffca76f [_version] => 2.6.26 [_inclusion_depth] => 0 [_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 ( [string_format] => Array ( [0] => smarty_modifier_string_format [1] => infoset/good_list.tpl [2] => 146 [3] => 1 [4] => 1 ) ) [function] => Array ( [get] => Array ( [0] => get_text_smarty [1] => [2] => [3] => [4] => 1 [5] => ) [count] => Array ( [0] => count_smarty [1] => [2] => [3] => [4] => 1 [5] => ) [constant] => Array ( [0] => smarty_function_constant [1] => infoset/good_list.tpl [2] => 1 [3] => 1 [4] => 1 ) ) [block] => Array ( [repeat] => Array ( [0] => smarty_block_repeat [1] => infoset/menu_good_menu_expand_by_click.tpl [2] => 5 [3] => 1 [4] => 1 ) ) [compiler] => Array ( ) [prefilter] => Array ( ) [postfilter] => Array ( ) [outputfilter] => Array ( ) [resource] => Array ( ) [insert] => Array ( ) ) [_cache_serials] => Array ( ) [_cache_include] => [_cache_including] => ) ) ) ) [5] => Array ( [file] => /home/itlinec/public_html/index.php [line] => 28 [function] => get_upi_html [args] => Array ( [0] => Array ( [id] => 11135 [meta_title] => [meta_keyword] => [meta_description] => [alias] => keyboard_microsoft_en [id_template] => 28 [refcount] => 1 [date_create] => 2013-06-21 15:58:44 [date_modify] => 2013-06-21 15:58:44 ) [1] => 0 ) ) ) mysql fetch assoc error in query:
Русская версияУкраїнська версіяEnglish version

mo-fr: 9 - 20 sa: 11 - 16

+38(097)575-76-76
Viber,Telegram
30.11.2024
1$=41UAH
1$ cashless=42UAH
Products: pc
Sum:UAH
Checkout