MDB2_Error Object ( [error_message_prefix] => [mode] => 1 [level] => 1024 [code] => -1 [message] => MDB2 Error: unknown error [userinfo] => _doQuery: [Error message: Could not execute statement] [Last executed query: SELECT t.* , st.name, st.alias4url, st.code, st.inactive, st.html , SUBSTRING_INDEX(GROUP_CONCAT(si.id order by si.id desc), ',', 1) img_id , SUBSTRING_INDEX(GROUP_CONCAT(si.orig_filename order by si.id desc), ',', 1) img_orig_filename , (select sum(rating) from static_rating where static_rating.static_id=st.id) rating #, CONCAT(left(st.html, 100),'...') html_short , a.cel, users.online, users.onchat, users.onphone , st.alias4url FROM shop_news t left join static_content st on st.id=t.static_id left join static_img si on si.static_id=st.id left join users on users.username=t.username left join address a on users.address_id=a.id WHERE st.inactive in (0) and t.id<>116 group by st.id having 1 order by t.creation_datetime desc ] [Native code: 126] [Native message: Incorrect key file for table '/tmp/#sql_7ac_9.MYI'; try to repair it] [backtrace] => Array ( [0] => Array ( [file] => /home/admin/web/logistock.ru/public_html/MDB2.php [line] => 979 [function] => PEAR_Error [class] => PEAR_Error [type] => -> [args] => Array ( [0] => MDB2 Error: unknown error [1] => -1 [2] => 1 [3] => 1024 [4] => _doQuery: [Error message: Could not execute statement] [Last executed query: SELECT t.* , st.name, st.alias4url, st.code, st.inactive, st.html , SUBSTRING_INDEX(GROUP_CONCAT(si.id order by si.id desc), ',', 1) img_id , SUBSTRING_INDEX(GROUP_CONCAT(si.orig_filename order by si.id desc), ',', 1) img_orig_filename , (select sum(rating) from static_rating where static_rating.static_id=st.id) rating #, CONCAT(left(st.html, 100),'...') html_short , a.cel, users.online, users.onchat, users.onphone , st.alias4url FROM shop_news t left join static_content st on st.id=t.static_id left join static_img si on si.static_id=st.id left join users on users.username=t.username left join address a on users.address_id=a.id WHERE st.inactive in (0) and t.id<>116 group by st.id having 1 order by t.creation_datetime desc ] [Native code: 126] [Native message: Incorrect key file for table '/tmp/#sql_7ac_9.MYI'; try to repair it] ) ) [1] => Array ( [file] => /home/admin/web/logistock.ru/public_html/PEAR.php [line] => 531 [function] => __construct [class] => MDB2_Error [object] => MDB2_Error Object *RECURSION* [type] => -> [args] => Array ( [0] => [1] => 1 [2] => 1024 [3] => _doQuery: [Error message: Could not execute statement] [Last executed query: SELECT t.* , st.name, st.alias4url, st.code, st.inactive, st.html , SUBSTRING_INDEX(GROUP_CONCAT(si.id order by si.id desc), ',', 1) img_id , SUBSTRING_INDEX(GROUP_CONCAT(si.orig_filename order by si.id desc), ',', 1) img_orig_filename , (select sum(rating) from static_rating where static_rating.static_id=st.id) rating #, CONCAT(left(st.html, 100),'...') html_short , a.cel, users.online, users.onchat, users.onphone , st.alias4url FROM shop_news t left join static_content st on st.id=t.static_id left join static_img si on si.static_id=st.id left join users on users.username=t.username left join address a on users.address_id=a.id WHERE st.inactive in (0) and t.id<>116 group by st.id having 1 order by t.creation_datetime desc ] [Native code: 126] [Native message: Incorrect key file for table '/tmp/#sql_7ac_9.MYI'; try to repair it] ) ) [2] => Array ( [file] => /home/admin/web/logistock.ru/public_html/MDB2.php [line] => 1500 [function] => raiseError [class] => PEAR [type] => :: [args] => Array ( [0] => [1] => [2] => [3] => [4] => _doQuery: [Error message: Could not execute statement] [Last executed query: SELECT t.* , st.name, st.alias4url, st.code, st.inactive, st.html , SUBSTRING_INDEX(GROUP_CONCAT(si.id order by si.id desc), ',', 1) img_id , SUBSTRING_INDEX(GROUP_CONCAT(si.orig_filename order by si.id desc), ',', 1) img_orig_filename , (select sum(rating) from static_rating where static_rating.static_id=st.id) rating #, CONCAT(left(st.html, 100),'...') html_short , a.cel, users.online, users.onchat, users.onphone , st.alias4url FROM shop_news t left join static_content st on st.id=t.static_id left join static_img si on si.static_id=st.id left join users on users.username=t.username left join address a on users.address_id=a.id WHERE st.inactive in (0) and t.id<>116 group by st.id having 1 order by t.creation_datetime desc ] [Native code: 126] [Native message: Incorrect key file for table '/tmp/#sql_7ac_9.MYI'; try to repair it] [5] => MDB2_Error [6] => 1 ) ) [3] => Array ( [file] => /home/admin/web/logistock.ru/public_html/MDB2/Driver/mysql.php [line] => 811 [function] => raiseError [class] => MDB2_Driver_Common [object] => MDB2_Driver_mysql Object ( [string_quoting] => Array ( [start] => ' [end] => ' [escape] => \ [escape_pattern] => \ ) [identifier_quoting] => Array ( [start] => ` [end] => ` [escape] => ` ) [sql_comments] => Array ( [0] => Array ( [start] => -- [end] => [escape] => ) [1] => Array ( [start] => # [end] => [escape] => ) [2] => Array ( [start] => /* [end] => */ [escape] => ) ) [server_capabilities_checked:protected] => 1 [start_transaction:protected] => 1 [varchar_max_length] => 65532 [datatype] => [extended] => MDB2_Extended Object ( [db_index:protected] => 1 ) [function] => [manager] => [native] => [reverse] => [db_index] => 1 [dsn] => Array ( [phptype] => mysql [dbsyntax] => mysql [username] => admin_logistock [password] => xpdmdZJfAO [protocol] => [hostspec] => localhost [port] => [socket] => [database] => [mode] => ) [connected_dsn] => Array ( [phptype] => mysql [dbsyntax] => mysql [username] => admin_logistock [password] => xpdmdZJfAO [protocol] => [hostspec] => localhost [port] => [socket] => [database] => [mode] => ) [connection] => Resource id #1 [opened_persistent] => [database_name] => admin_logistock [connected_database_name] => admin_logistock [connected_server_info] => 5.5.49 [supported] => Array ( [sequences] => emulated [indexes] => 1 [affected_rows] => 1 [summary_functions] => 1 [order_by_text] => 1 [transactions] => 1 [savepoints] => 1 [current_id] => emulated [limit_queries] => 1 [LOBs] => 1 [replace] => 1 [sub_selects] => 1 [triggers] => 1 [auto_increment] => 1 [primary_key] => 1 [result_introspection] => 1 [prepared_statements] => 1 [identifier_quoting] => 1 [pattern_escaping] => 1 [new_link] => 1 ) [options] => Array ( [ssl] => [field_case] => 0 [disable_query] => [result_class] => MDB2_Result_%s [buffered_result_class] => MDB2_BufferedResult_%s [result_wrap_class] => [result_buffering] => 1 [fetch_class] => stdClass [persistent] => [debug] => 0 [debug_handler] => MDB2_defaultDebugOutput [debug_expanded_output] => [default_text_field_length] => 4096 [lob_buffer_length] => 8192 [log_line_break] => [idxname_format] => %s_idx [seqname_format] => %s_seq [savepoint_format] => MDB2_SAVEPOINT_%s [statement_format] => MDB2_STATEMENT_%1$s_%2$s [seqcol_name] => sequence [quote_identifier] => [use_transactions] => 1 [decimal_places] => 2 [portability] => 0 [modules] => Array ( [ex] => Extended [dt] => Datatype [mg] => Manager [rv] => Reverse [na] => Native [fc] => Function ) [emulate_prepared] => [datatype_map] => Array ( ) [datatype_map_callback] => Array ( ) [nativetype_map_callback] => Array ( ) [lob_allow_url_include] => [bindname_format] => (?:\d+)|(?:[a-zA-Z][a-zA-Z0-9_]*) [max_identifiers_length] => 64 [default_fk_action_onupdate] => RESTRICT [default_fk_action_ondelete] => RESTRICT [DBA_username] => [DBA_password] => [default_table_type] => ) [wildcards:protected] => Array ( [0] => % [1] => _ ) [as_keyword] => AS [warnings] => Array ( ) [debug_output] => [in_transaction] => [nested_transaction_counter] => [has_transaction_error:protected] => [offset] => 0 [limit] => 0 [phptype] => mysql [dbsyntax] => mysql [last_query] => SELECT t.* , st.name, st.alias4url, st.code, st.inactive, st.html , SUBSTRING_INDEX(GROUP_CONCAT(si.id order by si.id desc), ',', 1) img_id , SUBSTRING_INDEX(GROUP_CONCAT(si.orig_filename order by si.id desc), ',', 1) img_orig_filename , (select sum(rating) from static_rating where static_rating.static_id=st.id) rating #, CONCAT(left(st.html, 100),'...') html_short , a.cel, users.online, users.onchat, users.onphone , st.alias4url FROM shop_news t left join static_content st on st.id=t.static_id left join static_img si on si.static_id=st.id left join users on users.username=t.username left join address a on users.address_id=a.id WHERE st.inactive in (0) and t.id<>116 group by st.id having 1 order by t.creation_datetime desc [fetchmode] => 3 [modules:protected] => Array ( [Extended] => MDB2_Extended Object ( [db_index:protected] => 1 ) ) [destructor_registered:protected] => 1 [pear:protected] => PEAR Object ( [_debug] => [_default_error_mode] => [_default_error_options] => [_default_error_handler] => [_error_class] => PEAR_Error [_expected_errors] => Array ( ) ) ) [type] => -> [args] => Array ( [0] => [1] => [2] => [3] => Could not execute statement [4] => _doQuery ) ) [4] => Array ( [file] => /home/admin/web/logistock.ru/public_html/MDB2.php [line] => 2629 [function] => _doQuery [class] => MDB2_Driver_mysql [object] => MDB2_Driver_mysql Object ( [string_quoting] => Array ( [start] => ' [end] => ' [escape] => \ [escape_pattern] => \ ) [identifier_quoting] => Array ( [start] => ` [end] => ` [escape] => ` ) [sql_comments] => Array ( [0] => Array ( [start] => -- [end] => [escape] => ) [1] => Array ( [start] => # [end] => [escape] => ) [2] => Array ( [start] => /* [end] => */ [escape] => ) ) [server_capabilities_checked:protected] => 1 [start_transaction:protected] => 1 [varchar_max_length] => 65532 [datatype] => [extended] => MDB2_Extended Object ( [db_index:protected] => 1 ) [function] => [manager] => [native] => [reverse] => [db_index] => 1 [dsn] => Array ( [phptype] => mysql [dbsyntax] => mysql [username] => admin_logistock [password] => xpdmdZJfAO [protocol] => [hostspec] => localhost [port] => [socket] => [database] => [mode] => ) [connected_dsn] => Array ( [phptype] => mysql [dbsyntax] => mysql [username] => admin_logistock [password] => xpdmdZJfAO [protocol] => [hostspec] => localhost [port] => [socket] => [database] => [mode] => ) [connection] => Resource id #1 [opened_persistent] => [database_name] => admin_logistock [connected_database_name] => admin_logistock [connected_server_info] => 5.5.49 [supported] => Array ( [sequences] => emulated [indexes] => 1 [affected_rows] => 1 [summary_functions] => 1 [order_by_text] => 1 [transactions] => 1 [savepoints] => 1 [current_id] => emulated [limit_queries] => 1 [LOBs] => 1 [replace] => 1 [sub_selects] => 1 [triggers] => 1 [auto_increment] => 1 [primary_key] => 1 [result_introspection] => 1 [prepared_statements] => 1 [identifier_quoting] => 1 [pattern_escaping] => 1 [new_link] => 1 ) [options] => Array ( [ssl] => [field_case] => 0 [disable_query] => [result_class] => MDB2_Result_%s [buffered_result_class] => MDB2_BufferedResult_%s [result_wrap_class] => [result_buffering] => 1 [fetch_class] => stdClass [persistent] => [debug] => 0 [debug_handler] => MDB2_defaultDebugOutput [debug_expanded_output] => [default_text_field_length] => 4096 [lob_buffer_length] => 8192 [log_line_break] => [idxname_format] => %s_idx [seqname_format] => %s_seq [savepoint_format] => MDB2_SAVEPOINT_%s [statement_format] => MDB2_STATEMENT_%1$s_%2$s [seqcol_name] => sequence [quote_identifier] => [use_transactions] => 1 [decimal_places] => 2 [portability] => 0 [modules] => Array ( [ex] => Extended [dt] => Datatype [mg] => Manager [rv] => Reverse [na] => Native [fc] => Function ) [emulate_prepared] => [datatype_map] => Array ( ) [datatype_map_callback] => Array ( ) [nativetype_map_callback] => Array ( ) [lob_allow_url_include] => [bindname_format] => (?:\d+)|(?:[a-zA-Z][a-zA-Z0-9_]*) [max_identifiers_length] => 64 [default_fk_action_onupdate] => RESTRICT [default_fk_action_ondelete] => RESTRICT [DBA_username] => [DBA_password] => [default_table_type] => ) [wildcards:protected] => Array ( [0] => % [1] => _ ) [as_keyword] => AS [warnings] => Array ( ) [debug_output] => [in_transaction] => [nested_transaction_counter] => [has_transaction_error:protected] => [offset] => 0 [limit] => 0 [phptype] => mysql [dbsyntax] => mysql [last_query] => SELECT t.* , st.name, st.alias4url, st.code, st.inactive, st.html , SUBSTRING_INDEX(GROUP_CONCAT(si.id order by si.id desc), ',', 1) img_id , SUBSTRING_INDEX(GROUP_CONCAT(si.orig_filename order by si.id desc), ',', 1) img_orig_filename , (select sum(rating) from static_rating where static_rating.static_id=st.id) rating #, CONCAT(left(st.html, 100),'...') html_short , a.cel, users.online, users.onchat, users.onphone , st.alias4url FROM shop_news t left join static_content st on st.id=t.static_id left join static_img si on si.static_id=st.id left join users on users.username=t.username left join address a on users.address_id=a.id WHERE st.inactive in (0) and t.id<>116 group by st.id having 1 order by t.creation_datetime desc [fetchmode] => 3 [modules:protected] => Array ( [Extended] => MDB2_Extended Object ( [db_index:protected] => 1 ) ) [destructor_registered:protected] => 1 [pear:protected] => PEAR Object ( [_debug] => [_default_error_mode] => [_default_error_options] => [_default_error_handler] => [_error_class] => PEAR_Error [_expected_errors] => Array ( ) ) ) [type] => -> [args] => Array ( [0] => SELECT t.* , st.name, st.alias4url, st.code, st.inactive, st.html , SUBSTRING_INDEX(GROUP_CONCAT(si.id order by si.id desc), ',', 1) img_id , SUBSTRING_INDEX(GROUP_CONCAT(si.orig_filename order by si.id desc), ',', 1) img_orig_filename , (select sum(rating) from static_rating where static_rating.static_id=st.id) rating #, CONCAT(left(st.html, 100),'...') html_short , a.cel, users.online, users.onchat, users.onphone , st.alias4url FROM shop_news t left join static_content st on st.id=t.static_id left join static_img si on si.static_id=st.id left join users on users.username=t.username left join address a on users.address_id=a.id WHERE st.inactive in (0) and t.id<>116 group by st.id having 1 order by t.creation_datetime desc [1] => [2] => Resource id #1 [3] => admin_logistock ) ) [5] => Array ( [file] => /home/admin/web/logistock.ru/public_html/MDB2.php [line] => 3442 [function] => query [class] => MDB2_Driver_Common [object] => MDB2_Driver_mysql Object ( [string_quoting] => Array ( [start] => ' [end] => ' [escape] => \ [escape_pattern] => \ ) [identifier_quoting] => Array ( [start] => ` [end] => ` [escape] => ` ) [sql_comments] => Array ( [0] => Array ( [start] => -- [end] => [escape] => ) [1] => Array ( [start] => # [end] => [escape] => ) [2] => Array ( [start] => /* [end] => */ [escape] => ) ) [server_capabilities_checked:protected] => 1 [start_transaction:protected] => 1 [varchar_max_length] => 65532 [datatype] => [extended] => MDB2_Extended Object ( [db_index:protected] => 1 ) [function] => [manager] => [native] => [reverse] => [db_index] => 1 [dsn] => Array ( [phptype] => mysql [dbsyntax] => mysql [username] => admin_logistock [password] => xpdmdZJfAO [protocol] => [hostspec] => localhost [port] => [socket] => [database] => [mode] => ) [connected_dsn] => Array ( [phptype] => mysql [dbsyntax] => mysql [username] => admin_logistock [password] => xpdmdZJfAO [protocol] => [hostspec] => localhost [port] => [socket] => [database] => [mode] => ) [connection] => Resource id #1 [opened_persistent] => [database_name] => admin_logistock [connected_database_name] => admin_logistock [connected_server_info] => 5.5.49 [supported] => Array ( [sequences] => emulated [indexes] => 1 [affected_rows] => 1 [summary_functions] => 1 [order_by_text] => 1 [transactions] => 1 [savepoints] => 1 [current_id] => emulated [limit_queries] => 1 [LOBs] => 1 [replace] => 1 [sub_selects] => 1 [triggers] => 1 [auto_increment] => 1 [primary_key] => 1 [result_introspection] => 1 [prepared_statements] => 1 [identifier_quoting] => 1 [pattern_escaping] => 1 [new_link] => 1 ) [options] => Array ( [ssl] => [field_case] => 0 [disable_query] => [result_class] => MDB2_Result_%s [buffered_result_class] => MDB2_BufferedResult_%s [result_wrap_class] => [result_buffering] => 1 [fetch_class] => stdClass [persistent] => [debug] => 0 [debug_handler] => MDB2_defaultDebugOutput [debug_expanded_output] => [default_text_field_length] => 4096 [lob_buffer_length] => 8192 [log_line_break] => [idxname_format] => %s_idx [seqname_format] => %s_seq [savepoint_format] => MDB2_SAVEPOINT_%s [statement_format] => MDB2_STATEMENT_%1$s_%2$s [seqcol_name] => sequence [quote_identifier] => [use_transactions] => 1 [decimal_places] => 2 [portability] => 0 [modules] => Array ( [ex] => Extended [dt] => Datatype [mg] => Manager [rv] => Reverse [na] => Native [fc] => Function ) [emulate_prepared] => [datatype_map] => Array ( ) [datatype_map_callback] => Array ( ) [nativetype_map_callback] => Array ( ) [lob_allow_url_include] => [bindname_format] => (?:\d+)|(?:[a-zA-Z][a-zA-Z0-9_]*) [max_identifiers_length] => 64 [default_fk_action_onupdate] => RESTRICT [default_fk_action_ondelete] => RESTRICT [DBA_username] => [DBA_password] => [default_table_type] => ) [wildcards:protected] => Array ( [0] => % [1] => _ ) [as_keyword] => AS [warnings] => Array ( ) [debug_output] => [in_transaction] => [nested_transaction_counter] => [has_transaction_error:protected] => [offset] => 0 [limit] => 0 [phptype] => mysql [dbsyntax] => mysql [last_query] => SELECT t.* , st.name, st.alias4url, st.code, st.inactive, st.html , SUBSTRING_INDEX(GROUP_CONCAT(si.id order by si.id desc), ',', 1) img_id , SUBSTRING_INDEX(GROUP_CONCAT(si.orig_filename order by si.id desc), ',', 1) img_orig_filename , (select sum(rating) from static_rating where static_rating.static_id=st.id) rating #, CONCAT(left(st.html, 100),'...') html_short , a.cel, users.online, users.onchat, users.onphone , st.alias4url FROM shop_news t left join static_content st on st.id=t.static_id left join static_img si on si.static_id=st.id left join users on users.username=t.username left join address a on users.address_id=a.id WHERE st.inactive in (0) and t.id<>116 group by st.id having 1 order by t.creation_datetime desc [fetchmode] => 3 [modules:protected] => Array ( [Extended] => MDB2_Extended Object ( [db_index:protected] => 1 ) ) [destructor_registered:protected] => 1 [pear:protected] => PEAR Object ( [_debug] => [_default_error_mode] => [_default_error_options] => [_default_error_handler] => [_error_class] => PEAR_Error [_expected_errors] => Array ( ) ) ) [type] => -> [args] => Array ( [0] => SELECT t.* , st.name, st.alias4url, st.code, st.inactive, st.html , SUBSTRING_INDEX(GROUP_CONCAT(si.id order by si.id desc), ',', 1) img_id , SUBSTRING_INDEX(GROUP_CONCAT(si.orig_filename order by si.id desc), ',', 1) img_orig_filename , (select sum(rating) from static_rating where static_rating.static_id=st.id) rating #, CONCAT(left(st.html, 100),'...') html_short , a.cel, users.online, users.onchat, users.onphone , st.alias4url FROM shop_news t left join static_content st on st.id=t.static_id left join static_img si on si.static_id=st.id left join users on users.username=t.username left join address a on users.address_id=a.id WHERE st.inactive in (0) and t.id<>116 group by st.id having 1 order by t.creation_datetime desc [1] => ) ) [6] => Array ( [file] => /home/admin/web/logistock.ru/public_html/MDB2/Extended.php [line] => 504 [function] => queryAll [class] => MDB2_Driver_Common [object] => MDB2_Driver_mysql Object ( [string_quoting] => Array ( [start] => ' [end] => ' [escape] => \ [escape_pattern] => \ ) [identifier_quoting] => Array ( [start] => ` [end] => ` [escape] => ` ) [sql_comments] => Array ( [0] => Array ( [start] => -- [end] => [escape] => ) [1] => Array ( [start] => # [end] => [escape] => ) [2] => Array ( [start] => /* [end] => */ [escape] => ) ) [server_capabilities_checked:protected] => 1 [start_transaction:protected] => 1 [varchar_max_length] => 65532 [datatype] => [extended] => MDB2_Extended Object ( [db_index:protected] => 1 ) [function] => [manager] => [native] => [reverse] => [db_index] => 1 [dsn] => Array ( [phptype] => mysql [dbsyntax] => mysql [username] => admin_logistock [password] => xpdmdZJfAO [protocol] => [hostspec] => localhost [port] => [socket] => [database] => [mode] => ) [connected_dsn] => Array ( [phptype] => mysql [dbsyntax] => mysql [username] => admin_logistock [password] => xpdmdZJfAO [protocol] => [hostspec] => localhost [port] => [socket] => [database] => [mode] => ) [connection] => Resource id #1 [opened_persistent] => [database_name] => admin_logistock [connected_database_name] => admin_logistock [connected_server_info] => 5.5.49 [supported] => Array ( [sequences] => emulated [indexes] => 1 [affected_rows] => 1 [summary_functions] => 1 [order_by_text] => 1 [transactions] => 1 [savepoints] => 1 [current_id] => emulated [limit_queries] => 1 [LOBs] => 1 [replace] => 1 [sub_selects] => 1 [triggers] => 1 [auto_increment] => 1 [primary_key] => 1 [result_introspection] => 1 [prepared_statements] => 1 [identifier_quoting] => 1 [pattern_escaping] => 1 [new_link] => 1 ) [options] => Array ( [ssl] => [field_case] => 0 [disable_query] => [result_class] => MDB2_Result_%s [buffered_result_class] => MDB2_BufferedResult_%s [result_wrap_class] => [result_buffering] => 1 [fetch_class] => stdClass [persistent] => [debug] => 0 [debug_handler] => MDB2_defaultDebugOutput [debug_expanded_output] => [default_text_field_length] => 4096 [lob_buffer_length] => 8192 [log_line_break] => [idxname_format] => %s_idx [seqname_format] => %s_seq [savepoint_format] => MDB2_SAVEPOINT_%s [statement_format] => MDB2_STATEMENT_%1$s_%2$s [seqcol_name] => sequence [quote_identifier] => [use_transactions] => 1 [decimal_places] => 2 [portability] => 0 [modules] => Array ( [ex] => Extended [dt] => Datatype [mg] => Manager [rv] => Reverse [na] => Native [fc] => Function ) [emulate_prepared] => [datatype_map] => Array ( ) [datatype_map_callback] => Array ( ) [nativetype_map_callback] => Array ( ) [lob_allow_url_include] => [bindname_format] => (?:\d+)|(?:[a-zA-Z][a-zA-Z0-9_]*) [max_identifiers_length] => 64 [default_fk_action_onupdate] => RESTRICT [default_fk_action_ondelete] => RESTRICT [DBA_username] => [DBA_password] => [default_table_type] => ) [wildcards:protected] => Array ( [0] => % [1] => _ ) [as_keyword] => AS [warnings] => Array ( ) [debug_output] => [in_transaction] => [nested_transaction_counter] => [has_transaction_error:protected] => [offset] => 0 [limit] => 0 [phptype] => mysql [dbsyntax] => mysql [last_query] => SELECT t.* , st.name, st.alias4url, st.code, st.inactive, st.html , SUBSTRING_INDEX(GROUP_CONCAT(si.id order by si.id desc), ',', 1) img_id , SUBSTRING_INDEX(GROUP_CONCAT(si.orig_filename order by si.id desc), ',', 1) img_orig_filename , (select sum(rating) from static_rating where static_rating.static_id=st.id) rating #, CONCAT(left(st.html, 100),'...') html_short , a.cel, users.online, users.onchat, users.onphone , st.alias4url FROM shop_news t left join static_content st on st.id=t.static_id left join static_img si on si.static_id=st.id left join users on users.username=t.username left join address a on users.address_id=a.id WHERE st.inactive in (0) and t.id<>116 group by st.id having 1 order by t.creation_datetime desc [fetchmode] => 3 [modules:protected] => Array ( [Extended] => MDB2_Extended Object ( [db_index:protected] => 1 ) ) [destructor_registered:protected] => 1 [pear:protected] => PEAR Object ( [_debug] => [_default_error_mode] => [_default_error_options] => [_default_error_handler] => [_error_class] => PEAR_Error [_expected_errors] => Array ( ) ) ) [type] => -> [args] => Array ( [0] => SELECT t.* , st.name, st.alias4url, st.code, st.inactive, st.html , SUBSTRING_INDEX(GROUP_CONCAT(si.id order by si.id desc), ',', 1) img_id , SUBSTRING_INDEX(GROUP_CONCAT(si.orig_filename order by si.id desc), ',', 1) img_orig_filename , (select sum(rating) from static_rating where static_rating.static_id=st.id) rating #, CONCAT(left(st.html, 100),'...') html_short , a.cel, users.online, users.onchat, users.onphone , st.alias4url FROM shop_news t left join static_content st on st.id=t.static_id left join static_img si on si.static_id=st.id left join users on users.username=t.username left join address a on users.address_id=a.id WHERE st.inactive in (0) and t.id<>116 group by st.id having 1 order by t.creation_datetime desc [1] => [2] => 0 [3] => [4] => [5] => ) ) [7] => Array ( [function] => getAll [class] => MDB2_Extended [object] => MDB2_Extended Object ( [db_index:protected] => 1 ) [type] => -> [args] => Array ( [0] => SELECT t.* , st.name, st.alias4url, st.code, st.inactive, st.html , SUBSTRING_INDEX(GROUP_CONCAT(si.id order by si.id desc), ',', 1) img_id , SUBSTRING_INDEX(GROUP_CONCAT(si.orig_filename order by si.id desc), ',', 1) img_orig_filename , (select sum(rating) from static_rating where static_rating.static_id=st.id) rating #, CONCAT(left(st.html, 100),'...') html_short , a.cel, users.online, users.onchat, users.onphone , st.alias4url FROM shop_news t left join static_content st on st.id=t.static_id left join static_img si on si.static_id=st.id left join users on users.username=t.username left join address a on users.address_id=a.id WHERE st.inactive in (0) and t.id<>116 group by st.id having 1 order by t.creation_datetime desc ) ) [8] => Array ( [file] => /home/admin/web/logistock.ru/public_html/MDB2.php [line] => 1994 [function] => call_user_func_array [args] => Array ( [0] => Array ( [0] => MDB2_Extended Object ( [db_index:protected] => 1 ) [1] => getAll ) [1] => Array ( [0] => SELECT t.* , st.name, st.alias4url, st.code, st.inactive, st.html , SUBSTRING_INDEX(GROUP_CONCAT(si.id order by si.id desc), ',', 1) img_id , SUBSTRING_INDEX(GROUP_CONCAT(si.orig_filename order by si.id desc), ',', 1) img_orig_filename , (select sum(rating) from static_rating where static_rating.static_id=st.id) rating #, CONCAT(left(st.html, 100),'...') html_short , a.cel, users.online, users.onchat, users.onphone , st.alias4url FROM shop_news t left join static_content st on st.id=t.static_id left join static_img si on si.static_id=st.id left join users on users.username=t.username left join address a on users.address_id=a.id WHERE st.inactive in (0) and t.id<>116 group by st.id having 1 order by t.creation_datetime desc ) ) ) [9] => Array ( [file] => /home/admin/web/logistock.ru/public_html/lib/Content.php [line] => 209 [function] => __call [class] => MDB2_Driver_Common [object] => MDB2_Driver_mysql Object ( [string_quoting] => Array ( [start] => ' [end] => ' [escape] => \ [escape_pattern] => \ ) [identifier_quoting] => Array ( [start] => ` [end] => ` [escape] => ` ) [sql_comments] => Array ( [0] => Array ( [start] => -- [end] => [escape] => ) [1] => Array ( [start] => # [end] => [escape] => ) [2] => Array ( [start] => /* [end] => */ [escape] => ) ) [server_capabilities_checked:protected] => 1 [start_transaction:protected] => 1 [varchar_max_length] => 65532 [datatype] => [extended] => MDB2_Extended Object ( [db_index:protected] => 1 ) [function] => [manager] => [native] => [reverse] => [db_index] => 1 [dsn] => Array ( [phptype] => mysql [dbsyntax] => mysql [username] => admin_logistock [password] => xpdmdZJfAO [protocol] => [hostspec] => localhost [port] => [socket] => [database] => [mode] => ) [connected_dsn] => Array ( [phptype] => mysql [dbsyntax] => mysql [username] => admin_logistock [password] => xpdmdZJfAO [protocol] => [hostspec] => localhost [port] => [socket] => [database] => [mode] => ) [connection] => Resource id #1 [opened_persistent] => [database_name] => admin_logistock [connected_database_name] => admin_logistock [connected_server_info] => 5.5.49 [supported] => Array ( [sequences] => emulated [indexes] => 1 [affected_rows] => 1 [summary_functions] => 1 [order_by_text] => 1 [transactions] => 1 [savepoints] => 1 [current_id] => emulated [limit_queries] => 1 [LOBs] => 1 [replace] => 1 [sub_selects] => 1 [triggers] => 1 [auto_increment] => 1 [primary_key] => 1 [result_introspection] => 1 [prepared_statements] => 1 [identifier_quoting] => 1 [pattern_escaping] => 1 [new_link] => 1 ) [options] => Array ( [ssl] => [field_case] => 0 [disable_query] => [result_class] => MDB2_Result_%s [buffered_result_class] => MDB2_BufferedResult_%s [result_wrap_class] => [result_buffering] => 1 [fetch_class] => stdClass [persistent] => [debug] => 0 [debug_handler] => MDB2_defaultDebugOutput [debug_expanded_output] => [default_text_field_length] => 4096 [lob_buffer_length] => 8192 [log_line_break] => [idxname_format] => %s_idx [seqname_format] => %s_seq [savepoint_format] => MDB2_SAVEPOINT_%s [statement_format] => MDB2_STATEMENT_%1$s_%2$s [seqcol_name] => sequence [quote_identifier] => [use_transactions] => 1 [decimal_places] => 2 [portability] => 0 [modules] => Array ( [ex] => Extended [dt] => Datatype [mg] => Manager [rv] => Reverse [na] => Native [fc] => Function ) [emulate_prepared] => [datatype_map] => Array ( ) [datatype_map_callback] => Array ( ) [nativetype_map_callback] => Array ( ) [lob_allow_url_include] => [bindname_format] => (?:\d+)|(?:[a-zA-Z][a-zA-Z0-9_]*) [max_identifiers_length] => 64 [default_fk_action_onupdate] => RESTRICT [default_fk_action_ondelete] => RESTRICT [DBA_username] => [DBA_password] => [default_table_type] => ) [wildcards:protected] => Array ( [0] => % [1] => _ ) [as_keyword] => AS [warnings] => Array ( ) [debug_output] => [in_transaction] => [nested_transaction_counter] => [has_transaction_error:protected] => [offset] => 0 [limit] => 0 [phptype] => mysql [dbsyntax] => mysql [last_query] => SELECT t.* , st.name, st.alias4url, st.code, st.inactive, st.html , SUBSTRING_INDEX(GROUP_CONCAT(si.id order by si.id desc), ',', 1) img_id , SUBSTRING_INDEX(GROUP_CONCAT(si.orig_filename order by si.id desc), ',', 1) img_orig_filename , (select sum(rating) from static_rating where static_rating.static_id=st.id) rating #, CONCAT(left(st.html, 100),'...') html_short , a.cel, users.online, users.onchat, users.onphone , st.alias4url FROM shop_news t left join static_content st on st.id=t.static_id left join static_img si on si.static_id=st.id left join users on users.username=t.username left join address a on users.address_id=a.id WHERE st.inactive in (0) and t.id<>116 group by st.id having 1 order by t.creation_datetime desc [fetchmode] => 3 [modules:protected] => Array ( [Extended] => MDB2_Extended Object ( [db_index:protected] => 1 ) ) [destructor_registered:protected] => 1 [pear:protected] => PEAR Object ( [_debug] => [_default_error_mode] => [_default_error_options] => [_default_error_handler] => [_error_class] => PEAR_Error [_expected_errors] => Array ( ) ) ) [type] => -> [args] => Array ( [0] => getAll [1] => Array ( [0] => SELECT t.* , st.name, st.alias4url, st.code, st.inactive, st.html , SUBSTRING_INDEX(GROUP_CONCAT(si.id order by si.id desc), ',', 1) img_id , SUBSTRING_INDEX(GROUP_CONCAT(si.orig_filename order by si.id desc), ',', 1) img_orig_filename , (select sum(rating) from static_rating where static_rating.static_id=st.id) rating #, CONCAT(left(st.html, 100),'...') html_short , a.cel, users.online, users.onchat, users.onphone , st.alias4url FROM shop_news t left join static_content st on st.id=t.static_id left join static_img si on si.static_id=st.id left join users on users.username=t.username left join address a on users.address_id=a.id WHERE st.inactive in (0) and t.id<>116 group by st.id having 1 order by t.creation_datetime desc ) ) ) [10] => Array ( [file] => /home/admin/web/logistock.ru/public_html/lib/Content.php [line] => 209 [function] => getAll [class] => MDB2_Driver_mysql [object] => MDB2_Driver_mysql Object ( [string_quoting] => Array ( [start] => ' [end] => ' [escape] => \ [escape_pattern] => \ ) [identifier_quoting] => Array ( [start] => ` [end] => ` [escape] => ` ) [sql_comments] => Array ( [0] => Array ( [start] => -- [end] => [escape] => ) [1] => Array ( [start] => # [end] => [escape] => ) [2] => Array ( [start] => /* [end] => */ [escape] => ) ) [server_capabilities_checked:protected] => 1 [start_transaction:protected] => 1 [varchar_max_length] => 65532 [datatype] => [extended] => MDB2_Extended Object ( [db_index:protected] => 1 ) [function] => [manager] => [native] => [reverse] => [db_index] => 1 [dsn] => Array ( [phptype] => mysql [dbsyntax] => mysql [username] => admin_logistock [password] => xpdmdZJfAO [protocol] => [hostspec] => localhost [port] => [socket] => [database] => [mode] => ) [connected_dsn] => Array ( [phptype] => mysql [dbsyntax] => mysql [username] => admin_logistock [password] => xpdmdZJfAO [protocol] => [hostspec] => localhost [port] => [socket] => [database] => [mode] => ) [connection] => Resource id #1 [opened_persistent] => [database_name] => admin_logistock [connected_database_name] => admin_logistock [connected_server_info] => 5.5.49 [supported] => Array ( [sequences] => emulated [indexes] => 1 [affected_rows] => 1 [summary_functions] => 1 [order_by_text] => 1 [transactions] => 1 [savepoints] => 1 [current_id] => emulated [limit_queries] => 1 [LOBs] => 1 [replace] => 1 [sub_selects] => 1 [triggers] => 1 [auto_increment] => 1 [primary_key] => 1 [result_introspection] => 1 [prepared_statements] => 1 [identifier_quoting] => 1 [pattern_escaping] => 1 [new_link] => 1 ) [options] => Array ( [ssl] => [field_case] => 0 [disable_query] => [result_class] => MDB2_Result_%s [buffered_result_class] => MDB2_BufferedResult_%s [result_wrap_class] => [result_buffering] => 1 [fetch_class] => stdClass [persistent] => [debug] => 0 [debug_handler] => MDB2_defaultDebugOutput [debug_expanded_output] => [default_text_field_length] => 4096 [lob_buffer_length] => 8192 [log_line_break] => [idxname_format] => %s_idx [seqname_format] => %s_seq [savepoint_format] => MDB2_SAVEPOINT_%s [statement_format] => MDB2_STATEMENT_%1$s_%2$s [seqcol_name] => sequence [quote_identifier] => [use_transactions] => 1 [decimal_places] => 2 [portability] => 0 [modules] => Array ( [ex] => Extended [dt] => Datatype [mg] => Manager [rv] => Reverse [na] => Native [fc] => Function ) [emulate_prepared] => [datatype_map] => Array ( ) [datatype_map_callback] => Array ( ) [nativetype_map_callback] => Array ( ) [lob_allow_url_include] => [bindname_format] => (?:\d+)|(?:[a-zA-Z][a-zA-Z0-9_]*) [max_identifiers_length] => 64 [default_fk_action_onupdate] => RESTRICT [default_fk_action_ondelete] => RESTRICT [DBA_username] => [DBA_password] => [default_table_type] => ) [wildcards:protected] => Array ( [0] => % [1] => _ ) [as_keyword] => AS [warnings] => Array ( ) [debug_output] => [in_transaction] => [nested_transaction_counter] => [has_transaction_error:protected] => [offset] => 0 [limit] => 0 [phptype] => mysql [dbsyntax] => mysql [last_query] => SELECT t.* , st.name, st.alias4url, st.code, st.inactive, st.html , SUBSTRING_INDEX(GROUP_CONCAT(si.id order by si.id desc), ',', 1) img_id , SUBSTRING_INDEX(GROUP_CONCAT(si.orig_filename order by si.id desc), ',', 1) img_orig_filename , (select sum(rating) from static_rating where static_rating.static_id=st.id) rating #, CONCAT(left(st.html, 100),'...') html_short , a.cel, users.online, users.onchat, users.onphone , st.alias4url FROM shop_news t left join static_content st on st.id=t.static_id left join static_img si on si.static_id=st.id left join users on users.username=t.username left join address a on users.address_id=a.id WHERE st.inactive in (0) and t.id<>116 group by st.id having 1 order by t.creation_datetime desc [fetchmode] => 3 [modules:protected] => Array ( [Extended] => MDB2_Extended Object ( [db_index:protected] => 1 ) ) [destructor_registered:protected] => 1 [pear:protected] => PEAR Object ( [_debug] => [_default_error_mode] => [_default_error_options] => [_default_error_handler] => [_error_class] => PEAR_Error [_expected_errors] => Array ( ) ) ) [type] => -> [args] => Array ( [0] => SELECT t.* , st.name, st.alias4url, st.code, st.inactive, st.html , SUBSTRING_INDEX(GROUP_CONCAT(si.id order by si.id desc), ',', 1) img_id , SUBSTRING_INDEX(GROUP_CONCAT(si.orig_filename order by si.id desc), ',', 1) img_orig_filename , (select sum(rating) from static_rating where static_rating.static_id=st.id) rating #, CONCAT(left(st.html, 100),'...') html_short , a.cel, users.online, users.onchat, users.onphone , st.alias4url FROM shop_news t left join static_content st on st.id=t.static_id left join static_img si on si.static_id=st.id left join users on users.username=t.username left join address a on users.address_id=a.id WHERE st.inactive in (0) and t.id<>116 group by st.id having 1 order by t.creation_datetime desc ) ) [11] => Array ( [file] => /home/admin/web/logistock.ru/public_html/index.php [line] => 1057 [function] => listAll [class] => Content [type] => :: [args] => Array ( [0] => MDB2_Driver_mysql Object ( [string_quoting] => Array ( [start] => ' [end] => ' [escape] => \ [escape_pattern] => \ ) [identifier_quoting] => Array ( [start] => ` [end] => ` [escape] => ` ) [sql_comments] => Array ( [0] => Array ( [start] => -- [end] => [escape] => ) [1] => Array ( [start] => # [end] => [escape] => ) [2] => Array ( [start] => /* [end] => */ [escape] => ) ) [server_capabilities_checked:protected] => 1 [start_transaction:protected] => 1 [varchar_max_length] => 65532 [datatype] => [extended] => MDB2_Extended Object ( [db_index:protected] => 1 ) [function] => [manager] => [native] => [reverse] => [db_index] => 1 [dsn] => Array ( [phptype] => mysql [dbsyntax] => mysql [username] => admin_logistock [password] => xpdmdZJfAO [protocol] => [hostspec] => localhost [port] => [socket] => [database] => [mode] => ) [connected_dsn] => Array ( [phptype] => mysql [dbsyntax] => mysql [username] => admin_logistock [password] => xpdmdZJfAO [protocol] => [hostspec] => localhost [port] => [socket] => [database] => [mode] => ) [connection] => Resource id #1 [opened_persistent] => [database_name] => admin_logistock [connected_database_name] => admin_logistock [connected_server_info] => 5.5.49 [supported] => Array ( [sequences] => emulated [indexes] => 1 [affected_rows] => 1 [summary_functions] => 1 [order_by_text] => 1 [transactions] => 1 [savepoints] => 1 [current_id] => emulated [limit_queries] => 1 [LOBs] => 1 [replace] => 1 [sub_selects] => 1 [triggers] => 1 [auto_increment] => 1 [primary_key] => 1 [result_introspection] => 1 [prepared_statements] => 1 [identifier_quoting] => 1 [pattern_escaping] => 1 [new_link] => 1 ) [options] => Array ( [ssl] => [field_case] => 0 [disable_query] => [result_class] => MDB2_Result_%s [buffered_result_class] => MDB2_BufferedResult_%s [result_wrap_class] => [result_buffering] => 1 [fetch_class] => stdClass [persistent] => [debug] => 0 [debug_handler] => MDB2_defaultDebugOutput [debug_expanded_output] => [default_text_field_length] => 4096 [lob_buffer_length] => 8192 [log_line_break] => [idxname_format] => %s_idx [seqname_format] => %s_seq [savepoint_format] => MDB2_SAVEPOINT_%s [statement_format] => MDB2_STATEMENT_%1$s_%2$s [seqcol_name] => sequence [quote_identifier] => [use_transactions] => 1 [decimal_places] => 2 [portability] => 0 [modules] => Array ( [ex] => Extended [dt] => Datatype [mg] => Manager [rv] => Reverse [na] => Native [fc] => Function ) [emulate_prepared] => [datatype_map] => Array ( ) [datatype_map_callback] => Array ( ) [nativetype_map_callback] => Array ( ) [lob_allow_url_include] => [bindname_format] => (?:\d+)|(?:[a-zA-Z][a-zA-Z0-9_]*) [max_identifiers_length] => 64 [default_fk_action_onupdate] => RESTRICT [default_fk_action_ondelete] => RESTRICT [DBA_username] => [DBA_password] => [default_table_type] => ) [wildcards:protected] => Array ( [0] => % [1] => _ ) [as_keyword] => AS [warnings] => Array ( ) [debug_output] => [in_transaction] => [nested_transaction_counter] => [has_transaction_error:protected] => [offset] => 0 [limit] => 0 [phptype] => mysql [dbsyntax] => mysql [last_query] => SELECT t.* , st.name, st.alias4url, st.code, st.inactive, st.html , SUBSTRING_INDEX(GROUP_CONCAT(si.id order by si.id desc), ',', 1) img_id , SUBSTRING_INDEX(GROUP_CONCAT(si.orig_filename order by si.id desc), ',', 1) img_orig_filename , (select sum(rating) from static_rating where static_rating.static_id=st.id) rating #, CONCAT(left(st.html, 100),'...') html_short , a.cel, users.online, users.onchat, users.onphone , st.alias4url FROM shop_news t left join static_content st on st.id=t.static_id left join static_img si on si.static_id=st.id left join users on users.username=t.username left join address a on users.address_id=a.id WHERE st.inactive in (0) and t.id<>116 group by st.id having 1 order by t.creation_datetime desc [fetchmode] => 3 [modules:protected] => Array ( [Extended] => MDB2_Extended Object ( [db_index:protected] => 1 ) ) [destructor_registered:protected] => 1 [pear:protected] => PEAR Object ( [_debug] => [_default_error_mode] => [_default_error_options] => [_default_error_handler] => [_error_class] => PEAR_Error [_expected_errors] => Array ( ) ) ) [1] => shop_news [2] => 0 [3] => and t.id<>116 [4] => left join users on users.username=t.username left join address a on users.address_id=a.id [5] => #, CONCAT(left(st.html, 100),'...') html_short , a.cel, users.online, users.onchat, users.onphone , st.alias4url [6] => [7] => t.creation_datetime desc [8] => limit 0, 12 ) ) ) [callback] => )
Fatal error: Cannot use object of type MDB2_Error as array in /home/admin/web/logistock.ru/public_html/index.php on line 1060