Upgrading error till 1.9.5+

Upgrading error till 1.9.5+

by Егор Гриневич -
Number of replies: 0
Hello. I have a problem with upgrading moodle 1.9.4+ till 1.9.5+

This script generated 3 warnings - Scroll to the first warning

Language import utility: ru_utf8 ...

Обновление базы данных системы с 1.9.4+ (Build: 20090204) (2007101542) до 1.9.5+ (Build: 20090924) (2007101551)...


(mssql_n): DELETE FROM mdl_cache_text  


Warning: mssql_query() [function.mssql-query]: Query failed in D:\moodle\lib\adodb\drivers\adodb-mssql.inc.php on line 715
:
                          


DELETE FROM mdl_cache_text
  • line 1377 of lib\dmllib.php: call to debugging()
  • line 1702 of lib\weblib.php: call to delete_records()
  • line 73 of filter\tex\lib.php: call to reset_text_filters_cache()
  • line 3111 of lib\db\upgrade.php: call to filter_tex_updatedcallback()
  • line 369 of admin\index.php: call to xmldb_main_upgrade()

(mssql_n): DELETE FROM mdl_cache_filters WHERE filter = 'tex'  

mssql_n internal transformation:
DELETE FROM mdl_cache_filters WHERE filter = 'tex'
to
DELETE FROM mdl_cache_filters WHERE filter = N'tex'

Warning: mssql_query() [function.mssql-query]: Query failed in D:\moodle\lib\adodb\drivers\adodb-mssql.inc.php on line 715
:
                  


DELETE FROM mdl_cache_filters WHERE filter = 'tex'
  • line 1377 of lib\dmllib.php: call to debugging()
  • line 85 of filter\tex\lib.php: call to delete_records()
  • line 3111 of lib\db\upgrade.php: call to filter_tex_updatedcallback()
  • line 369 of admin\index.php: call to xmldb_main_upgrade()

(mssql_n): DELETE FROM mdl_cache_filters WHERE filter = 'algebra'  

mssql_n internal transformation:
DELETE FROM mdl_cache_filters WHERE filter = 'algebra'
to
DELETE FROM mdl_cache_filters WHERE filter = N'algebra'

Warning: mssql_query() [function.mssql-query]: Query failed in D:\moodle\lib\adodb\drivers\adodb-mssql.inc.php on line 715
:
                  


DELETE FROM mdl_cache_filters WHERE filter = 'algebra'
  • line 1377 of lib\dmllib.php: call to debugging()
  • line 86 of filter\tex\lib.php: call to delete_records()
  • line 3111 of lib\db\upgrade.php: call to filter_tex_updatedcallback()
  • line 369 of admin\index.php: call to xmldb_main_upgrade()

(mssql_n): SELECT top 1 name FROM mdl_config WHERE name = 'version'  

mssql_n internal transformation:
SELECT top 1 name FROM mdl_config WHERE name = 'version'
to
SELECT top 1 name FROM mdl_config WHERE name = N'version'

Warning: mssql_query() [function.mssql-query]: Query failed in D:\moodle\lib\adodb\drivers\adodb-mssql.inc.php on line 715
:
                                                        


SELECT name FROM mdl_config WHERE name = 'version'
  • line 686 of lib\dmllib.php: call to debugging()
  • line 1134 of lib\dmllib.php: call to get_recordset_sql()
  • line 1098 of lib\dmllib.php: call to get_field_sql()
  • line 663 of lib\moodlelib.php: call to get_field()
  • line 23 of lib\adminlib.php: call to set_config()
  • line 3113 of lib\db\upgrade.php: call to upgrade_main_savepoint()
  • line 369 of admin\index.php: call to xmldb_main_upgrade()

(mssql_n): SELECT * FROM mdl_config WHERE id = '-1'  


Warning: mssql_query() [function.mssql-query]: Query failed in D:\moodle\lib\adodb\drivers\adodb-mssql.inc.php on line 715
:
                          

(mssql_n): UPDATE mdl_grade_items SET aggregationcoef = 0 WHERE categoryid IN (SELECT gc.id FROM mdl_grade_categories gc WHERE gc.aggregation = 11)  


Warning: mssql_query() [function.mssql-query]: Query failed in D:\moodle\lib\adodb\drivers\adodb-mssql.inc.php on line 715
:
           


UPDATE mdl_grade_items SET aggregationcoef = 0 WHERE categoryid IN (SELECT gc.id FROM mdl_grade_categories gc WHERE gc.aggregation = 11)
  • line 103 of lib\dmllib.php: call to debugging()
  • line 3125 of lib\db\upgrade.php: call to execute_sql()
  • line 369 of admin\index.php: call to xmldb_main_upgrade()
Scroll to previous warningUpgrade savepoint: Error during main upgrade to version 2007101546.02Scroll to next warning
Scroll to previous warningMain Upgrade failed! See lib/db/upgrade.phpScroll to continue button
I will be grateful for any help
Average of ratings: -