plz help me withe installion on xp or 2003

plz help me withe installion on xp or 2003

by Emad El Gergawe -
Number of replies: 5

I have trying to install moodle for more than a week now but unfortunately no luck

In the xp it is all ok tell this screen

Setting up module tables

Home » Setting up module tables

choice

----- (mysql): CREATE TABLE mdl_choice ( id int(10) unsigned NOT NULL auto_increment, course int(10) unsigned NOT NULL default '0', name varchar(255) NOT NULL default '', text text NOT NULL, format tinyint(2) unsigned NOT NULL default '0', answer1 varchar(255) NOT NULL default 'Yes', answer2 varchar(255) NOT NULL default 'No', answer3 varchar(255) default NULL, answer4 varchar(255) default NULL, answer5 varchar(255) default NULL, answer6 varchar(255) default NULL, publish tinyint(2) unsigned NOT NULL default '0', release tinyint(2) unsigned NOT NULL default '0', allowupdate tinyint(2) unsigned NOT NULL default '0', showunanswered tinyint(2) unsigned NOT NULL default '0', timeopen int(10) unsigned NOT NULL default '0', timeclose int(10) unsigned NOT NULL default '0', timemodified int(10) unsigned NOT NULL default '0', PRIMARY KEY (id), UNIQUE KEY id (id), KEY course (course)) TYPE=MyISAM COMMENT='Available choices are stored here.' ----- 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'release tinyint(2) unsigned NOT NULL default '0', allowupdate tinyint(2) unsign' at line 1

choice

it gives me an error

Error

----- (mysql): CREATE TABLE mdl_choice_answers ( id int(10) unsigned NOT NULL auto_increment, choice int(10) unsigned NOT NULL default '0', userid int(10) unsigned NOT NULL default '0', answer tinyint(4) NOT NULL default '0', timemodified int(10) NOT NULL default '0', PRIMARY KEY (id), UNIQUE KEY id (id), KEY userid (userid), KEY choice (choice)) TYPE=MyISAM ----- 1050: Table 'mdl_choice_answers' already exists

ADODB_mysql._Execute(CREATE TABLE mdl_choice_answers ( id int(10) unsigned NOT NULL ..., false) % line 804, file: adodb.inc.php

ADODB_mysql.Execute(CREATE TABLE mdl_choice_answers ( id int(10) unsigned NOT NULL ...) % line 30, file: datalib.php

execute_sql(CREATE TABLE mdl_choice_answers ( id int(10) unsigned NOT NULL ...) % line 152, file: datalib.php

modify_database(C:\Inetpub\wwwroot\moodle/mod/choice/db/mysql.sql) % line 178, file: adminlib.php

upgrade_activity_modules(http://192.168.0.40:81/moodle/admin/index.php) % line 231, file: index.php

Error

----- (mysql): INSERT INTO mdl_log_display VALUES ('choice', 'view', 'choice', 'name') -----

Success

And keeps on coming back

i have given full permation to the batabase to public just in case it was a permation thing but no luck

using mysql 5

and php 5 on a xp

plz help thank you

Average of ratings: -
In reply to Emad El Gergawe

إعادة: plz help me withe installion on xp or 2003

by Emad El Gergawe -

ok don يَغْمِز

but now stuk at the first page desin or so

every i make changese and save the

it takes me to a blunk page ?

In reply to Emad El Gergawe

Re: ÅÚÇÏÉ: plz help me withe installion on xp or 2003

by Dan Marsden -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers Picture of Plugins guardians Picture of Testers Picture of Translators

sounds strange - could be an issue with mysql 5 - I don't know how many people have tested moodle with mysql 5 - it looks like you were performing an upgrade - what version did you upgrade from, and can you provide details on the structure of your choice tables?

smile

Dan

In reply to Dan Marsden

Re: ÅÚÇÏÉ: plz help me withe installion on xp or 2003

by Dan Marsden -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers Picture of Plugins guardians Picture of Testers Picture of Translators

this is a bug http://moodle.org/bugs/bug.php?op=show&bugid=3062&pos=21

release is a reserved name in mysql.

- it should be fixed relatively soon.

In reply to Dan Marsden

إعادة: Re: إعادة: plz help me withe installion on xp or 2003

by Emad El Gergawe -

This is the eshuoo when trying from the xp system. and mysql ver 5

When going over to the 2003 server and installed mysql 4.X the problem is solved

But another thing comes witch is this screen and keeps on coming back

Site settings

configintrosite

Top of Form 1

Full site name:

Short name for site (eg single word):

Front Page Description:


Write carefully http://localhost/help.php?module=moodle&file=writing.html
About the HTML editor http://localhost/help.php?module=moodle&file=richtext.html

@import url(http://localhost/lib/editor/htmlarea.css);

 how can i
In reply to Dan Marsden

file to comment out the release reserved word

by Emmanuel Moyo -
where do I find the file that i can edit to correct comment out th release reserved word