|
Is it only me having this issue?
Urs Hunkler made changes - 13/Jul/07 02:34 PM
cvs update again ... I just fixed this
Martin Dougiamas made changes - 13/Jul/07 02:56 PM
Brand new test install on 1.9 Beta, pulled from CVS on 08/17/2007, getting this error:
New version of Global Search (search) exists adodb_mysql._execute(ALTER TABLE `mdl_search_documents` ADD `item_type` VARCHAR( 32 ) NOT NULL AFTER `doctype`, false) % line 891, file: adodb.inc.php ErrorScroll to next warning (mysql): ALTER TABLE `mdl_search_documents` ADD INDEX ( `item_type` ) 1146: Table 'moodle3.mdl_search_documents' doesn't exist adodb_mysql._execute(ALTER TABLE `mdl_search_documents` ADD INDEX ( `item_type` ), false) % line 891, file: adodb.inc.php Scroll to previous warningErrorScroll to next warning (mysql): ALTER TABLE `mdl_search_documents` CHANGE `doctype` `doctype` VARCHAR( 32 ) DEFAULT 'none' 1146: Table 'moodle3.mdl_search_documents' doesn't exist adodb_mysql._execute(ALTER TABLE `mdl_search_documents` CHANGE `doctype` `doctype` VARCHAR( 32 ) DEFAULT 'none', false) % line 891, file: adodb.inc.php Scroll to previous warningErrorScroll to next warning (mysql): ALTER TABLE `mdl_search_documents` CHANGE `title` `title` VARCHAR( 255 ) 1146: Table 'moodle3.mdl_search_documents' doesn't exist adodb_mysql._execute(ALTER TABLE `mdl_search_documents` CHANGE `title` `title` VARCHAR( 255 ), false) % line 891, file: adodb.inc.php Scroll to previous warningErrorScroll to next warning (mysql): ALTER TABLE `mdl_search_documents` CHANGE `url` `url` VARCHAR( 255 ) 1146: Table 'moodle3.mdl_search_documents' doesn't exist adodb_mysql._execute(ALTER TABLE `mdl_search_documents` CHANGE `url` `url` VARCHAR( 255 ), false) % line 891, file: adodb.inc.php Scroll to previous warningErrorScroll to next warning (mysql): ALTER TABLE `mdl_mdl_search_documents` CHANGE `docid` `docid` VARCHAR( 32 ) 1146: Table 'moodle3.mdl_mdl_search_documents' doesn't exist adodb_mysql._execute(ALTER TABLE `mdl_mdl_search_documents` CHANGE `docid` `docid` VARCHAR( 32 ), false) % line 891, file: adodb.inc.php Scroll to previous warningErrorScroll to continue button It may be worth noting that I had Global Search turned off in the 1.8 test install I upgraded this from.
Matt Campbell made changes - 18/Aug/07 01:14 AM
Nicolas, can you look into this? The upgrade.php and install.xml code looks OK. to me (in blocks/search/db)
Martin Dougiamas made changes - 21/Aug/07 01:40 PM
Ping.
I looked into it, performed two fresh 1.9 installations on 2 completely different machines... No problems at all. I''ll try upgrading from a 1.8 site I do NOT have this issue when I do an upgrade or fresh install using Moodle 1.9 Beta + (2007082200). If I try to use Moodle 1.9 Beta + (2007081700), I get this issue. Both versions pulled from CVS. Moving this back to resolved.
Matt Campbell made changes - 25/Aug/07 12:19 AM
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Page "Setting up block tables"
This script generated 6 warnings - Scroll to the first warning
New version of Global Search (search) exists
(mysql): ALTER TABLE `mdl_search_documents` ADD `item_type` VARCHAR( 32 ) NOT NULL AFTER `doctype`
1146: Table 'moodle_19.mdl_search_documents' doesn't exist
ADOConnection._Execute(ALTER TABLE `mdl_search_documents` ADD `item_type` VARCHAR( 32 ) NOT NULL AFTER `doctype`, false) % line 891, file: adodb.inc.php
ADOConnection.Execute(ALTER TABLE `mdl_search_documents` ADD `item_type` VARCHAR( 32 ) NOT NULL AFTER `doctype`) % line 89, file: dmllib.php
execute_sql(ALTER TABLE `mdl_search_documents` ADD `item_type` VARCHAR( 32 ) NOT NULL AFTER `doctype` ) % line 233, file: dmllib.php
modify_database(, ALTER TABLE `mdl_search_documents` ADD `item_type` VARCHAR( 32 ) NOT NULL AFTER `doctype` ; ) % line 17, file: mysql.php
search_upgrade(2006062500, Object:stdClass) % line 1252, file: blocklib.php
ErrorScroll to next warning
(mysql): ALTER TABLE `mdl_search_documents` ADD INDEX ( `item_type` )
1146: Table 'moodle_19.mdl_search_documents' doesn't exist
ADOConnection._Execute(ALTER TABLE `mdl_search_documents` ADD INDEX ( `item_type` ), false) % line 891, file: adodb.inc.php
ADOConnection.Execute(ALTER TABLE `mdl_search_documents` ADD INDEX ( `item_type` )) % line 89, file: dmllib.php
execute_sql(ALTER TABLE `mdl_search_documents` ADD INDEX ( `item_type` ) ) % line 233, file: dmllib.php
modify_database(, ALTER TABLE `mdl_search_documents` ADD INDEX ( `item_type` ) ; ) % line 18, file: mysql.php
search_upgrade(2006062500, Object:stdClass) % line 1252, file: blocklib.php
Scroll to previous warningErrorScroll to next warning
(mysql): ALTER TABLE `mdl_search_documents` CHANGE `doctype` `doctype` VARCHAR( 32 ) DEFAULT 'none'
1146: Table 'moodle_19.mdl_search_documents' doesn't exist
ADOConnection._Execute(ALTER TABLE `mdl_search_documents` CHANGE `doctype` `doctype` VARCHAR( 32 ) DEFAULT 'none', false) % line 891, file: adodb.inc.php
ADOConnection.Execute(ALTER TABLE `mdl_search_documents` CHANGE `doctype` `doctype` VARCHAR( 32 ) DEFAULT 'none') % line 89, file: dmllib.php
execute_sql(ALTER TABLE `mdl_search_documents` CHANGE `doctype` `doctype` VARCHAR( 32 ) DEFAULT 'none' ) % line 233, file: dmllib.php
modify_database(, ALTER TABLE `mdl_search_documents` CHANGE `doctype` `doctype` VARCHAR( 32 ) DEFAULT 'none' ; ) % line 19, file: mysql.php
search_upgrade(2006062500, Object:stdClass) % line 1252, file: blocklib.php
Scroll to previous warningErrorScroll to next warning
(mysql): ALTER TABLE `mdl_search_documents` CHANGE `title` `title` VARCHAR( 255 )
1146: Table 'moodle_19.mdl_search_documents' doesn't exist
ADOConnection._Execute(ALTER TABLE `mdl_search_documents` CHANGE `title` `title` VARCHAR( 255 ), false) % line 891, file: adodb.inc.php
ADOConnection.Execute(ALTER TABLE `mdl_search_documents` CHANGE `title` `title` VARCHAR( 255 )) % line 89, file: dmllib.php
execute_sql(ALTER TABLE `mdl_search_documents` CHANGE `title` `title` VARCHAR( 255 ) ) % line 233, file: dmllib.php
modify_database(, ALTER TABLE `mdl_search_documents` CHANGE `title` `title` VARCHAR( 255 ) ; ) % line 20, file: mysql.php
search_upgrade(2006062500, Object:stdClass) % line 1252, file: blocklib.php
Scroll to previous warningErrorScroll to next warning
(mysql): ALTER TABLE `mdl_search_documents` CHANGE `url` `url` VARCHAR( 255 )
1146: Table 'moodle_19.mdl_search_documents' doesn't exist
ADOConnection._Execute(ALTER TABLE `mdl_search_documents` CHANGE `url` `url` VARCHAR( 255 ), false) % line 891, file: adodb.inc.php
ADOConnection.Execute(ALTER TABLE `mdl_search_documents` CHANGE `url` `url` VARCHAR( 255 )) % line 89, file: dmllib.php
execute_sql(ALTER TABLE `mdl_search_documents` CHANGE `url` `url` VARCHAR( 255 ) ) % line 233, file: dmllib.php
modify_database(, ALTER TABLE `mdl_search_documents` CHANGE `url` `url` VARCHAR( 255 ) ; ) % line 21, file: mysql.php
search_upgrade(2006062500, Object:stdClass) % line 1252, file: blocklib.php
Scroll to previous warningErrorScroll to next warning
(mysql): ALTER TABLE `mdl_mdl_search_documents` CHANGE `docid` `docid` VARCHAR( 32 )
1146: Table 'moodle_19.mdl_mdl_search_documents' doesn't exist
ADOConnection._Execute(ALTER TABLE `mdl_mdl_search_documents` CHANGE `docid` `docid` VARCHAR( 32 ), false) % line 891, file: adodb.inc.php
ADOConnection.Execute(ALTER TABLE `mdl_mdl_search_documents` CHANGE `docid` `docid` VARCHAR( 32 )) % line 89, file: dmllib.php
execute_sql(ALTER TABLE `mdl_mdl_search_documents` CHANGE `docid` `docid` VARCHAR( 32 ) ) % line 233, file: dmllib.php
modify_database(, ALTER TABLE `mdl_mdl_search_documents` CHANGE `docid` `docid` VARCHAR( 32 ) ; ) % line 22, file: mysql.php
search_upgrade(2006062500, Object:stdClass) % line 1252, file: blocklib.php
Scroll to previous warningErrorScroll to continue button
Global Search tables have been set up correctly