2 kleine Fehler in Bezug auf die DB sind mir bis dato aufgefallen:
1. es fehlt im ausgelieferten Dump die Tabelle forum_threads. Nachtragen z.b. in phpmyadmin oder mysql-cli mit:
Code
- CREATE TABLE `emtipp_forum_threads` ( `id` int(11) NOT NULL AUTO_INCREMENT, `headline` varchar(250) COLLATE utf8_unicode_ci NOT NULL DEFAULT '', `date` int(14) NOT NULL DEFAULT '0', `autor` int(11) NOT NULL DEFAULT '0', `board` int(11) NOT NULL DEFAULT '0', `lpost` int(14) NOT NULL DEFAULT '0', `ip` varchar(39) COLLATE utf8_unicode_ci DEFAULT NULL, PRIMARY KEY (`id`)) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
2. Tabelle emtipp_customhash wird eigentlich als emtipp_customHash angesprochen. Am besten umbenennen oder kopieren!
Hintergrund: im Dump ist das "h" kleingeschrieben - im Coding aber überall gross:
Code
- ./content/intern.profil.php: $sql = mysql_query("SELECT * FROM ". $CONFIG['MYSQL']['PREFIX'] ."customHash WHERE hash = '". mysql_real_escape_string($_POST['opt']['importkey']) ."'");
- ./content/rangliste.custom.php:$sql = mysql_query("SELECT * FROM ". $CONFIG['MYSQL']['PREFIX'] ."customHash WHERE hash = '".$hash."'");
- ./content/rangliste.custom.php: mysql_query("INSERT INTO ". $CONFIG['MYSQL']['PREFIX'] ."customHash (hash,uid) VALUES ('".$hash."','".implode("-",$users)."')") or die(mysql_error());
- ./include/inc.backup.mysql.php: $CONFIG['MYSQL']['PREFIX'] ."customHash",
- ./m/content/intern.profil.php: $sql = mysql_query("SELECT * FROM ". $CONFIG['MYSQL']['PREFIX'] ."customHash WHERE hash = '". mysql_escape_string($_POST['opt']['importkey']) ."'");
- ./m/content/rangliste.custom.php:$sql = mysql_query("SELECT * FROM ". $CONFIG['MYSQL']['PREFIX'] ."customHash WHERE hash = '".$hash."'");
- ./m/content/rangliste.custom.php: mysql_query("INSERT INTO ". $CONFIG['MYSQL']['PREFIX'] ."customHash (hash,uid) VALUES ('".$hash."','".implode("-",$users)."')") or die(mysql_error());
- ./emtippdump.sql:-- Tabellenstruktur für Tabelle `emtipp_customhash`
- ./emtippdump.sql:CREATE TABLE IF NOT EXISTS `emtipp_customhash` (
- ./emtippdump.sql:-- Daten für Tabelle `emtipp_customhash`
- ./emtippdump.sql:INSERT INTO `emtipp_customhash` (`id`, `hash`, `uid`) VALUES
Ich werde hier noch mehr anfügen, sofern noch was auffällt.