Seite 2 von 2

Re: Umfragewerte doppelt vorhanden, nach Konvertierung von 2

Verfasst: 18.06.2014 23:20
von maiurb
Hallo Miriam,

den Code habe ich hochgeladen (Pastebin)

VG

Re: Umfragewerte doppelt vorhanden, nach Konvertierung von 2

Verfasst: 19.06.2014 11:27
von Dr.Death
Hier der vergessene Pastebin LINK dazu : https://www.phpbb.de/support/pastebin.p ... iew&s=1427

Re: Umfragewerte doppelt vorhanden, nach Konvertierung von 2

Verfasst: 19.06.2014 20:28
von Miriam
Vorab-Infos:
  • KB:pma_faq,
    KB:phpmyadmin,
    KB:mysqlbackup.
Führe diese Queries an einem Stück in Deiner DB per phpmyadmin aus (also Copy & Paste):

Code: Alles auswählen

CREATE TABLE __phpbb_poll_tmp (
SELECT DISTINCT(poll_option_id) AS poll_option_id, topic_id,poll_option_text,poll_option_total FROM phpbbpoll_options WHERE 1);

TRUNCATE TABLE phpbbpoll_options;

INSERT INTO phpbbpoll_options SELECT * FROM __phpbb_poll_tmp;

DROP TABLE __phpbb_poll_tmp; 
Zur Beachtung für alle, die ein ähnliches Problem haben: Das Tabellenpräfix ist hier phpbb und nicht phpbb_... muß dann also pro Fall noch angepaßt werden.

Re: Umfragewerte doppelt vorhanden, nach Konvertierung von 2

Verfasst: 19.06.2014 22:09
von maiurb
Hallo Miriam,

du bist die GRÖSSTE. Es hat funktioniert. Vielen Dank, du hast mir echt viel Arbeit erspart!!!

Beste Grüße
Maik