New Install - Setting up plugin tables - fails

New Install - Setting up plugin tables - fails

Mark walsh -
回帖数:3

Hi

Just installed Moodle 1.6.1 onto a Win2003 Server, with IIS6, PHP 5.1.6 & MySQL 5.0.24.  Everything was going fine, created database, connected and confirmed the configuration details in Moodle in the first time run/installation options.  Everytime I try and run the install in the browser now, I get the following error:

Setting up plugin tables

 
 

calculated plugin needs upgrading


(mysql): CREATE TABLE mdl_question_calculated ( id int(10) unsigned NOT NULL auto_increment, question int(10) unsigned NOT NULL default '0', answer int(10) unsigned NOT NULL default '0', tolerance varchar(20) NOT NULL default '0.0', tolerancetype int(10) NOT NULL default '1', correctanswerlength int(10) NOT NULL default '2', correctanswerformat int(10) NOT NULL default '2', PRIMARY KEY (id), KEY question (question), KEY answer (answer)) TYPE=MyISAM COMMENT='Options for questions of type calculated'  
1050: Table 'mdl_question_calculated' already exists
         
      
   


Error

Installing calculated FAILED!

This is also repeated for the other plugins as well:

match plugin needs upgrading
multianswer plugin needs upgrading
multichoice plugin needs upgrading
numerical plugin needs upgrading
randomsamatch plugin needs upgrading
rqp plugin needs upgrading
shortanswer plugin needs upgrading
truefalse plugin needs upgrading

If I click continue at the bottom of the page, the same error listing is sown again.  If anyone has got any ideas on whats wrong I'd appreciate it if you could help me out!!

Thanks

 

回复Mark walsh

Re: New Install - Setting up plugin tables - fails

Iñaki Arenaza -
Core developers的头像 Documentation writers的头像 Peer reviewers的头像 Plugin developers的头像
Drop all the tables in the database and start the installation again. This is the only way I know to fix this issue.

Saludos. Iñaki.
回复Iñaki Arenaza

Re: New Install - Setting up plugin tables - fails

Dennis Flynn -

Worked for me.  I had to drop the database and start the install from scratch 3 times though.  Not sure if this was it or not, but right before you get to the plugin update screen that shows the errors, there's a hyperlink for "Continue" instead of a button.  I think I clicked on that link the first 2 times; the last time I just waited and it automatically advanced to the plugin update screen and was successful.  Again, not sure if that mattered at all, or just continually trying a fresh database till the install completes was the ultimate solution.

回复Dennis Flynn

Re: New Install - Setting up plugin tables - fails

Douglas Edwards -
Yes,
I was did not wait either and got the errors everyone is talking about. I wasn't sure if I needed to wait longer because there is no indicator, but it does say wait.

I'm going to try what you did and wait this time.

Thanks.