[gelöst] Fehler beim Aktivieren von Modulen
am 11.05.2012 - 10:50 Uhr in
Wenn ich das Core-Modul Statistics aktivieren will spuckt mir Drupal folgende Fehlermeldung aus:
PDOException: SQLSTATE[42000]: Syntax error or access violation: 1286 Unknown storage engine 'InnoDB': CREATE TABLE {accesslog} ( `aid` INT NOT NULL auto_increment COMMENT 'Primary Key: Unique accesslog ID.', `sid` VARCHAR(128) NOT NULL DEFAULT '' COMMENT 'Browser session ID of user that visited page.', `title` VARCHAR(255) NULL DEFAULT NULL COMMENT 'Title of page visited.', `path` VARCHAR(255) NULL DEFAULT NULL COMMENT 'Internal path to page visited (relative to Drupal root.)', `url` TEXT NULL DEFAULT NULL COMMENT 'Referrer URI.', `hostname` VARCHAR(128) NULL DEFAULT NULL COMMENT 'Hostname of user that visited the page.', `uid` INT unsigned NULL DEFAULT 0 COMMENT 'User users.uid that visited the page.', `timer` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Time in milliseconds that the page took to load.', `timestamp` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Timestamp of when the page was visited.', PRIMARY KEY (`aid`), INDEX `accesslog_timestamp` (`timestamp`), INDEX `uid` (`uid`) ) ENGINE = InnoDB DEFAULT CHARACTER SET utf8 COMMENT 'Stores site access information for statistics.'; Array ( ) in db_create_table() (Zeile 2588 von /is/htdocs/wp******_YN0L23774M/www/tenne/includes/database/database.inc).
Jemand ne Idee was da schief gelaufen ist?
Habe vorher das Modul Syntax highlighter installiert.
- Anmelden oder Registrieren um Kommentare zu schreiben

Die Bemerkung: Unknown
am 11.05.2012 - 12:17 Uhr
Die Bemerkung: Unknown storage engine 'InnoDB'
deutet ja darauf hin, dass keine Tabelle vom Typ InnoDB angelegt werden konnte.
In der Tabelle accesslog, die bei der Aktivierung des Moduls Statistics angelelgt wird, werden definitiv die Statistiken gespeichert.
Ich kann mir nicht vorstellen, das es etwas mit dem Modul Syntax hightlighter zu tun hat.
Ich schicke dir mal den Code zum Anlegen der Tabelle accesslog.
Kannst ja mal die Tabelle "per Hand" anlegen und dann schauen, ob das Modul einwandfrei funktioniert.
CREATE TABLE IF NOT EXISTS `accesslog` (`aid` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Primary Key: Unique accesslog ID.',
`sid` varchar(128) NOT NULL DEFAULT '' COMMENT 'Browser session ID of user that visited page.',
`title` varchar(255) DEFAULT NULL COMMENT 'Title of page visited.',
`path` varchar(255) DEFAULT NULL COMMENT 'Internal path to page visited (relative to Drupal root.)',
`url` text COMMENT 'Referrer URI.',
`hostname` varchar(128) DEFAULT NULL COMMENT 'Hostname of user that visited the page.',
`uid` int(10) unsigned DEFAULT '0' COMMENT 'User users.uid that visited the page.',
`timer` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Time in milliseconds that the page took to load.',
`timestamp` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Timestamp of when the page was visited.',
PRIMARY KEY (`aid`),
KEY `accesslog_timestamp` (`timestamp`),
KEY `uid` (`uid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Stores site access information for statistics.' AUTO_INCREMENT=8 ;
Gruß
Berthold Lausch
Ich wollte gerade einen
am 11.05.2012 - 12:25 Uhr
Ich wollte gerade einen Nachtrag bringen das ich mitlerweile herausgefunden habe das der Syntax Highlighter definitiv nicht das Problem ist.
Danke, ich versuch das mal.
Okay, habe erstmal versucht
am 11.05.2012 - 14:13 Uhr
Damit hat es geklappt, vielen Dank.