clarin-pl / inforex Goto Github PK
View Code? Open in Web Editor NEWInforex is a web system for text corpora construction.
License: Other
Inforex is a web system for text corpora construction.
License: Other
The error is as follows
_doQuery: [Error message: Could not execute statement]
[Last executed query: INSERT INTO annotation_sets (name, description, public, user_id) VALUES ("jednostki_wew", "Jednostki anotowane dla odesłań wewnętrznych w ustawach, takie jak np. "art. 1", "pkt 2", etc.", "0", "2");]
[Native code: 1064]
[Native message: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'art. 1", "pkt 2", etc.", "0", "2")' at line 1]
I'm afraid drop table users
is also "supported" :/
When the pop up for creating new subcorpus is opened, one would expect "enter" to create the subcorpus. But the key moves the user to a different sub-page and the subcorpus is not created...
Changing the behavior would be much appreciated.
It would be very helpful, if the table allowed for displaying the flag assigned to the documents.
At present, I have to guess what is the document's flag.
Trying to change user permissions the following error occurrs:
MDB2 Error: already exists
_doQuery: [Error message: Could not execute statement]
[Last executed query: EXECUTE MDB2_STATEMENT_mysql_ff9bfab3ca6bad8e3edfd218862fd28d USING @0, @1, @2, @3, @4]
[Native code: 1062]
[Native message: Duplicate entry 'apohllo' for key 'login']
: DatabaseException Object
(
[details] => MDB2_Error Object
(
[error_message_prefix] =>
[mode] => 1
[level] => 1024
[code] => -5
[message] => MDB2 Error: already exists
[userinfo] => _doQuery: [Error message: Could not execute statement]
[Last executed query: EXECUTE MDB2_STATEMENT_mysql_ff9bfab3ca6bad8e3edfd218862fd28d USING @0, @1, @2, @3, @4]
[Native code: 1062]
[Native message: Duplicate entry 'apohllo' for key 'login']
[backtrace] => Array
(
[0] => Array
(
[file] => /home/inforex/engine/external/pear/PEAR.php
[line] => 946
[function] => __construct
[class] => PEAR_Error
[type] => ->
[args] => Array
(
[0] => MDB2 Error: already exists
[1] => -5
[2] => 1
[3] => 1024
[4] => _doQuery: [Error message: Could not execute statement]
[Last executed query: EXECUTE MDB2_STATEMENT_mysql_ff9bfab3ca6bad8e3edfd218862fd28d USING @0, @1, @2, @3, @4]
[Native code: 1062]
[Native message: Duplicate entry 'apohllo' for key 'login']
)
)
[1] => Array
(
[file] => /home/inforex/engine/external/pear/MDB2.php
[line] => 979
[function] => PEAR_Error
[class] => PEAR_Error
[object] => MDB2_Error Object
*RECURSION*
[type] => ->
[args] => Array
(
[0] => MDB2 Error: already exists
[1] => -5
[2] => 1
[3] => 1024
[4] => _doQuery: [Error message: Could not execute statement]
[Last executed query: EXECUTE MDB2_STATEMENT_mysql_ff9bfab3ca6bad8e3edfd218862fd28d USING @0, @1, @2, @3, @4]
[Native code: 1062]
[Native message: Duplicate entry 'apohllo' for key 'login']
)
)
[2] => Array
(
[file] => /home/inforex/engine/external/pear/PEAR.php
[line] => 575
[function] => __construct
[class] => MDB2_Error
[object] => MDB2_Error Object
*RECURSION*
[type] => ->
[args] => Array
(
[0] => -5
[1] => 1
[2] => 1024
[3] => _doQuery: [Error message: Could not execute statement]
[Last executed query: EXECUTE MDB2_STATEMENT_mysql_ff9bfab3ca6bad8e3edfd218862fd28d USING @0, @1, @2, @3, @4]
[Native code: 1062]
[Native message: Duplicate entry 'apohllo' for key 'login']
)
)
[3] => Array
(
[function] => _raiseError
[class] => PEAR
[object] => PEAR Object
(
[_debug] =>
[_default_error_mode] =>
[_default_error_options] =>
[_default_error_handler] =>
[_error_class] => PEAR_Error
[_expected_errors] => Array
(
)
)
[type] => ->
[args] => Array
(
[0] => PEAR Object
(
[_debug] =>
[_default_error_mode] =>
[_default_error_options] =>
[_default_error_handler] =>
[_error_class] => PEAR_Error
[_expected_errors] => Array
(
)
)
[1] =>
[2] => -5
[3] =>
[4] =>
[5] => _doQuery: [Error message: Could not execute statement]
[Last executed query: EXECUTE MDB2_STATEMENT_mysql_ff9bfab3ca6bad8e3edfd218862fd28d USING @0, @1, @2, @3, @4]
[Native code: 1062]
[Native message: Duplicate entry 'apohllo' for key 'login']
[6] => MDB2_Error
[7] => 1
)
)
[4] => Array
(
[file] => /home/inforex/engine/external/pear/PEAR.php
[line] => 224
[function] => call_user_func_array
[args] => Array
(
[0] => Array
(
[0] => PEAR
[1] => _raiseError
)
[1] => Array
(
[0] => PEAR Object
(
[_debug] =>
[_default_error_mode] =>
[_default_error_options] =>
[_default_error_handler] =>
[_error_class] => PEAR_Error
[_expected_errors] => Array
(
)
)
[1] =>
[2] => -5
[3] =>
[4] =>
[5] => _doQuery: [Error message: Could not execute statement]
[Last executed query: EXECUTE MDB2_STATEMENT_mysql_ff9bfab3ca6bad8e3edfd218862fd28d USING @0, @1, @2, @3, @4]
[Native code: 1062]
[Native message: Duplicate entry 'apohllo' for key 'login']
[6] => MDB2_Error
[7] => 1
)
)
)
[5] => Array
(
[file] => /home/inforex/engine/external/pear/MDB2.php
[line] => 1500
[function] => __call
[class] => PEAR
[object] => PEAR Object
(
[_debug] =>
[_default_error_mode] =>
[_default_error_options] =>
[_default_error_handler] =>
[_error_class] => PEAR_Error
[_expected_errors] => Array
(
)
)
[type] => ->
[args] => Array
(
[0] => raiseError
[1] => Array
(
[0] =>
[1] => -5
[2] =>
[3] =>
[4] => _doQuery: [Error message: Could not execute statement]
[Last executed query: EXECUTE MDB2_STATEMENT_mysql_ff9bfab3ca6bad8e3edfd218862fd28d USING @0, @1, @2, @3, @4]
[Native code: 1062]
[Native message: Duplicate entry 'apohllo' for key 'login']
[5] => MDB2_Error
[6] => 1
)
)
)
[6] => Array
(
[file] => /home/inforex/engine/external/pear/MDB2.php
[line] => 1500
[function] => raiseError
[class] => PEAR
[object] => PEAR Object
(
[_debug] =>
[_default_error_mode] =>
[_default_error_options] =>
[_default_error_handler] =>
[_error_class] => PEAR_Error
[_expected_errors] => Array
(
)
)
[type] => ->
[args] => Array
(
[0] =>
[1] => -5
[2] =>
[3] =>
[4] => _doQuery: [Error message: Could not execute statement]
[Last executed query: EXECUTE MDB2_STATEMENT_mysql_ff9bfab3ca6bad8e3edfd218862fd28d USING @0, @1, @2, @3, @4]
[Native code: 1062]
[Native message: Duplicate entry 'apohllo' for key 'login']
[5] => MDB2_Error
[6] => 1
)
)
[7] => Array
(
[file] => /home/inforex/engine/external/pear/MDB2/Driver/mysql.php
[line] => 607
[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] =>
)
)
[start_transaction] => 1
[varchar_max_length] => 65532
[datatype] => MDB2_Driver_Datatype_mysql Object
(
[valid_default_values] => Array
(
[text] =>
[boolean] => 1
[integer] => 0
[decimal] => 0
[float] => 0
[timestamp] => 1970-01-01 00:00:00
[time] => 00:00:00
[date] => 1970-01-01
[clob] =>
[blob] =>
)
[lobs] => Array
(
)
[db_index:protected] => 2
)
[extended] => MDB2_Extended Object
(
[db_index:protected] => 2
)
[function] =>
[manager] =>
[native] =>
[reverse] =>
[db_index] => 2
[dsn] => Array
(
[phptype] => mysql
[dbsyntax] => mysql
[username] => inforex
[password] => password
[protocol] =>
[hostspec] => db
[port] => 3306
[socket] =>
[database] =>
[mode] =>
)
[connected_dsn] => Array
(
[phptype] => mysql
[dbsyntax] => mysql
[username] => inforex
[password] => password
[protocol] =>
[hostspec] => db
[port] => 3306
[socket] =>
[database] =>
[mode] =>
)
[connection] => Resource id #38
[opened_persistent] =>
[database_name] => inforex
[connected_database_name] => inforex
[connected_server_info] => 5.7.26
[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] =>
[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] => 30
[default_fk_action_onupdate] => RESTRICT
[default_fk_action_ondelete] => RESTRICT
[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] => DEALLOCATE PREPARE MDB2_STATEMENT_mysql_ff9bfab3ca6bad8e3edfd218862fd28d
[fetchmode] => 1
[modules:protected] => Array
(
[Extended] => MDB2_Extended Object
(
[db_index:protected] => 2
)
[Datatype] => MDB2_Driver_Datatype_mysql Object
(
[valid_default_values] => Array
(
[text] =>
[boolean] => 1
[integer] => 0
[decimal] => 0
[float] => 0
[timestamp] => 1970-01-01 00:00:00
[time] => 00:00:00
[date] => 1970-01-01
[clob] =>
[blob] =>
)
[lobs] => Array
(
)
[db_index:protected] => 2
)
)
[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
(
)
)
[loaded_version_modules] => Array
(
[0] => datatype
)
)
[type] => ->
[args] => Array
(
[0] =>
[1] =>
[2] =>
[3] => Could not execute statement
[4] => _doQuery
)
)
[8] => Array
(
[file] => /home/inforex/engine/external/pear/MDB2/Driver/mysql.php
[line] => 1433
[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] =>
)
)
[start_transaction] => 1
[varchar_max_length] => 65532
[datatype] => MDB2_Driver_Datatype_mysql Object
(
[valid_default_values] => Array
(
[text] =>
[boolean] => 1
[integer] => 0
[decimal] => 0
[float] => 0
[timestamp] => 1970-01-01 00:00:00
[time] => 00:00:00
[date] => 1970-01-01
[clob] =>
[blob] =>
)
[lobs] => Array
(
)
[db_index:protected] => 2
)
[extended] => MDB2_Extended Object
(
[db_index:protected] => 2
)
[function] =>
[manager] =>
[native] =>
[reverse] =>
[db_index] => 2
[dsn] => Array
(
[phptype] => mysql
[dbsyntax] => mysql
[username] => inforex
[password] => password
[protocol] =>
[hostspec] => db
[port] => 3306
[socket] =>
[database] =>
[mode] =>
)
[connected_dsn] => Array
(
[phptype] => mysql
[dbsyntax] => mysql
[username] => inforex
[password] => password
[protocol] =>
[hostspec] => db
[port] => 3306
[socket] =>
[database] =>
[mode] =>
)
[connection] => Resource id #38
[opened_persistent] =>
[database_name] => inforex
[connected_database_name] => inforex
[connected_server_info] => 5.7.26
[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] =>
[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] => 30
[default_fk_action_onupdate] => RESTRICT
[default_fk_action_ondelete] => RESTRICT
[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] => DEALLOCATE PREPARE MDB2_STATEMENT_mysql_ff9bfab3ca6bad8e3edfd218862fd28d
[fetchmode] => 1
[modules:protected] => Array
(
[Extended] => MDB2_Extended Object
(
[db_index:protected] => 2
)
[Datatype] => MDB2_Driver_Datatype_mysql Object
(
[valid_default_values] => Array
(
[text] =>
[boolean] => 1
[integer] => 0
[decimal] => 0
[float] => 0
[timestamp] => 1970-01-01 00:00:00
[time] => 00:00:00
[date] => 1970-01-01
[clob] =>
[blob] =>
)
[lobs] => Array
(
)
[db_index:protected] => 2
)
)
[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
(
)
)
[loaded_version_modules] => Array
(
[0] => datatype
)
)
[type] => ->
[args] => Array
(
[0] => EXECUTE MDB2_STATEMENT_mysql_ff9bfab3ca6bad8e3edfd218862fd28d USING @0, @1, @2, @3, @4
[1] =>
[2] => Resource id #38
)
)
[9] => Array
(
[file] => /home/inforex/engine/external/pear/MDB2.php
[line] => 4412
[function] => _execute
[class] => MDB2_Statement_mysql
[object] => MDB2_Statement_mysql Object
(
[db] => 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] =>
)
)
[start_transaction] => 1
[varchar_max_length] => 65532
[datatype] => MDB2_Driver_Datatype_mysql Object
(
[valid_default_values] => Array
(
[text] =>
[boolean] => 1
[integer] => 0
[decimal] => 0
[float] => 0
[timestamp] => 1970-01-01 00:00:00
[time] => 00:00:00
[date] => 1970-01-01
[clob] =>
[blob] =>
)
[lobs] => Array
(
)
[db_index:protected] => 2
)
[extended] => MDB2_Extended Object
(
[db_index:protected] => 2
)
[function] =>
[manager] =>
[native] =>
[reverse] =>
[db_index] => 2
[dsn] => Array
(
[phptype] => mysql
[dbsyntax] => mysql
[username] => inforex
[password] => password
[protocol] =>
[hostspec] => db
[port] => 3306
[socket] =>
[database] =>
[mode] =>
)
[connected_dsn] => Array
(
[phptype] => mysql
[dbsyntax] => mysql
[username] => inforex
[password] => password
[protocol] =>
[hostspec] => db
[port] => 3306
[socket] =>
[database] =>
[mode] =>
)
[connection] => Resource id #38
[opened_persistent] =>
[database_name] => inforex
[connected_database_name] => inforex
[connected_server_info] => 5.7.26
[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] =>
[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] => 30
[default_fk_action_onupdate] => RESTRICT
[default_fk_action_ondelete] => RESTRICT
[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] => DEALLOCATE PREPARE MDB2_STATEMENT_mysql_ff9bfab3ca6bad8e3edfd218862fd28d
[fetchmode] => 1
[modules:protected] => Array
(
[Extended] => MDB2_Extended Object
(
[db_index:protected] => 2
)
[Datatype] => MDB2_Driver_Datatype_mysql Object
(
[valid_default_values] => Array
(
[text] =>
[boolean] => 1
[integer] => 0
[decimal] => 0
[float] => 0
[timestamp] => 1970-01-01 00:00:00
[time] => 00:00:00
[date] => 1970-01-01
[clob] =>
[blob] =>
)
[lobs] => Array
(
)
[db_index:protected] => 2
)
)
[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
(
)
)
[loaded_version_modules] => Array
(
[0] => datatype
)
)
[statement] =>
[query] =>
[result_types] =>
[types] =>
[values] =>
[limit] =>
[offset] =>
[is_manip] =>
[positions] =>
)
[type] => ->
[args] => Array
(
[0] => 1
[1] =>
)
)
[10] => Array
(
[file] => /home/inforex/engine/include/database/Database.php
[line] => 114
[function] => execute
[class] => MDB2_Statement_Common
[object] => MDB2_Statement_mysql Object
(
[db] => 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] =>
)
)
[start_transaction] => 1
[varchar_max_length] => 65532
[datatype] => MDB2_Driver_Datatype_mysql Object
(
[valid_default_values] => Array
(
[text] =>
[boolean] => 1
[integer] => 0
[decimal] => 0
[float] => 0
[timestamp] => 1970-01-01 00:00:00
[time] => 00:00:00
[date] => 1970-01-01
[clob] =>
[blob] =>
)
[lobs] => Array
(
)
[db_index:protected] => 2
)
[extended] => MDB2_Extended Object
(
[db_index:protected] => 2
)
[function] =>
[manager] =>
[native] =>
[reverse] =>
[db_index] => 2
[dsn] => Array
(
[phptype] => mysql
[dbsyntax] => mysql
[username] => inforex
[password] => password
[protocol] =>
[hostspec] => db
[port] => 3306
[socket] =>
[database] =>
[mode] =>
)
[connected_dsn] => Array
(
[phptype] => mysql
[dbsyntax] => mysql
[username] => inforex
[password] => password
[protocol] =>
[hostspec] => db
[port] => 3306
[socket] =>
[database] =>
[mode] =>
)
[connection] => Resource id #38
[opened_persistent] =>
[database_name] => inforex
[connected_database_name] => inforex
[connected_server_info] => 5.7.26
[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] =>
[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] => 30
[default_fk_action_onupdate] => RESTRICT
[default_fk_action_ondelete] => RESTRICT
[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] => DEALLOCATE PREPARE MDB2_STATEMENT_mysql_ff9bfab3ca6bad8e3edfd218862fd28d
[fetchmode] => 1
[modules:protected] => Array
(
[Extended] => MDB2_Extended Object
(
[db_index:protected] => 2
)
[Datatype] => MDB2_Driver_Datatype_mysql Object
(
[valid_default_values] => Array
(
[text] =>
[boolean] => 1
[integer] => 0
[decimal] => 0
[float] => 0
[timestamp] => 1970-01-01 00:00:00
[time] => 00:00:00
[date] => 1970-01-01
[clob] =>
[blob] =>
)
[lobs] => Array
(
)
[db_index:protected] => 2
)
)
[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
(
)
)
[loaded_version_modules] => Array
(
[0] => datatype
)
)
[statement] =>
[query] =>
[result_types] =>
[types] =>
[values] =>
[limit] =>
[offset] =>
[is_manip] =>
[positions] =>
)
[type] => ->
[args] => Array
(
[0] => Array
(
[0] => apohllo
[1] => Aleksander Smywiński-Pohl
[2] => [email protected]
[3] => f188db28c4c65af3f58eabffef14c84c
[4] => 4
)
)
)
[11] => Array
(
[file] => /home/inforex/engine/include/database/Database.php
[line] => 213
[function] => execute
[class] => Database
[object] => Database Object
(
[mdb2] => 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] =>
)
)
[start_transaction] => 1
[varchar_max_length] => 65532
[datatype] => MDB2_Driver_Datatype_mysql Object
(
[valid_default_values] => Array
(
[text] =>
[boolean] => 1
[integer] => 0
[decimal] => 0
[float] => 0
[timestamp] => 1970-01-01 00:00:00
[time] => 00:00:00
[date] => 1970-01-01
[clob] =>
[blob] =>
)
[lobs] => Array
(
)
[db_index:protected] => 2
)
[extended] => MDB2_Extended Object
(
[db_index:protected] => 2
)
[function] =>
[manager] =>
[native] =>
[reverse] =>
[db_index] => 2
[dsn] => Array
(
[phptype] => mysql
[dbsyntax] => mysql
[username] => inforex
[password] => password
[protocol] =>
[hostspec] => db
[port] => 3306
[socket] =>
[database] =>
[mode] =>
)
[connected_dsn] => Array
(
[phptype] => mysql
[dbsyntax] => mysql
[username] => inforex
[password] => password
[protocol] =>
[hostspec] => db
[port] => 3306
[socket] =>
[database] =>
[mode] =>
)
[connection] => Resource id #38
[opened_persistent] =>
[database_name] => inforex
[connected_database_name] => inforex
[connected_server_info] => 5.7.26
[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] =>
[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] => 30
[default_fk_action_onupdate] => RESTRICT
[default_fk_action_ondelete] => RESTRICT
[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] => DEALLOCATE PREPARE MDB2_STATEMENT_mysql_ff9bfab3ca6bad8e3edfd218862fd28d
[fetchmode] => 1
[modules:protected] => Array
(
[Extended] => MDB2_Extended Object
(
[db_index:protected] => 2
)
[Datatype] => MDB2_Driver_Datatype_mysql Object
(
[valid_default_values] => Array
(
[text] =>
[boolean] => 1
[integer] => 0
[decimal] => 0
[float] => 0
[timestamp] => 1970-01-01 00:00:00
[time] => 00:00:00
[date] => 1970-01-01
[clob] =>
[blob] =>
)
[lobs] => Array
(
)
[db_index:protected] => 2
)
)
[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
(
)
)
[loaded_version_modules] => Array
(
[0] => datatype
)
)
[log] =>
[log_output] => fb
)
[type] => ->
[args] => Array
(
[0] => UPDATE users SET `login`=?, `screename`=?, `email`=?, `password`=? WHERE `user_id`=?
[1] => Array
(
[0] => apohllo
[1] => Aleksander Smywiński-Pohl
[2] => [email protected]
[3] => f188db28c4c65af3f58eabffef14c84c
[4] => 4
)
)
)
[12] => Array
(
[file] => /home/inforex/engine/ajax/ajax_user_edit.php
[line] => 26
[function] => update
[class] => Database
[object] => Database Object
(
[mdb2] => 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] =>
)
)
[start_transaction] => 1
[varchar_max_length] => 65532
[datatype] => MDB2_Driver_Datatype_mysql Object
(
[valid_default_values] => Array
(
[text] =>
[boolean] => 1
[integer] => 0
[decimal] => 0
[float] => 0
[timestamp] => 1970-01-01 00:00:00
[time] => 00:00:00
[date] => 1970-01-01
[clob] =>
[blob] =>
)
[lobs] => Array
(
)
[db_index:protected] => 2
)
[extended] => MDB2_Extended Object
(
[db_index:protected] => 2
)
[function] =>
[manager] =>
[native] =>
[reverse] =>
[db_index] => 2
[dsn] => Array
(
[phptype] => mysql
[dbsyntax] => mysql
[username] => inforex
[password] => password
[protocol] =>
[hostspec] => db
[port] => 3306
[socket] =>
[database] =>
[mode] =>
)
[connected_dsn] => Array
(
[phptype] => mysql
[dbsyntax] => mysql
[username] => inforex
[password] => password
[protocol] =>
[hostspec] => db
[port] => 3306
[socket] =>
[database] =>
[mode] =>
)
[connection] => Resource id #38
[opened_persistent] =>
[database_name] => inforex
[connected_database_name] => inforex
[connected_server_info] => 5.7.26
[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] =>
[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] => 30
[default_fk_action_onupdate] => RESTRICT
[default_fk_action_ondelete] => RESTRICT
[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] => DEALLOCATE PREPARE MDB2_STATEMENT_mysql_ff9bfab3ca6bad8e3edfd218862fd28d
[fetchmode] => 1
[modules:protected] => Array
(
[Extended] => MDB2_Extended Object
(
[db_index:protected] => 2
)
[Datatype] => MDB2_Driver_Datatype_mysql Object
(
[valid_default_values] => Array
(
[text] =>
[boolean] => 1
[integer] => 0
[decimal] => 0
[float] => 0
[timestamp] => 1970-01-01 00:00:00
[time] => 00:00:00
[date] => 1970-01-01
[clob] =>
[blob] =>
)
[lobs] => Array
(
)
[db_index:protected] => 2
)
)
[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
(
)
)
[loaded_version_modules] => Array
(
[0] => datatype
)
)
[log] =>
[log_output] => fb
)
[type] => ->
[args] => Array
(
[0] => users
[1] => Array
(
[login] => apohllo
[screename] => Aleksander Smywiński-Pohl
[email] => [email protected]
[password] => f188db28c4c65af3f58eabffef14c84c
)
[2] => Array
(
[user_id] => 4
)
)
)
[13] => Array
(
[file] => /home/inforex/engine/include/CInforexWeb.php
[line] => 143
[function] => execute
[class] => Ajax_user_edit
[object] => Ajax_user_edit Object
(
[name] =>
[description] =>
[template] => Smarty Object
(
[template_dir] => templates
[compile_dir] => /home/inforex/engine/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] =>
)
[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] => /inforex/index.php
[RELEASE] => RELEASE
[pages] => Array
(
[0] => Array
(
[name] => administration_users
[title] => Users
)
[1] => Array
(
[name] => administration_annotation_schema
[title] => Annotation schema
)
[2] => Array
(
[name] => administration_annotation_shared_attributes
[title] => Annotation shared attributes
)
[3] => Array
(
[name] => administration_relation_schema
[title] => Relation schema
)
[4] => Array
(
[name] => administration_frame_schema
[title] => Frame schema
)
[5] => Array
(
[name] => administration_wsd_schema
[title] => WSD schema
)
[6] => Array
(
[name] => administration_activities
[title] => User activities — registered
)
[7] => Array
(
[name] => administration_activities_anonymous
[title] => User activities — anonymous
)
[8] => Array
(
[name] => administration_diagnostic_access
[title] => Diagnostic — ajax and page access
)
[9] => Array
(
[name] => administration_diagnostic_ajax
[title] => Diagnostic — ajax usage
)
[10] => Array
(
[name] => administration_diagnostic_db
[title] => Diagnostic — database
)
)
[exceptions] => Array
(
)
)
[_smarty_vars] =>
[_sections] => Array
(
)
[_foreach] => Array
(
)
[_tag_stack] => Array
(
)
[_conf_obj] =>
[_config] => Array
(
[0] => Array
(
[vars] => Array
(
)
[files] => Array
(
)
)
)
[_smarty_md5] => f8d698aea36fcbead2b9d5359ffca76f
[_version] => 2.6.22
[_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
(
)
[block] => Array
(
)
[compiler] => Array
(
)
[prefilter] => Array
(
)
[postfilter] => Array
(
)
[outputfilter] => Array
(
)
[resource] => Array
(
)
[insert] => Array
(
)
)
[_cache_serials] => Array
(
)
[_cache_include] =>
[_cache_including] =>
)
[warnings] => Array
(
)
[isSecure] => 1
[roles] => Array
(
)
[anySystemRole] => Array
(
[0] => admin
)
[anyCorpusRole] => Array
(
)
[anyPerspectiveAccess] => Array
(
)
[usedOnPages] => Array
(
)
[include_files] => Array
(
)
)
[type] => ->
[args] => Array
(
)
)
[14] => Array
(
[file] => /home/inforex/engine/include/CInforexWeb.php
[line] => 266
[function] => doAjax
[class] => InforexWeb
[object] => InforexWeb Object
(
)
[type] => ->
[args] => Array
(
[0] => user_edit
[1] => Array
(
[exceptions] => Array
(
)
)
)
)
[15] => Array
(
[file] => /home/inforex/public_html/index.php
[line] => 89
[function] => execute
[class] => InforexWeb
[object] => InforexWeb Object
(
)
[type] => ->
[args] => Array
(
)
)
)
[callback] =>
)
[message:protected] => MDB2 Error: already exists
_doQuery: [Error message: Could not execute statement]
[Last executed query: EXECUTE MDB2_STATEMENT_mysql_ff9bfab3ca6bad8e3edfd218862fd28d USING @0, @1, @2, @3, @4]
[Native code: 1062]
[Native message: Duplicate entry 'apohllo' for key 'login']
[string:Exception:private] =>
[code:protected] => 0
[file:protected] => /home/inforex/engine/include/database/Database.php
[line:protected] => 116
[trace:Exception:private] => Array
(
[0] => Array
(
[file] => /home/inforex/engine/include/database/Database.php
[line] => 213
[function] => execute
[class] => Database
[type] => ->
[args] => Array
(
[0] => UPDATE users SET `login`=?, `screename`=?, `email`=?, `password`=? WHERE `user_id`=?
[1] => Array
(
[0] => apohllo
[1] => Aleksander Smywiński-Pohl
[2] => [email protected]
[3] => f188db28c4c65af3f58eabffef14c84c
[4] => 4
)
)
)
[1] => Array
(
[file] => /home/inforex/engine/ajax/ajax_user_edit.php
[line] => 26
[function] => update
[class] => Database
[type] => ->
[args] => Array
(
[0] => users
[1] => Array
(
[login] => apohllo
[screename] => Aleksander Smywiński-Pohl
[email] => [email protected]
[password] => f188db28c4c65af3f58eabffef14c84c
)
[2] => Array
(
[user_id] => 4
)
)
)
[2] => Array
(
[file] => /home/inforex/engine/include/CInforexWeb.php
[line] => 143
[function] => execute
[class] => Ajax_user_edit
[type] => ->
[args] => Array
(
)
)
[3] => Array
(
[file] => /home/inforex/engine/include/CInforexWeb.php
[line] => 266
[function] => doAjax
[class] => InforexWeb
[type] => ->
[args] => Array
(
[0] => user_edit
[1] => Array
(
[exceptions] => Array
(
)
)
)
)
[4] => Array
(
[file] => /home/inforex/public_html/index.php
[line] => 89
[function] => execute
[class] => InforexWeb
[type] => ->
[args] => Array
(
)
)
)
[previous:Exception:private] =>
)
We have a use case when one annotation spans more than one sentence. Unfortunately it seems that when the annotation is exported, only the tokens present in the first sentence of the span get their annotations. We would expect that all tokens in all sentences in the same annotation span will have the same annotation id.
Fatal error: Class 'TableReport' not found in /home/inforex/engine/actions/a_document_add.php on line 27
When working in "agreement/relation agreement" perspective, most of the time the user is interested only in the first two panes: resolve annotations and document content. The view configuration is only important at the beginning. Since it is open all the time, it limits the space available for the first two panes.
It would be good if:
I get the following error whenever I try to assign a user to a corpus.
(I use a local installation based on docker-compose)
Error: MDB2_Error Object
(
[error_message_prefix] =>
[mode] => 1
[level] => 1024
[code] => -3
[message] => MDB2 Error: constraint violation
[userinfo] => _doQuery: [Error message: Could not execute statement]
[Last executed query: EXECUTE MDB2_STATEMENT_mysql_531bb87912ad8c2e9c1e0d5072317769 USING @0, @1, @2]
[Native code: 1452]
[Native message: Cannot add or update a child row: a foreign key constraint fails (`inforex`.`users_corpus_roles`, CONSTRAINT `users_corpus_roles_ibfk_3` FOREIGN KEY (`role`) REFERENCES `corpus_roles` (`role`) ON DELETE CASCADE ON UPDATE CASCADE)]
[backtrace] => Array
(
[0] => Array
(
[file] => /home/inforex/engine/external/pear/PEAR.php
[line] => 946
[function] => __construct
[class] => PEAR_Error
[type] => ->
[args] => Array
(
[0] => MDB2 Error: constraint violation
[1] => -3
[2] => 1
[3] => 1024
[4] => _doQuery: [Error message: Could not execute statement]
[Last executed query: EXECUTE MDB2_STATEMENT_mysql_531bb87912ad8c2e9c1e0d5072317769 USING @0, @1, @2]
[Native code: 1452]
[Native message: Cannot add or update a child row: a foreign key constraint fails (`inforex`.`users_corpus_roles`, CONSTRAINT `users_corpus_roles_ibfk_3` FOREIGN KEY (`role`) REFERENCES `corpus_roles` (`role`) ON DELETE CASCADE ON UPDATE CASCADE)]
)
)
[1] => Array
(
[file] => /home/inforex/engine/external/pear/MDB2.php
[line] => 979
[function] => PEAR_Error
[class] => PEAR_Error
[object] => MDB2_Error Object
*RECURSION*
[type] => ->
[args] => Array
(
[0] => MDB2 Error: constraint violation
[1] => -3
[2] => 1
[3] => 1024
[4] => _doQuery: [Error message: Could not execute statement]
[Last executed query: EXECUTE MDB2_STATEMENT_mysql_531bb87912ad8c2e9c1e0d5072317769 USING @0, @1, @2]
[Native code: 1452]
[Native message: Cannot add or update a child row: a foreign key constraint fails (`inforex`.`users_corpus_roles`, CONSTRAINT `users_corpus_roles_ibfk_3` FOREIGN KEY (`role`) REFERENCES `corpus_roles` (`role`) ON DELETE CASCADE ON UPDATE CASCADE)]
)
)
[2] => Array
(
[file] => /home/inforex/engine/external/pear/PEAR.php
[line] => 575
[function] => __construct
[class] => MDB2_Error
[object] => MDB2_Error Object
*RECURSION*
[type] => ->
[args] => Array
(
[0] => -3
[1] => 1
[2] => 1024
[3] => _doQuery: [Error message: Could not execute statement]
[Last executed query: EXECUTE MDB2_STATEMENT_mysql_531bb87912ad8c2e9c1e0d5072317769 USING @0, @1, @2]
[Native code: 1452]
[Native message: Cannot add or update a child row: a foreign key constraint fails (`inforex`.`users_corpus_roles`, CONSTRAINT `users_corpus_roles_ibfk_3` FOREIGN KEY (`role`) REFERENCES `corpus_roles` (`role`) ON DELETE CASCADE ON UPDATE CASCADE)]
)
)
[3] => Array
(
[function] => _raiseError
[class] => PEAR
[object] => PEAR Object
(
[_debug] =>
[_default_error_mode] =>
[_default_error_options] =>
[_default_error_handler] =>
[_error_class] => PEAR_Error
[_expected_errors] => Array
(
)
)
[type] => ->
[args] => Array
(
[0] => PEAR Object
(
[_debug] =>
[_default_error_mode] =>
[_default_error_options] =>
[_default_error_handler] =>
[_error_class] => PEAR_Error
[_expected_errors] => Array
(
)
)
[1] =>
[2] => -3
[3] =>
[4] =>
[5] => _doQuery: [Error message: Could not execute statement]
[Last executed query: EXECUTE MDB2_STATEMENT_mysql_531bb87912ad8c2e9c1e0d5072317769 USING @0, @1, @2]
[Native code: 1452]
[Native message: Cannot add or update a child row: a foreign key constraint fails (`inforex`.`users_corpus_roles`, CONSTRAINT `users_corpus_roles_ibfk_3` FOREIGN KEY (`role`) REFERENCES `corpus_roles` (`role`) ON DELETE CASCADE ON UPDATE CASCADE)]
[6] => MDB2_Error
[7] => 1
)
)
[4] => Array
(
[file] => /home/inforex/engine/external/pear/PEAR.php
[line] => 224
[function] => call_user_func_array
[args] => Array
(
[0] => Array
(
[0] => PEAR
[1] => _raiseError
)
[1] => Array
(
[0] => PEAR Object
(
[_debug] =>
[_default_error_mode] =>
[_default_error_options] =>
[_default_error_handler] =>
[_error_class] => PEAR_Error
[_expected_errors] => Array
(
)
)
[1] =>
[2] => -3
[3] =>
[4] =>
[5] => _doQuery: [Error message: Could not execute statement]
[Last executed query: EXECUTE MDB2_STATEMENT_mysql_531bb87912ad8c2e9c1e0d5072317769 USING @0, @1, @2]
[Native code: 1452]
[Native message: Cannot add or update a child row: a foreign key constraint fails (`inforex`.`users_corpus_roles`, CONSTRAINT `users_corpus_roles_ibfk_3` FOREIGN KEY (`role`) REFERENCES `corpus_roles` (`role`) ON DELETE CASCADE ON UPDATE CASCADE)]
[6] => MDB2_Error
[7] => 1
)
)
)
[5] => Array
(
[file] => /home/inforex/engine/external/pear/MDB2.php
[line] => 1500
[function] => __call
[class] => PEAR
[object] => PEAR Object
(
[_debug] =>
[_default_error_mode] =>
[_default_error_options] =>
[_default_error_handler] =>
[_error_class] => PEAR_Error
[_expected_errors] => Array
(
)
)
[type] => ->
[args] => Array
(
[0] => raiseError
[1] => Array
(
[0] =>
[1] => -3
[2] =>
[3] =>
[4] => _doQuery: [Error message: Could not execute statement]
[Last executed query: EXECUTE MDB2_STATEMENT_mysql_531bb87912ad8c2e9c1e0d5072317769 USING @0, @1, @2]
[Native code: 1452]
[Native message: Cannot add or update a child row: a foreign key constraint fails (`inforex`.`users_corpus_roles`, CONSTRAINT `users_corpus_roles_ibfk_3` FOREIGN KEY (`role`) REFERENCES `corpus_roles` (`role`) ON DELETE CASCADE ON UPDATE CASCADE)]
[5] => MDB2_Error
[6] => 1
)
)
)
[6] => Array
(
[file] => /home/inforex/engine/external/pear/MDB2.php
[line] => 1500
[function] => raiseError
[class] => PEAR
[object] => PEAR Object
(
[_debug] =>
[_default_error_mode] =>
[_default_error_options] =>
[_default_error_handler] =>
[_error_class] => PEAR_Error
[_expected_errors] => Array
(
)
)
[type] => ->
[args] => Array
(
[0] =>
[1] => -3
[2] =>
[3] =>
[4] => _doQuery: [Error message: Could not execute statement]
[Last executed query: EXECUTE MDB2_STATEMENT_mysql_531bb87912ad8c2e9c1e0d5072317769 USING @0, @1, @2]
[Native code: 1452]
[Native message: Cannot add or update a child row: a foreign key constraint fails (`inforex`.`users_corpus_roles`, CONSTRAINT `users_corpus_roles_ibfk_3` FOREIGN KEY (`role`) REFERENCES `corpus_roles` (`role`) ON DELETE CASCADE ON UPDATE CASCADE)]
[5] => MDB2_Error
[6] => 1
)
)
[7] => Array
(
[file] => /home/inforex/engine/external/pear/MDB2/Driver/mysql.php
[line] => 607
[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] =>
)
)
[start_transaction] => 1
[varchar_max_length] => 65532
[datatype] => MDB2_Driver_Datatype_mysql Object
(
[valid_default_values] => Array
(
[text] =>
[boolean] => 1
[integer] => 0
[decimal] => 0
[float] => 0
[timestamp] => 1970-01-01 00:00:00
[time] => 00:00:00
[date] => 1970-01-01
[clob] =>
[blob] =>
)
[lobs] => Array
(
)
[db_index:protected] => 2
)
[extended] => MDB2_Extended Object
(
[db_index:protected] => 2
)
[function] =>
[manager] =>
[native] =>
[reverse] =>
[db_index] => 2
[dsn] => Array
(
[phptype] => mysql
[dbsyntax] => mysql
[username] => inforex
[password] => password
[protocol] =>
[hostspec] => db
[port] => 3306
[socket] =>
[database] =>
[mode] =>
)
[connected_dsn] => Array
(
[phptype] => mysql
[dbsyntax] => mysql
[username] => inforex
[password] => password
[protocol] =>
[hostspec] => db
[port] => 3306
[socket] =>
[database] =>
[mode] =>
)
[connection] => Resource id #35
[opened_persistent] =>
[database_name] => inforex
[connected_database_name] => inforex
[connected_server_info] => 5.7.26
[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] =>
[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] => 30
[default_fk_action_onupdate] => RESTRICT
[default_fk_action_ondelete] => RESTRICT
[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] => EXECUTE MDB2_STATEMENT_mysql_531bb87912ad8c2e9c1e0d5072317769 USING @0, @1, @2
[fetchmode] => 1
[modules:protected] => Array
(
[Extended] => MDB2_Extended Object
(
[db_index:protected] => 2
)
[Datatype] => MDB2_Driver_Datatype_mysql Object
(
[valid_default_values] => Array
(
[text] =>
[boolean] => 1
[integer] => 0
[decimal] => 0
[float] => 0
[timestamp] => 1970-01-01 00:00:00
[time] => 00:00:00
[date] => 1970-01-01
[clob] =>
[blob] =>
)
[lobs] => Array
(
)
[db_index:protected] => 2
)
)
[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
(
)
)
[loaded_version_modules] => Array
(
[0] => datatype
)
)
[type] => ->
[args] => Array
(
[0] =>
[1] =>
[2] =>
[3] => Could not execute statement
[4] => _doQuery
)
)
[8] => Array
(
[file] => /home/inforex/engine/external/pear/MDB2/Driver/mysql.php
[line] => 1433
[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] =>
)
)
[start_transaction] => 1
[varchar_max_length] => 65532
[datatype] => MDB2_Driver_Datatype_mysql Object
(
[valid_default_values] => Array
(
[text] =>
[boolean] => 1
[integer] => 0
[decimal] => 0
[float] => 0
[timestamp] => 1970-01-01 00:00:00
[time] => 00:00:00
[date] => 1970-01-01
[clob] =>
[blob] =>
)
[lobs] => Array
(
)
[db_index:protected] => 2
)
[extended] => MDB2_Extended Object
(
[db_index:protected] => 2
)
[function] =>
[manager] =>
[native] =>
[reverse] =>
[db_index] => 2
[dsn] => Array
(
[phptype] => mysql
[dbsyntax] => mysql
[username] => inforex
[password] => password
[protocol] =>
[hostspec] => db
[port] => 3306
[socket] =>
[database] =>
[mode] =>
)
[connected_dsn] => Array
(
[phptype] => mysql
[dbsyntax] => mysql
[username] => inforex
[password] => password
[protocol] =>
[hostspec] => db
[port] => 3306
[socket] =>
[database] =>
[mode] =>
)
[connection] => Resource id #35
[opened_persistent] =>
[database_name] => inforex
[connected_database_name] => inforex
[connected_server_info] => 5.7.26
[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] =>
[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] => 30
[default_fk_action_onupdate] => RESTRICT
[default_fk_action_ondelete] => RESTRICT
[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] => EXECUTE MDB2_STATEMENT_mysql_531bb87912ad8c2e9c1e0d5072317769 USING @0, @1, @2
[fetchmode] => 1
[modules:protected] => Array
(
[Extended] => MDB2_Extended Object
(
[db_index:protected] => 2
)
[Datatype] => MDB2_Driver_Datatype_mysql Object
(
[valid_default_values] => Array
(
[text] =>
[boolean] => 1
[integer] => 0
[decimal] => 0
[float] => 0
[timestamp] => 1970-01-01 00:00:00
[time] => 00:00:00
[date] => 1970-01-01
[clob] =>
[blob] =>
)
[lobs] => Array
(
)
[db_index:protected] => 2
)
)
[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
(
)
)
[loaded_version_modules] => Array
(
[0] => datatype
)
)
[type] => ->
[args] => Array
(
[0] => EXECUTE MDB2_STATEMENT_mysql_531bb87912ad8c2e9c1e0d5072317769 USING @0, @1, @2
[1] =>
[2] => Resource id #35
)
)
[9] => Array
(
[file] => /home/inforex/engine/external/pear/MDB2.php
[line] => 4412
[function] => _execute
[class] => MDB2_Statement_mysql
[object] => MDB2_Statement_mysql Object
(
[db] => 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] =>
)
)
[start_transaction] => 1
[varchar_max_length] => 65532
[datatype] => MDB2_Driver_Datatype_mysql Object
(
[valid_default_values] => Array
(
[text] =>
[boolean] => 1
[integer] => 0
[decimal] => 0
[float] => 0
[timestamp] => 1970-01-01 00:00:00
[time] => 00:00:00
[date] => 1970-01-01
[clob] =>
[blob] =>
)
[lobs] => Array
(
)
[db_index:protected] => 2
)
[extended] => MDB2_Extended Object
(
[db_index:protected] => 2
)
[function] =>
[manager] =>
[native] =>
[reverse] =>
[db_index] => 2
[dsn] => Array
(
[phptype] => mysql
[dbsyntax] => mysql
[username] => inforex
[password] => password
[protocol] =>
[hostspec] => db
[port] => 3306
[socket] =>
[database] =>
[mode] =>
)
[connected_dsn] => Array
(
[phptype] => mysql
[dbsyntax] => mysql
[username] => inforex
[password] => password
[protocol] =>
[hostspec] => db
[port] => 3306
[socket] =>
[database] =>
[mode] =>
)
[connection] => Resource id #35
[opened_persistent] =>
[database_name] => inforex
[connected_database_name] => inforex
[connected_server_info] => 5.7.26
[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] =>
[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] => 30
[default_fk_action_onupdate] => RESTRICT
[default_fk_action_ondelete] => RESTRICT
[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] => EXECUTE MDB2_STATEMENT_mysql_531bb87912ad8c2e9c1e0d5072317769 USING @0, @1, @2
[fetchmode] => 1
[modules:protected] => Array
(
[Extended] => MDB2_Extended Object
(
[db_index:protected] => 2
)
[Datatype] => MDB2_Driver_Datatype_mysql Object
(
[valid_default_values] => Array
(
[text] =>
[boolean] => 1
[integer] => 0
[decimal] => 0
[float] => 0
[timestamp] => 1970-01-01 00:00:00
[time] => 00:00:00
[date] => 1970-01-01
[clob] =>
[blob] =>
)
[lobs] => Array
(
)
[db_index:protected] => 2
)
)
[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
(
)
)
[loaded_version_modules] => Array
(
[0] => datatype
)
)
[statement] => MDB2_STATEMENT_mysql_531bb87912ad8c2e9c1e0d5072317769
[query] => PREPARE MDB2_STATEMENT_mysql_531bb87912ad8c2e9c1e0d5072317769 FROM 'INSERT INTO users_corpus_roles VALUES(?, ?, ?)'
[result_types] => Array
(
)
[types] => Array
(
)
[values] => Array
(
[0] => 2
[1] => 1
[2] => read
)
[limit] => 0
[offset] => 0
[is_manip] =>
[positions] => Array
(
[38] => 0
[41] => 1
[44] => 2
)
)
[type] => ->
[args] => Array
(
[0] => 1
[1] =>
)
)
[10] => Array
(
[file] => /home/inforex/engine/include/database/Database.php
[line] => 114
[function] => execute
[class] => MDB2_Statement_Common
[object] => MDB2_Statement_mysql Object
(
[db] => 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] =>
)
)
[start_transaction] => 1
[varchar_max_length] => 65532
[datatype] => MDB2_Driver_Datatype_mysql Object
(
[valid_default_values] => Array
(
[text] =>
[boolean] => 1
[integer] => 0
[decimal] => 0
[float] => 0
[timestamp] => 1970-01-01 00:00:00
[time] => 00:00:00
[date] => 1970-01-01
[clob] =>
[blob] =>
)
[lobs] => Array
(
)
[db_index:protected] => 2
)
[extended] => MDB2_Extended Object
(
[db_index:protected] => 2
)
[function] =>
[manager] =>
[native] =>
[reverse] =>
[db_index] => 2
[dsn] => Array
(
[phptype] => mysql
[dbsyntax] => mysql
[username] => inforex
[password] => password
[protocol] =>
[hostspec] => db
[port] => 3306
[socket] =>
[database] =>
[mode] =>
)
[connected_dsn] => Array
(
[phptype] => mysql
[dbsyntax] => mysql
[username] => inforex
[password] => password
[protocol] =>
[hostspec] => db
[port] => 3306
[socket] =>
[database] =>
[mode] =>
)
[connection] => Resource id #35
[opened_persistent] =>
[database_name] => inforex
[connected_database_name] => inforex
[connected_server_info] => 5.7.26
[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] =>
[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] => 30
[default_fk_action_onupdate] => RESTRICT
[default_fk_action_ondelete] => RESTRICT
[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] => EXECUTE MDB2_STATEMENT_mysql_531bb87912ad8c2e9c1e0d5072317769 USING @0, @1, @2
[fetchmode] => 1
[modules:protected] => Array
(
[Extended] => MDB2_Extended Object
(
[db_index:protected] => 2
)
[Datatype] => MDB2_Driver_Datatype_mysql Object
(
[valid_default_values] => Array
(
[text] =>
[boolean] => 1
[integer] => 0
[decimal] => 0
[float] => 0
[timestamp] => 1970-01-01 00:00:00
[time] => 00:00:00
[date] => 1970-01-01
[clob] =>
[blob] =>
)
[lobs] => Array
(
)
[db_index:protected] => 2
)
)
[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
(
)
)
[loaded_version_modules] => Array
(
[0] => datatype
)
)
[statement] => MDB2_STATEMENT_mysql_531bb87912ad8c2e9c1e0d5072317769
[query] => PREPARE MDB2_STATEMENT_mysql_531bb87912ad8c2e9c1e0d5072317769 FROM 'INSERT INTO users_corpus_roles VALUES(?, ?, ?)'
[result_types] => Array
(
)
[types] => Array
(
)
[values] => Array
(
[0] => 2
[1] => 1
[2] => read
)
[limit] => 0
[offset] => 0
[is_manip] =>
[positions] => Array
(
[38] => 0
[41] => 1
[44] => 2
)
)
[type] => ->
[args] => Array
(
[0] => Array
(
[0] => 2
[1] => 1
[2] => read
)
)
)
[11] => Array
(
[file] => /home/inforex/engine/ajax/ajax_corpus_update.php
[line] => 62
[function] => execute
[class] => Database
[object] => Database Object
(
[mdb2] => 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] =>
)
)
[start_transaction] => 1
[varchar_max_length] => 65532
[datatype] => MDB2_Driver_Datatype_mysql Object
(
[valid_default_values] => Array
(
[text] =>
[boolean] => 1
[integer] => 0
[decimal] => 0
[float] => 0
[timestamp] => 1970-01-01 00:00:00
[time] => 00:00:00
[date] => 1970-01-01
[clob] =>
[blob] =>
)
[lobs] => Array
(
)
[db_index:protected] => 2
)
[extended] => MDB2_Extended Object
(
[db_index:protected] => 2
)
[function] =>
[manager] =>
[native] =>
[reverse] =>
[db_index] => 2
[dsn] => Array
(
[phptype] => mysql
[dbsyntax] => mysql
[username] => inforex
[password] => password
[protocol] =>
[hostspec] => db
[port] => 3306
[socket] =>
[database] =>
[mode] =>
)
[connected_dsn] => Array
(
[phptype] => mysql
[dbsyntax] => mysql
[username] => inforex
[password] => password
[protocol] =>
[hostspec] => db
[port] => 3306
[socket] =>
[database] =>
[mode] =>
)
[connection] => Resource id #35
[opened_persistent] =>
[database_name] => inforex
[connected_database_name] => inforex
[connected_server_info] => 5.7.26
[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] =>
[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] => 30
[default_fk_action_onupdate] => RESTRICT
[default_fk_action_ondelete] => RESTRICT
[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] => EXECUTE MDB2_STATEMENT_mysql_531bb87912ad8c2e9c1e0d5072317769 USING @0, @1, @2
[fetchmode] => 1
[modules:protected] => Array
(
[Extended] => MDB2_Extended Object
(
[db_index:protected] => 2
)
[Datatype] => MDB2_Driver_Datatype_mysql Object
(
[valid_default_values] => Array
(
[text] =>
[boolean] => 1
[integer] => 0
[decimal] => 0
[float] => 0
[timestamp] => 1970-01-01 00:00:00
[time] => 00:00:00
[date] => 1970-01-01
[clob] =>
[blob] =>
)
[lobs] => Array
(
)
[db_index:protected] => 2
)
)
[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
(
)
)
[loaded_version_modules] => Array
(
[0] => datatype
)
)
[log] =>
[log_output] => fb
)
[type] => ->
[args] => Array
(
[0] => INSERT INTO users_corpus_roles VALUES(?, ?, ?)
[1] => Array
(
[0] => 2
[1] => 1
[2] => read
)
)
)
[12] => Array
(
[file] => /home/inforex/engine/include/CInforexWeb.php
[line] => 143
[function] => execute
[class] => Ajax_corpus_update
[object] => Ajax_corpus_update Object
(
[name] =>
[description] =>
[template] => Smarty Object
(
[template_dir] => templates
[compile_dir] => /home/inforex/engine/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] =>
)
[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] => /inforex/index.php
[RELEASE] => RELEASE
)
[_smarty_vars] =>
[_sections] => Array
(
)
[_foreach] => Array
(
)
[_tag_stack] => Array
(
)
[_conf_obj] =>
[_config] => Array
(
[0] => Array
(
[vars] => Array
(
)
[files] => Array
(
)
)
)
[_smarty_md5] => f8d698aea36fcbead2b9d5359ffca76f
[_version] => 2.6.22
[_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
(
)
[block] => Array
(
)
[compiler] => Array
(
)
[prefilter] => Array
(
)
[postfilter] => Array
(
)
[outputfilter] => Array
(
)
[resource] => Array
(
)
[insert] => Array
(
)
)
[_cache_serials] => Array
(
)
[_cache_include] =>
[_cache_including] =>
)
[warnings] => Array
(
)
[isSecure] => 1
[roles] => Array
(
)
[anySystemRole] => Array
(
[0] => admin
)
[anyCorpusRole] => Array
(
[0] => manager
[1] => corpus_owner
)
[anyPerspectiveAccess] => Array
(
)
[usedOnPages] => Array
(
)
[include_files] => Array
(
)
)
[type] => ->
[args] => Array
(
)
)
[13] => Array
(
[file] => /home/inforex/engine/include/CInforexWeb.php
[line] => 256
[function] => doAjax
[class] => InforexWeb
[object] => InforexWeb Object
(
)
[type] => ->
[args] => Array
(
[0] => corpus_update
[1] => Array
(
)
)
)
[14] => Array
(
[file] => /home/inforex/public_html/index.php
[line] => 89
[function] => execute
[class] => InforexWeb
[object] => InforexWeb Object
(
)
[type] => ->
[args] => Array
(
)
)
)
[callback] =>
)
I ran sudo ./docker-dev-up.sh
and all services started correctly. Then I stopped them with CTRL+C and started them once again with sudo docker start id1 id2 ...
.
In the end got the following logs from this command sudo docker logs inforex_liuqibase_1 --since 60m
:
Unexpected error running Liquibase: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
Unexpected error running Liquibase: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
Unexpected error running Liquibase: Duplicate entry 'aar' for key 'PRIMARY' [Failed SQL: INSERT INTO `lang` (`code`, `language`) VALUES
('aar', 'Afar'),
('abk', 'Abkhazian'),
('ace', 'Achinese'),
...
('zun', 'Zuni'),
('zxx', 'No linguistic content; Not applicable'),
('zza', 'Zaza; Dimili; Dimli; Kirdki; Kirmanjki; Zazaki')]
The liuqibase service exited with errors.
I am wondering why there is a limit on the length of the documents.
I.e. the system allows to upload a long document, while it does not allow to display it nor it allows to annotate it. Maybe it would be possible to display parts of the document. Breaking long documents into smaller pieces is not very convenient in some cases.
E.g. import annotations or extended metadata. It may be related to code:
$perspective_class_name = "Perspective".ucfirst($subpage);
and class names PerspectiveExtendedMetadata
, PerspectiveImportAnnotations
.
A couple of problems:
only after that you can use the ./docker-dev-up.sh script
Unexpected exception: Source: Missing name
#0 /home/inforex/engine/external/Smarty-3.1.39/libs/sysplugins/smarty_internal_template.php(329): Smarty_Template_Source::load(Object(Smarty_Internal_Template))
#1 /home/inforex/engine/templates_c/abd33e90768b3dc8c5797ca41e985d26e0d131d0_0.file.page_corpus_settings.tpl.php(67): Smarty_Internal_Template->_subTemplateRender('', NULL, NULL, 0, 3600, Array, 0, true)
#2 /home/inforex/engine/external/Smarty-3.1.39/libs/sysplugins/smarty_template_resource_base.php(123): content_631d8a933c5457_70380561(Object(Smarty_Internal_Template))
#3 /home/inforex/engine/external/Smarty-3.1.39/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(Smarty_Internal_Template))
#4 /home/inforex/engine/external/Smarty-3.1.39/libs/sysplugins/smarty_internal_template.php(216): Smarty_Template_Compiled->render(Object(Smarty_Internal_Template))
#5 /home/inforex/engine/external/Smarty-3.1.39/libs/sysplugins/smarty_internal_templatebase.php(232): Smarty_Internal_Template->render(false, 1)
#6 /home/inforex/engine/external/Smarty-3.1.39/libs/sysplugins/smarty_internal_templatebase.php(134): Smarty_Internal_TemplateBase->_execute('/home/inforex/e...', NULL, NULL, NULL, 1)
#7 /home/inforex/engine/include/CPage.php(260): Smarty_Internal_TemplateBase->display('/home/inforex/e...')
#8 /home/inforex/engine/include/CInforexWeb.php(204): CPage->display('corpus_settings')
#9 /home/inforex/engine/include/CInforexWeb.php(269): InforexWeb->doPage('corpus_settings', Array)
#10 /home/inforex/public_html/index.php(64): InforexWeb->execute()
#11 {main}
How to define custom relation scheme?
I have annotations in agreement
stage and I can not export them. In New export
choosing Tagging
to User (agreement)
shows below only No user annotations
and export process is not working.
A context menu (available when clicking the right button) would make the annotation process a bit quicker, since the user wouldn't have to move the mouse from the text to the menu on the right all the time.
The UI of the system is pretty complex. I try to intuitively work with the documents, but I am stuck at many moments. A documentation or a movie showing the basic workflow of the system would be very helpful.
Fatal error: Class 'DbCTag' not found in /home/inforex/engine/include/database/CDbToken.php on line 112
but the document is deleted...
The following error occurred when I tried to import a set of files into Inforex (txt+ini).
( each file had a "date = 1970-01-01" line )
MDB2 Error: unknown error _doQuery: [Error message: Could not execute statement] [Last executed query: EXECUTE MDB2_STATEMENT_mysql_1c2eec9d32031f67213be0c580c7ceb6 USING @0, @1, @2, @3, @4, @5, @6, @7, @8, @9, @10] [Native code: 1292] [Native message: Incorrect date value: '' for column 'date' at row 1]
exception 'DatabaseException' with message 'MDB2 Error: unknown error
_doQuery: [Error message: Could not execute statement]
[Last executed query: EXECUTE MDB2_STATEMENT_mysql_1c2eec9d32031f67213be0c580c7ceb6 USING @0, @1, @2, @3, @4, @5, @6, @7, @8, @9, @10]
[Native code: 1292]
[Native message: Incorrect date value: '' for column 'date' at row 1]
' in /home/inforex/engine/include/database/Database.php:116
Stack trace:
#0 /home/inforex/engine/include/database/Database.php(229): Database->execute('INSERT INTO rep...', Array)
#1 /home/inforex/engine/actions/a_upload.php(151): Database->insert('reports', Array)
#2 /home/inforex/engine/include/CInforexWeb.php(105): Action_upload->execute()
#3 /home/inforex/engine/include/CInforexWeb.php(256): InforexWeb->doAction('upload', Array)
#4 /home/inforex/public_html/index.php(89): InforexWeb->execute()
#5 {main}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.