Forum LAMS Lounge Forum: lamstwo setup errors on Moodle installation


 
You may request notification for lamstwo setup errors on Moodle installation.
Search: 

1: lamstwo setup errors on Moodle installation
11/20/10 03:49 PM
[ Reply | Forward ]
I have just uploaded lamstwo to my server on a Moodle 1.9.9 build. The result is about 7 different sets of errors that are not allowing lamstwo to be installed on my Moodle. Is there a different version of lamstwo that does not have bugs that I missed on your site?

Sorry I am not more helpful than this. I am going to take a copy of errors and post them here for you to review. This is the 3rd time that I have tried to install lamstwo. I even went so far as to delete the standard lams from the root directory in case there was a conflict between the two directories.

Thank you in advance for your time and help. Jennie - jennie@the3rdgoal.org

=====

This script generated 7 warnings - Scroll to the first warning

lamstwo

(mysql): CREATE TABLE mdl_lamstwo ( id BIGINT(10) unsigned NOT NULL auto_increment, course BIGINT(10) unsigned NOT NULL DEFAULT 0, name VARCHAR(255) NOT NULL DEFAULT '', intro TEXT NOT NULL, timemodified BIGINT(10) unsigned NOT NULL DEFAULT 0, CONSTRAINT PRIMARY KEY (id) )
1050: Table 'mdl_lamstwo' already exists
ADOConnection._Execute(CREATE TABLE mdl_lamstwo (
id BIGINT(10) unsigned NOT NULL auto_increment,
course BIGINT(10) unsigned NOT NULL DEFAULT 0..., false) % line 891, file: adodb.inc.php
ADOConnection.Execute(CREATE TABLE mdl_lamstwo (
id BIGINT(10) unsigned NOT NULL auto_increment,
course BIGINT(10) unsigned NOT NULL DEFAULT 0...) % line 89, file: dmllib.php
execute_sql(CREATE TABLE mdl_lamstwo (
id BIGINT(10) unsigned NOT NULL auto_increment,
course BIGINT(10) unsigned NOT NULL DEFAULT 0..., true) % line 2302, file: dmllib.php
execute_sql_arr(Array[10]) % line 635, file: ddllib.php
install_from_xmldb_file(/home/content/j/e/n/jenielou/html/the3rdgoal/mod/lamstwo/db/install.xml) % line 390, file: adminlib.php
ErrorScroll to next warning
(mysql): ALTER TABLE mdl_lamstwo COMMENT='LAMS module'
Success
(mysql): CREATE TABLE mdl_lamstwo_lesson ( id BIGINT(10) unsigned NOT NULL auto_increment, course BIGINT(10) unsigned NOT NULL DEFAULT 0, lamstwo BIGINT(10) unsigned NOT NULL DEFAULT 0, name VARCHAR(255) NOT NULL DEFAULT '', intro TEXT NOT NULL, groupid BIGINT(20) DEFAULT 0, sequence_id BIGINT(20) unsigned DEFAULT 0, lesson_id BIGINT(20) unsigned DEFAULT 0, timemodified BIGINT(10) unsigned NOT NULL DEFAULT 0, CONSTRAINT PRIMARY KEY (id) )
1050: Table 'mdl_lamstwo_lesson' already exists
ADOConnection._Execute(CREATE TABLE mdl_lamstwo_lesson (
id BIGINT(10) unsigned NOT NULL auto_increment,
course BIGINT(10) unsigned NOT NULL DE..., false) % line 891, file: adodb.inc.php
ADOConnection.Execute(CREATE TABLE mdl_lamstwo_lesson (
id BIGINT(10) unsigned NOT NULL auto_increment,
course BIGINT(10) unsigned NOT NULL DE...) % line 89, file: dmllib.php
execute_sql(CREATE TABLE mdl_lamstwo_lesson (
id BIGINT(10) unsigned NOT NULL auto_increment,
course BIGINT(10) unsigned NOT NULL DE..., true) % line 2302, file: dmllib.php
execute_sql_arr(Array[10]) % line 635, file: ddllib.php
install_from_xmldb_file(/home/content/j/e/n/jenielou/html/the3rdgoal/mod/lamstwo/db/install.xml) % line 390, file: adminlib.php
Scroll to previous warningErrorScroll to next warning
(mysql): ALTER TABLE mdl_lamstwo_lesson COMMENT='LAMS lesson'
Success
(mysql): CREATE TABLE mdl_lamstwo_grade ( id BIGINT(10) unsigned NOT NULL auto_increment, lamstwolesson BIGINT(10) unsigned NOT NULL DEFAULT 0, user BIGINT(10) unsigned NOT NULL DEFAULT 0, completed TINYINT(1) unsigned DEFAULT 0, CONSTRAINT PRIMARY KEY (id) )
1050: Table 'mdl_lamstwo_grade' already exists
ADOConnection._Execute(CREATE TABLE mdl_lamstwo_grade (
id BIGINT(10) unsigned NOT NULL auto_increment,
lamstwolesson BIGINT(10) unsigned NOT N..., false) % line 891, file: adodb.inc.php
ADOConnection.Execute(CREATE TABLE mdl_lamstwo_grade (
id BIGINT(10) unsigned NOT NULL auto_increment,
lamstwolesson BIGINT(10) unsigned NOT N...) % line 89, file: dmllib.php
execute_sql(CREATE TABLE mdl_lamstwo_grade (
id BIGINT(10) unsigned NOT NULL auto_increment,
lamstwolesson BIGINT(10) unsigned NOT N..., true) % line 2302, file: dmllib.php
execute_sql_arr(Array[10]) % line 635, file: ddllib.php
install_from_xmldb_file(/home/content/j/e/n/jenielou/html/the3rdgoal/mod/lamstwo/db/install.xml) % line 390, file: adminlib.php
Scroll to previous warningErrorScroll to next warning
(mysql): ALTER TABLE mdl_lamstwo_grade COMMENT='LAMS user grade'
Success
(mysql): INSERT INTO mdl_log_display(module, action, mtable, field) VALUES ('lamstwo', 'add', 'lamstwo', 'name')
1062: Duplicate entry 'lamstwo-add' for key 2
ADOConnection._Execute(INSERT INTO mdl_log_display(module, action, mtable, field) VALUES ('lamstwo', 'add', 'lamstwo', 'name'), false) % line 891, file: adodb.inc.php
ADOConnection.Execute(INSERT INTO mdl_log_display(module, action, mtable, field) VALUES ('lamstwo', 'add', 'lamstwo', 'name')) % line 89, file: dmllib.php
execute_sql(INSERT INTO mdl_log_display(module, action, mtable, field) VALUES ('lamstwo', 'add', 'lamstwo', 'name'), true) % line 2302, file: dmllib.php
execute_sql_arr(Array[10]) % line 635, file: ddllib.php
install_from_xmldb_file(/home/content/j/e/n/jenielou/html/the3rdgoal/mod/lamstwo/db/install.xml) % line 390, file: adminlib.php
Scroll to previous warningErrorScroll to next warning
(mysql): INSERT INTO mdl_log_display(module, action, mtable, field) VALUES ('lamstwo', 'add lesson', 'lamstwo_lesson', 'name')
1062: Duplicate entry 'lamstwo-add lesson' for key 2
ADOConnection._Execute(INSERT INTO mdl_log_display(module, action, mtable, field) VALUES ('lamstwo', 'add lesson', 'lamstwo_lesson', 'name'), false) % line 891, file: adodb.inc.php
ADOConnection.Execute(INSERT INTO mdl_log_display(module, action, mtable, field) VALUES ('lamstwo', 'add lesson', 'lamstwo_lesson', 'name')) % line 89, file: dmllib.php
execute_sql(INSERT INTO mdl_log_display(module, action, mtable, field) VALUES ('lamstwo', 'add lesson', 'lamstwo_lesson', 'name'), true) % line 2302, file: dmllib.php
execute_sql_arr(Array[10]) % line 635, file: ddllib.php
install_from_xmldb_file(/home/content/j/e/n/jenielou/html/the3rdgoal/mod/lamstwo/db/install.xml) % line 390, file: adminlib.php
Scroll to previous warningErrorScroll to next warning
(mysql): INSERT INTO mdl_log_display(module, action, mtable, field) VALUES ('lamstwo', 'update', 'lamstwo', 'name')
1062: Duplicate entry 'lamstwo-update' for key 2
ADOConnection._Execute(INSERT INTO mdl_log_display(module, action, mtable, field) VALUES ('lamstwo', 'update', 'lamstwo', 'name'), false) % line 891, file: adodb.inc.php
ADOConnection.Execute(INSERT INTO mdl_log_display(module, action, mtable, field) VALUES ('lamstwo', 'update', 'lamstwo', 'name')) % line 89, file: dmllib.php
execute_sql(INSERT INTO mdl_log_display(module, action, mtable, field) VALUES ('lamstwo', 'update', 'lamstwo', 'name'), true) % line 2302, file: dmllib.php
execute_sql_arr(Array[10]) % line 635, file: ddllib.php
install_from_xmldb_file(/home/content/j/e/n/jenielou/html/the3rdgoal/mod/lamstwo/db/install.xml) % line 390, file: adminlib.php
Scroll to previous warningErrorScroll to next warning
(mysql): INSERT INTO mdl_log_display(module, action, mtable, field) VALUES ('lamstwo', 'view lamstwo', 'lamstwo', 'name')
1062: Duplicate entry 'lamstwo-view lamstwo' for key 2
ADOConnection._Execute(INSERT INTO mdl_log_display(module, action, mtable, field) VALUES ('lamstwo', 'view lamstwo', 'lamstwo', 'name'), false) % line 891, file: adodb.inc.php
ADOConnection.Execute(INSERT INTO mdl_log_display(module, action, mtable, field) VALUES ('lamstwo', 'view lamstwo', 'lamstwo', 'name')) % line 89, file: dmllib.php
execute_sql(INSERT INTO mdl_log_display(module, action, mtable, field) VALUES ('lamstwo', 'view lamstwo', 'lamstwo', 'name'), true) % line 2302, file: dmllib.php
execute_sql_arr(Array[10]) % line 635, file: ddllib.php
install_from_xmldb_file(/home/content/j/e/n/jenielou/html/the3rdgoal/mod/lamstwo/db/install.xml) % line 390, file: adminlib.php
Scroll to previous warningErrorScroll to continue button

lamstwo tables could NOT be set up successfully!

Posted by Jennie Lawrence

2: Re: lamstwo setup errors on Moodle installation
In response to 1 11/20/10 04:55 PM
[ Reply | Forward ]
Hello again,

I just did a complete delete of the lamstwo application from my root directory. I have also reinstalled the standard lams again. I may have been mistaken about it being an application problem on your side. But not sure how to proceed again. Most of the error reports above suggest that I had 2 instances of the same file or folder.

I am also getting use to a new MacBook Pro laptop. Making use of all Mac applications including filezilla.

Thank you for your time. Jennie

Posted by Jennie Lawrence

3: Re: lamstwo setup errors on Moodle installation
In response to 1 11/21/10 04:16 PM
[ Reply | Forward ]
Hi Jennie,

For the errors you are getting it seems that you already have the LAMS2 module installed in Moodle.

If you go to the configuration for Activities in Moodle, are you able to see the LAMS2 module?

Thanks,

Ernie

Posted by Ernie Ghiglione

4: Re: Re: lamstwo setup errors on Moodle installation
In response to 3 11/21/10 05:51 PM
[ Reply | Forward ]
HI Ernie,

Yes, there is a LAMS already present; however, its just listed as LAMS. Will attempt to connect from there. I have recently purchased a MacBook Pro Laptop and I have found myself in the 21st Century. Getting use to new computer and also I have been able to upload and install LAMS by localhost. So now the major difficulty is just getting it connected to Moodle.

Thanks for putting up with me and I do hope that you have a safe and warm Holiday this season. I am not the brightest bulb in the bunch but I keep trying.

Thanks for your help again.

Best,

Jennie

Posted by Jennie Lawrence

Reply to first post on this page
Back to LAMS Lounge Forum