Hola amigos!
He intentado agregar este módulo que adjunto en este mensaje pero no he tenido éxito.
Seguí los pasos comunes, agregué la carpeta correspondiente en el directorio Mod y la otra en el directorio Blocks, luego fui a Notificaciones y al intentar crear las tablas me salen 6 errores y me dice que el módulo no se ha creado con éxito.
Sólo puedo visualizarlo desde el panel de bloques pero no me aparece en "Actividades", supongo que es por los errores que me da al momento de crear las tablas.
Alguien lo usó? O tiene alguna otra opción o idea para controlar la asistencia de los alumnos en la plataforma?
Saludos y gracias por su tiempo.
P/D: este es el resultado al momento de hacer click en Notificaciones desde el panel del Administrador
This script generated 6 warnings - Scroll to the first warning
attforblock
(mysql): SHOW TABLES
(mysql): SHOW INDEX FROM mdl_attendance_log
(mysql): SHOW TABLES
(mysql): SHOW INDEX FROM mdl_attendance_log
(mysql): CREATE TABLE mdl_attforblock ( id BIGINT(10) unsigned NOT NULL auto_increment, course BIGINT(10) unsigned NOT NULL DEFAULT 0, name VARCHAR(255) DEFAULT NULL, grade BIGINT(10) NOT NULL DEFAULT 100, CONSTRAINT PRIMARY KEY (id) )
1050: Table 'mdl_attforblock' already exists
ADOConnection._Execute(CREATE TABLE mdl_attforblock ( id BIGINT(10) unsigned NOT NULL auto_increment, course BIGINT(10) unsigned NOT NULL DEFAU..., false) % line 891, file: adodb.inc.php ADOConnection.Execute(CREATE TABLE mdl_attforblock ( id BIGINT(10) unsigned NOT NULL auto_increment, course BIGINT(10) unsigned NOT NULL DEFAU...) % line 89, file: dmllib.php execute_sql(CREATE TABLE mdl_attforblock ( id BIGINT(10) unsigned NOT NULL auto_increment, course BIGINT(10) unsigned NOT NULL DEFAU..., true) % line 2302, file: dmllib.php execute_sql_arr(Array[10]) % line 635, file: ddllib.php install_from_xmldb_file(/var/www/sitios/catedras-moodle/mod/attforblock/db/install.xml) % line 390, file: adminlib.php
(mysql): ALTER TABLE mdl_attforblock COMMENT='Module for support Attendances'
(mysql): CREATE TABLE mdl_attendance_sessions ( id BIGINT(10) unsigned NOT NULL auto_increment, courseid BIGINT(10) unsigned NOT NULL DEFAULT 0, sessdate BIGINT(10) unsigned NOT NULL DEFAULT 0, duration BIGINT(10) unsigned NOT NULL DEFAULT 0, lasttaken BIGINT(10) unsigned DEFAULT NULL, lasttakenby BIGINT(10) unsigned NOT NULL DEFAULT 0, timemodified BIGINT(10) unsigned DEFAULT NULL, description VARCHAR(100) NOT NULL DEFAULT '', CONSTRAINT PRIMARY KEY (id) )
1050: Table 'mdl_attendance_sessions' already exists
ADOConnection._Execute(CREATE TABLE mdl_attendance_sessions ( id BIGINT(10) unsigned NOT NULL auto_increment, courseid BIGINT(10) unsigned NOT ..., false) % line 891, file: adodb.inc.php ADOConnection.Execute(CREATE TABLE mdl_attendance_sessions ( id BIGINT(10) unsigned NOT NULL auto_increment, courseid BIGINT(10) unsigned NOT ...) % line 89, file: dmllib.php execute_sql(CREATE TABLE mdl_attendance_sessions ( id BIGINT(10) unsigned NOT NULL auto_increment, courseid BIGINT(10) unsigned NOT ..., true) % line 2302, file: dmllib.php execute_sql_arr(Array[10]) % line 635, file: ddllib.php install_from_xmldb_file(/var/www/sitios/catedras-moodle/mod/attforblock/db/install.xml) % line 390, file: adminlib.php
(mysql): ALTER TABLE mdl_attendance_sessions COMMENT='attendance_sessions table retrofitted from MySQL'
(mysql): CREATE TABLE mdl_attendance_log ( id BIGINT(10) unsigned NOT NULL auto_increment, sessionid BIGINT(10) unsigned NOT NULL DEFAULT 0, studentid BIGINT(10) unsigned NOT NULL DEFAULT 0, statusid BIGINT(10) unsigned NOT NULL DEFAULT 0, statusset VARCHAR(100) DEFAULT NULL, timetaken BIGINT(10) unsigned NOT NULL DEFAULT 0, takenby BIGINT(10) unsigned NOT NULL DEFAULT 0, remarks VARCHAR(255) DEFAULT NULL, CONSTRAINT PRIMARY KEY (id) )
1050: Table 'mdl_attendance_log' already exists
ADOConnection._Execute(CREATE TABLE mdl_attendance_log ( id BIGINT(10) unsigned NOT NULL auto_increment, sessionid BIGINT(10) unsigned NOT NULL..., false) % line 891, file: adodb.inc.php ADOConnection.Execute(CREATE TABLE mdl_attendance_log ( id BIGINT(10) unsigned NOT NULL auto_increment, sessionid BIGINT(10) unsigned NOT NULL...) % line 89, file: dmllib.php execute_sql(CREATE TABLE mdl_attendance_log ( id BIGINT(10) unsigned NOT NULL auto_increment, sessionid BIGINT(10) unsigned NOT NULL..., true) % line 2302, file: dmllib.php execute_sql_arr(Array[10]) % line 635, file: ddllib.php install_from_xmldb_file(/var/www/sitios/catedras-moodle/mod/attforblock/db/install.xml) % line 390, file: adminlib.php
(mysql): ALTER TABLE mdl_attendance_log COMMENT='attendance_log table retrofitted from MySQL'
(mysql): CREATE INDEX mdl_attelog_ses_ix ON mdl_attendance_log (sessionid)
1072: Key column 'sessionid' doesn't exist in table
ADOConnection._Execute(CREATE INDEX mdl_attelog_ses_ix ON mdl_attendance_log (sessionid), false) % line 891, file: adodb.inc.php ADOConnection.Execute(CREATE INDEX mdl_attelog_ses_ix ON mdl_attendance_log (sessionid)) % line 89, file: dmllib.php execute_sql(CREATE INDEX mdl_attelog_ses_ix ON mdl_attendance_log (sessionid), true) % line 2302, file: dmllib.php execute_sql_arr(Array[10]) % line 635, file: ddllib.php install_from_xmldb_file(/var/www/sitios/catedras-moodle/mod/attforblock/db/install.xml) % line 390, file: adminlib.php
(mysql): CREATE INDEX mdl_attelog_sta_ix ON mdl_attendance_log (statusid)
1072: Key column 'statusid' doesn't exist in table
ADOConnection._Execute(CREATE INDEX mdl_attelog_sta_ix ON mdl_attendance_log (statusid), false) % line 891, file: adodb.inc.php ADOConnection.Execute(CREATE INDEX mdl_attelog_sta_ix ON mdl_attendance_log (statusid)) % line 89, file: dmllib.php execute_sql(CREATE INDEX mdl_attelog_sta_ix ON mdl_attendance_log (statusid), true) % line 2302, file: dmllib.php execute_sql_arr(Array[10]) % line 635, file: ddllib.php install_from_xmldb_file(/var/www/sitios/catedras-moodle/mod/attforblock/db/install.xml) % line 390, file: adminlib.php
(mysql): CREATE TABLE mdl_attendance_statuses ( id BIGINT(10) unsigned NOT NULL auto_increment, courseid BIGINT(10) unsigned NOT NULL DEFAULT 0, acronym VARCHAR(2) NOT NULL DEFAULT '', description VARCHAR(30) NOT NULL DEFAULT '', grade SMALLINT(3) NOT NULL DEFAULT 0, visible TINYINT(1) unsigned NOT NULL DEFAULT 1, deleted TINYINT(1) unsigned NOT NULL DEFAULT 0, CONSTRAINT PRIMARY KEY (id) )
1050: Table 'mdl_attendance_statuses' already exists
ADOConnection._Execute(CREATE TABLE mdl_attendance_statuses ( id BIGINT(10) unsigned NOT NULL auto_increment, courseid BIGINT(10) unsigned NOT ..., false) % line 891, file: adodb.inc.php ADOConnection.Execute(CREATE TABLE mdl_attendance_statuses ( id BIGINT(10) unsigned NOT NULL auto_increment, courseid BIGINT(10) unsigned NOT ...) % line 89, file: dmllib.php execute_sql(CREATE TABLE mdl_attendance_statuses ( id BIGINT(10) unsigned NOT NULL auto_increment, courseid BIGINT(10) unsigned NOT ..., true) % line 2302, file: dmllib.php execute_sql_arr(Array[10]) % line 635, file: ddllib.php install_from_xmldb_file(/var/www/sitios/catedras-moodle/mod/attforblock/db/install.xml) % line 390, file: adminlib.php
(mysql): ALTER TABLE mdl_attendance_statuses COMMENT='attendance_statuses table retrofitted from MySQL'