Warning: pg_query() [function.pg-query]: Query failed: ERROR: value too long for type character varying(20) in /var/www/html/gcm77/moodle23/lib/adodb/drivers/adodb-postgres7.inc.php on line 115 -1: ERROR: value too long for type character varying(20) ADOConnection._Execute(UPDATE mdl23_questionnaire_survey SET changed_alter_column_tmp = changed, false) % line 891, file: adodb.inc.php ADOConnection.Execute(UPDATE mdl23_questionnaire_survey SET changed_alter_column_tmp = changed) % line 89, file: dmllib.php execute_sql(UPDATE mdl23_questionnaire_survey SET changed_alter_column_tmp = changed, true) % line 2281, file: dmllib.php execute_sql_arr(Array[5], true, true) % line 929, file: ddllib.php change_field_type(Object:XMLDBTable, Object:XMLDBField) % line 104, file: upgrade.php ErrorScroll to next warning ERROR: value too long for type character varying(20) UPDATE mdl23_questionnaire_survey SET changed_alter_column_tmp = changed line 103 of lib/dmllib.php: call to debugging() line 2281 of lib/dmllib.php: call to execute_sql() line 929 of lib/ddllib.php: call to execute_sql_arr() line 104 of mod/questionnaire/db/upgrade.php: call to change_field_type() line 9 of mod/questionnaire/db/upgrade.php: call to questionnaire_upgrade_2007120101() line 338 of lib/adminlib.php: call to xmldb_questionnaire_upgrade() line 417 of admin/index.php: call to upgrade_activity_modules() ================================================================================================== Warning: pg_query() [function.pg-query]: Query failed: ERROR: invalid input syntax for integer: "" in /var/www/html/gcm77/moodle23/lib/adodb/drivers/adodb-postgres7.inc.php on line 115 -1: ERROR: invalid input syntax for integer: "" ADOConnection._Execute(UPDATE mdl23_questionnaire_survey SET changed_alter_column_tmp = CAST(CAST(changed AS TEXT) AS INTEGER), false) % line 891, file: adodb.inc.php ADOConnection.Execute(UPDATE mdl23_questionnaire_survey SET changed_alter_column_tmp = CAST(CAST(changed AS TEXT) AS INTEGER)) % line 89, file: dmllib.php execute_sql(UPDATE mdl23_questionnaire_survey SET changed_alter_column_tmp = CAST(CAST(changed AS TEXT) AS INTEGER), true) % line 2281, file: dmllib.php execute_sql_arr(Array[5], true, true) % line 929, file: ddllib.php change_field_type(Object:XMLDBTable, Object:XMLDBField) % line 122, file: upgrade.php Scroll to previous warningErrorScroll to next warning ERROR: invalid input syntax for integer: "" UPDATE mdl23_questionnaire_survey SET changed_alter_column_tmp = CAST(CAST(changed AS TEXT) AS INTEGER) line 103 of lib/dmllib.php: call to debugging() line 2281 of lib/dmllib.php: call to execute_sql() line 929 of lib/ddllib.php: call to execute_sql_arr() line 122 of mod/questionnaire/db/upgrade.php: call to change_field_type() line 9 of mod/questionnaire/db/upgrade.php: call to questionnaire_upgrade_2007120101() line 338 of lib/adminlib.php: call to xmldb_questionnaire_upgrade() line 417 of admin/index.php: call to upgrade_activity_modules() ================================================================================================== Warning: pg_query() [function.pg-query]: Query failed: ERROR: check constraint "mdl23_quesques_req_ck" is violated by some row in /var/www/html/gcm77/moodle23/lib/adodb/drivers/adodb-postgres7.inc.php on line 115 -1: ERROR: check constraint "mdl23_quesques_req_ck" is violated by some row ADOConnection._Execute(ALTER TABLE mdl23_questionnaire_question ADD CONSTRAINT mdl23_quesques_req_ck CHECK (required IN ('y', 'n')), false) % line 891, file: adodb.inc.php ADOConnection.Execute(ALTER TABLE mdl23_questionnaire_question ADD CONSTRAINT mdl23_quesques_req_ck CHECK (required IN ('y', 'n'))) % line 89, file: dmllib.php execute_sql(ALTER TABLE mdl23_questionnaire_question ADD CONSTRAINT mdl23_quesques_req_ck CHECK (required IN ('y', 'n')), true) % line 2281, file: dmllib.php execute_sql_arr(Array[1], false) % line 20, file: upgrade.php xmldb_questionnaire_upgrade(2007010801, Object:stdClass) % line 338, file: adminlib.php Scroll to previous warningErrorScroll to next warning ERROR: check constraint "mdl23_quesques_req_ck" is violated by some row ALTER TABLE mdl23_questionnaire_question ADD CONSTRAINT mdl23_quesques_req_ck CHECK (required IN ('y', 'n')) line 103 of lib/dmllib.php: call to debugging() line 2281 of lib/dmllib.php: call to execute_sql() line 20 of mod/questionnaire/db/upgrade.php: call to execute_sql_arr() line 338 of lib/adminlib.php: call to xmldb_questionnaire_upgrade() line 417 of admin/index.php: call to upgrade_activity_modules() ================================================================================================== Warning: pg_query() [function.pg-query]: Query failed: ERROR: check constraint "mdl23_quesques_del_ck" is violated by some row in /var/www/html/gcm77/moodle23/lib/adodb/drivers/adodb-postgres7.inc.php on line 115 -1: ERROR: check constraint "mdl23_quesques_del_ck" is violated by some row ADOConnection._Execute(ALTER TABLE mdl23_questionnaire_question ADD CONSTRAINT mdl23_quesques_del_ck CHECK (deleted IN ('y', 'n')), false) % line 891, file: adodb.inc.php ADOConnection.Execute(ALTER TABLE mdl23_questionnaire_question ADD CONSTRAINT mdl23_quesques_del_ck CHECK (deleted IN ('y', 'n'))) % line 89, file: dmllib.php execute_sql(ALTER TABLE mdl23_questionnaire_question ADD CONSTRAINT mdl23_quesques_del_ck CHECK (deleted IN ('y', 'n')), true) % line 2281, file: dmllib.php execute_sql_arr(Array[1], false) % line 25, file: upgrade.php xmldb_questionnaire_upgrade(2007010801, Object:stdClass) % line 338, file: adminlib.php Scroll to previous warningErrorScroll to next warning ERROR: check constraint "mdl23_quesques_del_ck" is violated by some row ALTER TABLE mdl23_questionnaire_question ADD CONSTRAINT mdl23_quesques_del_ck CHECK (deleted IN ('y', 'n')) line 103 of lib/dmllib.php: call to debugging() line 2281 of lib/dmllib.php: call to execute_sql() line 25 of mod/questionnaire/db/upgrade.php: call to execute_sql_arr() line 338 of lib/adminlib.php: call to xmldb_questionnaire_upgrade() line 417 of admin/index.php: call to upgrade_activity_modules() ================================================================================================== Warning: pg_query() [function.pg-query]: Query failed: ERROR: check constraint "mdl23_quesques_pub_ck" is violated by some row in /var/www/html/gcm77/moodle23/lib/adodb/drivers/adodb-postgres7.inc.php on line 115 -1: ERROR: check constraint "mdl23_quesques_pub_ck" is violated by some row ADOConnection._Execute(ALTER TABLE mdl23_questionnaire_question ADD CONSTRAINT mdl23_quesques_pub_ck CHECK (public IN ('y', 'n')), false) % line 891, file: adodb.inc.php ADOConnection.Execute(ALTER TABLE mdl23_questionnaire_question ADD CONSTRAINT mdl23_quesques_pub_ck CHECK (public IN ('y', 'n'))) % line 89, file: dmllib.php execute_sql(ALTER TABLE mdl23_questionnaire_question ADD CONSTRAINT mdl23_quesques_pub_ck CHECK (public IN ('y', 'n')), true) % line 2281, file: dmllib.php execute_sql_arr(Array[1], false) % line 30, file: upgrade.php xmldb_questionnaire_upgrade(2007010801, Object:stdClass) % line 338, file: adminlib.php Scroll to previous warningErrorScroll to next warning ERROR: check constraint "mdl23_quesques_pub_ck" is violated by some row ALTER TABLE mdl23_questionnaire_question ADD CONSTRAINT mdl23_quesques_pub_ck CHECK (public IN ('y', 'n')) line 103 of lib/dmllib.php: call to debugging() line 2281 of lib/dmllib.php: call to execute_sql() line 30 of mod/questionnaire/db/upgrade.php: call to execute_sql_arr() line 338 of lib/adminlib.php: call to xmldb_questionnaire_upgrade() line 417 of admin/index.php: call to upgrade_activity_modules() ================================================================================================== Warning: pg_query() [function.pg-query]: Query failed: ERROR: check constraint "mdl23_quesquestype_has_ck" is violated by some row in /var/www/html/gcm77/moodle23/lib/adodb/drivers/adodb-postgres7.inc.php on line 115 -1: ERROR: check constraint "mdl23_quesquestype_has_ck" is violated by some row ADOConnection._Execute(ALTER TABLE mdl23_questionnaire_question_type ADD CONSTRAINT mdl23_quesquestype_has_ck CHECK (has_choices IN ('y', 'n')), false) % line 891, file: adodb.inc.php ADOConnection.Execute(ALTER TABLE mdl23_questionnaire_question_type ADD CONSTRAINT mdl23_quesquestype_has_ck CHECK (has_choices IN ('y', 'n'))) % line 89, file: dmllib.php execute_sql(ALTER TABLE mdl23_questionnaire_question_type ADD CONSTRAINT mdl23_quesquestype_has_ck CHECK (has_choices IN ('y', 'n')), true) % line 2281, file: dmllib.php execute_sql_arr(Array[1], false) % line 40, file: upgrade.php xmldb_questionnaire_upgrade(2007010801, Object:stdClass) % line 338, file: adminlib.php Scroll to previous warningErrorScroll to next warning ERROR: check constraint "mdl23_quesquestype_has_ck" is violated by some row ALTER TABLE mdl23_questionnaire_question_type ADD CONSTRAINT mdl23_quesquestype_has_ck CHECK (has_choices IN ('y', 'n')) line 103 of lib/dmllib.php: call to debugging() line 2281 of lib/dmllib.php: call to execute_sql() line 40 of mod/questionnaire/db/upgrade.php: call to execute_sql_arr() line 338 of lib/adminlib.php: call to xmldb_questionnaire_upgrade() line 417 of admin/index.php: call to upgrade_activity_modules() ================================================================================================== Warning: pg_query() [function.pg-query]: Query failed: ERROR: check constraint "mdl23_quessurv_pub_ck" is violated by some row in /var/www/html/gcm77/moodle23/lib/adodb/drivers/adodb-postgres7.inc.php on line 115 -1: ERROR: check constraint "mdl23_quessurv_pub_ck" is violated by some row ADOConnection._Execute(ALTER TABLE mdl23_questionnaire_survey ADD CONSTRAINT mdl23_quessurv_pub_ck CHECK (public IN ('y', 'n')), false) % line 891, file: adodb.inc.php ADOConnection.Execute(ALTER TABLE mdl23_questionnaire_survey ADD CONSTRAINT mdl23_quessurv_pub_ck CHECK (public IN ('y', 'n'))) % line 89, file: dmllib.php execute_sql(ALTER TABLE mdl23_questionnaire_survey ADD CONSTRAINT mdl23_quessurv_pub_ck CHECK (public IN ('y', 'n')), true) % line 2281, file: dmllib.php execute_sql_arr(Array[1], false) % line 70, file: upgrade.php xmldb_questionnaire_upgrade(2007010801, Object:stdClass) % line 338, file: adminlib.php Scroll to previous warningErrorScroll to next warning ERROR: check constraint "mdl23_quessurv_pub_ck" is violated by some row ALTER TABLE mdl23_questionnaire_survey ADD CONSTRAINT mdl23_quessurv_pub_ck CHECK (public IN ('y', 'n')) line 103 of lib/dmllib.php: call to debugging() line 2281 of lib/dmllib.php: call to execute_sql() line 70 of mod/questionnaire/db/upgrade.php: call to execute_sql_arr() line 338 of lib/adminlib.php: call to xmldb_questionnaire_upgrade() line 417 of admin/index.php: call to upgrade_activity_modules() ================================================================================================== Scroll to previous warningUpgrading questionnaire from 2007010801 to 2007120102 FAILED! Scroll to continue button