-
Bug
-
Resolution: Not a bug
-
Major
-
None
-
1.9.9
-
None
-
MOODLE_19_STABLE
I tried to install tracker inMoodle 1.9.9+ (Build: 20100714) and it fails. When I click in Notifications it reports (notice the last sentence): Éxito means 'success'.
tracker
(mysql): SHOW TABLES (mysql): SHOW TABLES (mysql): CREATE TABLE mdl_tracker ( id BIGINT(10) unsigned NOT NULL auto_increment, course BIGINT(11) unsigned DEFAULT NULL, name VARCHAR(255) NOT NULL DEFAULT '', description TEXT, format SMALLINT(4) NOT NULL, requirelogin TINYINT(1) NOT NULL DEFAULT 1, allownotifications SMALLINT(3) unsigned NOT NULL, enablecomments SMALLINT(3) unsigned NOT NULL, ticketprefix VARCHAR(16) NOT NULL DEFAULT '', timemodified BIGINT(10) unsigned NOT NULL DEFAULT 0, parent VARCHAR(40) DEFAULT NULL, supportmode VARCHAR(20) NOT NULL DEFAULT 'bugtracker', CONSTRAINT PRIMARY KEY (id) )
Éxito
(mysql): ALTER TABLE mdl_tracker COMMENT='tracker table retrofitted from MySQL'
Éxito
(mysql): CREATE TABLE mdl_tracker_element ( id BIGINT(10) unsigned NOT NULL auto_increment, course BIGINT(10) unsigned DEFAULT NULL, name VARCHAR(32) DEFAULT NULL, description VARCHAR(255) DEFAULT NULL, type VARCHAR(32) NOT NULL DEFAULT '', CONSTRAINT PRIMARY KEY (id) )
Éxito
(mysql): ALTER TABLE mdl_tracker_element COMMENT='tracker_element table retrofitted from MySQL'
Éxito
(mysql): CREATE TABLE mdl_tracker_elementitem ( id BIGINT(10) unsigned NOT NULL auto_increment, elementid BIGINT(11) NOT NULL DEFAULT 0, name VARCHAR(32) DEFAULT NULL, description VARCHAR(255) DEFAULT NULL, sortorder BIGINT(10) unsigned NOT NULL DEFAULT 0, active TINYINT(1) NOT NULL DEFAULT 1, CONSTRAINT PRIMARY KEY (id) )
Éxito
(mysql): ALTER TABLE mdl_tracker_elementitem COMMENT='tracker_elementitem table retrofitted from MySQL'
Éxito
(mysql): CREATE TABLE mdl_tracker_elementused ( id BIGINT(10) unsigned NOT NULL auto_increment, trackerid BIGINT(10) unsigned NOT NULL DEFAULT 0, elementid BIGINT(10) unsigned NOT NULL, sortorder BIGINT(10) unsigned NOT NULL, canbemodifiedby BIGINT(10) unsigned NOT NULL, active TINYINT(1) NOT NULL DEFAULT 1, CONSTRAINT PRIMARY KEY (id) )
Éxito
(mysql): ALTER TABLE mdl_tracker_elementused COMMENT='tracker_elementused table retrofitted from MySQL'
Éxito
(mysql): CREATE TABLE mdl_tracker_issue ( id BIGINT(10) unsigned NOT NULL auto_increment, trackerid BIGINT(10) unsigned NOT NULL DEFAULT 0, summary VARCHAR(255) NOT NULL DEFAULT '', description TEXT NOT NULL, format SMALLINT(4) NOT NULL, datereported BIGINT(10) unsigned NOT NULL DEFAULT 0, reportedby BIGINT(10) unsigned NOT NULL DEFAULT 0, status BIGINT(10) unsigned DEFAULT NULL, assignedto BIGINT(11) NOT NULL, bywhomid BIGINT(11) NOT NULL, timeassigned BIGINT(11) DEFAULT NULL, resolution TEXT, resolutionformat BIGINT(10) unsigned DEFAULT NULL, resolutionpriority BIGINT(10) unsigned DEFAULT NULL, CONSTRAINT PRIMARY KEY (id) )
Éxito
(mysql): ALTER TABLE mdl_tracker_issue COMMENT='tracker_issue table retrofitted from MySQL'
Éxito
(mysql): CREATE TABLE mdl_tracker_issueattribute ( id BIGINT(10) unsigned NOT NULL auto_increment, trackerid BIGINT(11) NOT NULL, issueid BIGINT(10) unsigned DEFAULT 0, elementid BIGINT(10) unsigned DEFAULT 0, elementitemid TEXT, timemodified BIGINT(10) unsigned NOT NULL DEFAULT 0, CONSTRAINT PRIMARY KEY (id) )
Éxito
(mysql): ALTER TABLE mdl_tracker_issueattribute COMMENT='tracker_issueattribute table retrofitted from MySQL'
Éxito
(mysql): CREATE TABLE mdl_tracker_issuecc ( id BIGINT(10) unsigned NOT NULL auto_increment, trackerid BIGINT(11) NOT NULL, userid BIGINT(10) unsigned DEFAULT 0, issueid BIGINT(10) unsigned DEFAULT 0, events SMALLINT(3) unsigned DEFAULT 31, CONSTRAINT PRIMARY KEY (id) )
Éxito
(mysql): ALTER TABLE mdl_tracker_issuecc COMMENT='tracker_issuecc table retrofitted from MySQL'
Éxito
(mysql): CREATE UNIQUE INDEX mdl_tracissu_trauseiss_uix ON mdl_tracker_issuecc (trackerid, userid, issueid)
Éxito
(mysql): CREATE TABLE mdl_tracker_issuecomment ( id BIGINT(10) unsigned NOT NULL auto_increment, trackerid BIGINT(11) NOT NULL, userid BIGINT(10) unsigned DEFAULT 0, issueid BIGINT(10) unsigned DEFAULT 0, comment TEXT NOT NULL, commentformat SMALLINT(3) unsigned NOT NULL, datecreated BIGINT(10) unsigned DEFAULT 0, CONSTRAINT PRIMARY KEY (id) )
Éxito
(mysql): ALTER TABLE mdl_tracker_issuecomment COMMENT='tracker_issuecomment table retrofitted from MySQL'
Éxito
(mysql): CREATE TABLE mdl_tracker_issuedependancy ( id BIGINT(10) unsigned NOT NULL auto_increment, trackerid BIGINT(11) NOT NULL, parentid BIGINT(10) unsigned DEFAULT 0, childid BIGINT(10) unsigned NOT NULL DEFAULT 0, comment TEXT NOT NULL, commentformat BIGINT(10) NOT NULL DEFAULT 0, CONSTRAINT PRIMARY KEY (id) )
Éxito
(mysql): ALTER TABLE mdl_tracker_issuedependancy COMMENT='tracker_issuedependancy table retrofitted from MySQL'
Éxito
(mysql): CREATE TABLE mdl_tracker_issueownership ( id BIGINT(10) unsigned NOT NULL auto_increment, trackerid BIGINT(11) NOT NULL, userid BIGINT(10) unsigned DEFAULT 0, issueid BIGINT(10) unsigned DEFAULT 0, bywhomid BIGINT(10) unsigned NOT NULL, timeassigned BIGINT(10) unsigned NOT NULL DEFAULT 0, CONSTRAINT PRIMARY KEY (id) )
Éxito
(mysql): ALTER TABLE mdl_tracker_issueownership COMMENT='tracker_issueownership table retrofitted from MySQL'
Éxito
(mysql): CREATE TABLE mdl_tracker_preferences ( id BIGINT(10) unsigned NOT NULL auto_increment, trackerid BIGINT(10) unsigned NOT NULL, userid BIGINT(10) unsigned NOT NULL, name VARCHAR(32) NOT NULL DEFAULT '', value VARCHAR(255) DEFAULT NULL, CONSTRAINT PRIMARY KEY (id) )
Éxito
(mysql): ALTER TABLE mdl_tracker_preferences COMMENT='tracker_preferences table retrofitted from MySQL'
Éxito
(mysql): CREATE UNIQUE INDEX mdl_tracpref_trausenam_uix ON mdl_tracker_preferences (trackerid, userid, name)
Éxito
(mysql): CREATE TABLE mdl_tracker_query ( id BIGINT(10) unsigned NOT NULL auto_increment, trackerid BIGINT(10) unsigned DEFAULT NULL, userid BIGINT(10) unsigned DEFAULT 0, name VARCHAR(255) DEFAULT NULL, description TEXT, published BIGINT(10) unsigned NOT NULL DEFAULT 0, fieldnames TEXT NOT NULL, fieldvalues TEXT NOT NULL, CONSTRAINT PRIMARY KEY (id) )
Éxito
(mysql): ALTER TABLE mdl_tracker_query COMMENT='tracker_query table retrofitted from MySQL'
Éxito
Fatal error: Call to a member function get_record() on a non-object in /my_path_to_moodle/mod/tracker/lib.php on line 213
After that I checked to see if the activity module worked, but when I tried to set up a new tracker activity inside a course it failed again showing the next report:
Fatal error: Call to a member function insert_record() on a non-object in /my_path_to_moodle/mod/tracker/mod/tracker/lib.php on line 32
I hope this issue can be solved in order to use this useful module.
Toni