I am trying to upgrade from Moodle 1.5.2 to 1.7 (downloaded on the 17th January -latest build). I am using Windows XP Apache 2.052.
I have upgraded to php 5.1.2 and MySQL 5.0.27 - I did test Moodle after each of these two upgrades and all seemed to be well, but I could have missed something.
I installed Moodle copied back my config file and my additional block and modules (not sure what to do about the lang files as 1.7 seems to have moved all the lang to en_utf8 and all mine were in en, but I'll worry about that later).
The database upgraded with errors (about 21) similar at first glance to this thread http://moodle.org/mod/forum/discuss.php?d=62801. Then it got stuck in a loop trying to update the module tables with messages similar to this thread http://moodle.org/mod/forum/discuss.php?d=62646
This is the opening salvo of errors on the database upgrade
(mysql): DELETE FROM mdl_modules WHERE name = 'dialogue'
The Dialogue module has been discontinued and removed from your site. You weren't using it anyway.
(mysql): CREATE TABLE mdl_post ( `id` int(10) unsigned NOT NULL auto_increment, `userid` int(10) unsigned NOT NULL default '0', `courseid` int(10) unsigned NOT NULL default'0', `groupid` int(10) unsigned NOT NULL default'0', `moduleid` int(10) unsigned NOT NULL default'0', `coursemoduleid` int(10) unsigned NOT NULL default'0', `subject` varchar(128) NOT NULL default '', `summary` longtext, `content` longtext, `uniquehash` varchar(128) NOT NULL default '', `rating` int(10) unsigned NOT NULL default'0', `format` int(10) unsigned NOT NULL default'0', `publishstate` enum('draft','site','public') NOT NULL default 'draft', `lastmodified` int(10) unsigned NOT NULL default '0', `created` int(10) unsigned NOT NULL default '0', PRIMARY KEY (`id`), UNIQUE KEY `id_user_idx` (`id`, `userid`), KEY `post_lastmodified_idx` (`lastmodified`), KEY `post_subject_idx` (`subject`) ) TYPE=MyISAM COMMENT='New moodle post table. Holds data posts such as forum entries or blog entries.' 1105: Too long comment for table 'mdl_post'
ADOConnection._Execute(CREATE TABLE mdl_post (
`id` int(10) unsigned NOT NULL auto_increment,
`userid` int(10) unsigned NOT NULL de..., false) % line 889, file: adodb.inc.php
ADOConnection.Execute(CREATE TABLE mdl_post (
`id` int(10) unsigned NOT NULL auto_increment,
`userid` int(10) unsigned NOT NULL de...) % line 71, file: dmllib.php
execute_sql(CREATE TABLE mdl_post (
`id` int(10) unsigned NOT NULL auto_increment,
`userid` int(10) unsigned NOT NULL de...) % line 215, file: dmllib.php
modify_database(, CREATE TABLE prefix_post (
`id` int(10) unsigned NOT NULL auto_increment,
`userid` int(10) unsigned NOT NULL...) % line 1694, file: mysql.php
main_upgrade(2005060220) % line 252, file: index.php
Scroll to previous warningErrorScroll to next warning
Then it goes on to
(mysql): ALTER TABLE mdl_post ADD module VARCHAR(20) DEFAULT '' not null AFTER `id` 1146: Table 'pinemoo.mdl_post' doesn't exist
I have all the errors about the comments being too long too, but I'm more worried about the fact that it keeps telling me whole tables don't exist.
I did see a thread mentioning about case sensitivity on the table prefix and wondered it that might have something to do with it as when I first logged into Moodle it told me that the lowercase c in the config file should be a capital C.
I'll start again and see what happens, but if anyone can suggest anything, I'd be delighted to hear as I think I have information overload. I don't really want to have to tinker with the code in the lib file for the comments too long as suggested by one of the threads if I don't have to as I have multiple installs of moodle to upgrade.
Many thanks
Heather