Seite 2 von 3
Verfasst: 03.10.2004 11:07
von Kiss News
es kommt ein Error
MySQL meldet:
#1091 - Can't DROP 'move_id'. Check that column/key exists
Verfasst: 03.10.2004 11:09
von Acid
Poste mal die Strukur dieser moved-Tabelle?
Also den Bereich wo man die Felder und den Primärschlüssel sieht.
Verfasst: 03.10.2004 11:14
von Kiss News
meinst Du das hier?
Indizes:
Name Typ Kardinalität Aktion Feld
PRIMARY PRIMARY 597 topic_id
forum_id INDEX 13 forum_id
topic_moved_id INDEX 4 topic_moved_id
topic_status INDEX 3 topic_status
topic_type INDEX 4 topic_type
Verfasst: 03.10.2004 11:18
von Acid
Ja, allerdings von der topics-Tabelle (hab mich vertan

).
Verfasst: 03.10.2004 11:21
von Kiss News
Struktur Anzeigen SQL Suche Einfügen Exportieren Operationen Leeren Löschen
Feld Typ Attribute Null Standard Extra Aktion
topic_id mediumint(8) UNSIGNED Nein auto_increment
forum_id smallint(8) UNSIGNED Nein 0
topic_title varchar(60) Nein
topic_extra varchar(60) Nein
topic_desc varchar(255) Ja
topic_poster mediumint(8) Nein 0
topic_time int(11) Nein 0
topic_views mediumint(8) UNSIGNED Nein 0
topic_replies mediumint(8) UNSIGNED Nein 0
topic_status tinyint(3) Nein 0
topic_vote tinyint(1) Nein 0
topic_type tinyint(3) Nein 0
topic_first_post_id mediumint(8) UNSIGNED Nein 0
topic_last_post_id mediumint(8) UNSIGNED Nein 0
topic_moved_id mediumint(8) UNSIGNED Nein 0
title_compl_infos varchar(255) Ja NULL
topic_color varchar(6) Ja NULL
topic_icon tinyint(2) Ja NULL
topic_quiz mediumint(8) Nein 0
Verfasst: 03.10.2004 11:23
von Acid
ALTER TABLE phpbb_topics ADD PRIMARY KEY(topic_id);
..führe mal diesen Query aus.
Verfasst: 03.10.2004 11:27
von Kiss News
dann kommt das:
Fehler
SQL-Befehl:
ALTER TABLE phpbb_topics ADD PRIMARY KEY ( topic_id )
MySQL meldet:
#1068 - Multiple primary key defined
Verfasst: 03.10.2004 11:29
von Acid
hmm.. unterhalb der aufgelisteten Felder der topics-Tabelle, müssten noch einige Indizes stehen.
Verfasst: 03.10.2004 11:35
von Kiss News
Server: localhost Datenbank: kissfanshop Tabelle: phpbb_topics
Struktur Anzeigen SQL Suche Einfügen Exportieren Operationen Leeren Löschen
Feld Typ Attribute Null Standard Extra Aktion
topic_id mediumint(8) UNSIGNED Nein auto_increment
forum_id smallint(8) UNSIGNED Nein 0
topic_title varchar(60) Nein
topic_extra varchar(60) Nein
topic_desc varchar(255) Ja
topic_poster mediumint(8) Nein 0
topic_time int(11) Nein 0
topic_views mediumint(8) UNSIGNED Nein 0
topic_replies mediumint(8) UNSIGNED Nein 0
topic_status tinyint(3) Nein 0
topic_vote tinyint(1) Nein 0
topic_type tinyint(3) Nein 0
topic_first_post_id mediumint(8) UNSIGNED Nein 0
topic_last_post_id mediumint(8) UNSIGNED Nein 0
topic_moved_id mediumint(8) UNSIGNED Nein 0
title_compl_infos varchar(255) Ja NULL
topic_color varchar(6) Ja NULL
topic_icon tinyint(2) Ja NULL
topic_quiz mediumint(8) Nein 0
Alle auswählen / Auswahl entfernen markierte:
--------------------------------------------------------------------------------
Druckansicht Tabellenstruktur analysieren
Neue Felder hinzufügen: An das Ende der Tabelle An den Anfang der Tabelle Nach topic_id forum_id topic_title topic_extra topic_desc topic_poster topic_time topic_views topic_replies topic_status topic_vote topic_type topic_first_post_id topic_last_post_id topic_moved_id title_compl_infos topic_color topic_icon topic_quiz
--------------------------------------------------------------------------------
Indizes:
Name Typ Kardinalität Aktion Feld
PRIMARY PRIMARY 597 topic_id
forum_id INDEX 13 forum_id
topic_moved_id INDEX 4 topic_moved_id
topic_status INDEX 3 topic_status
topic_type INDEX 4 topic_type
Index über Spalten anlegen
Speicherplatzverbrauch:
Typ Verbrauch
Daten 38.096 Bytes
Index 27.648 Bytes
Insgesamt 65.744 Bytes
Zeilenstatistik:
Angaben Wert
Format dynamisch
Zeilen 597
Zeilenlänge ø 63
Zeilengröße ø 110 Bytes
Nächste Autoindex 661
Erzeugt am 03. Oktober 2004 um 11:06
Aktualisiert am 03. Oktober 2004 um 11:12
Letzter Check am 03. Oktober 2004 um 11:06
--------------------------------------------------------------------------------
SQL-Befehl(e) in Datenbank kissfanshop ausführen Felder:
SELECT * FROM `phpbb_topics` WHERE 1 topic_id forum_id topic_title topic_extra topic_desc topic_poster topic_time topic_views topic_replies topic_status topic_vote topic_type topic_first_post_id topic_last_post_id topic_moved_id title_compl_infos topic_color topic_icon topic_quiz
SQL-Befehl hier wieder anzeigen
oder Datei:
Datei:
(Maximale Dateigröße: 921.600Bytes)
Kompression:
Autom. Erkennung keine GZip-komprimiert BZip-komprimiert
Textdatei in Tabelle einfügen
Verfasst: 03.10.2004 11:37
von Acid
ok.. dann is alles soweit wieder back to default.
Kannst also den MOD erneut installieren.