Seite 1 von 2
Umfrage + Intro+Portal MOD
Verfasst: 13.05.2006 17:44
von eco
Hallo
Immer wenn ich im ACP unter intro + portal Konfiguration die Aktuelle Umfrage Aktiviere bekomme ich auf der Portalseite diesen fehler:
Could not query vote result information
DEBUG MODE
SQL Error : 1146 Table 'eco84.phpbb_vote_results' doesn't exist
SELECT * FROM phpbb_vote_results WHERE vote_id = 2 ORDER BY vote_option_id
Line : 197
File : portal_poll.php
Was kann ich da machen?
thx
Verfasst: 13.05.2006 17:48
von Markus67
Hi ...
Ansonsten funktioniert das Portal?
Die intro_portal_mod_db_install.php hast du im Browser ausgeführt?
Markus
Verfasst: 13.05.2006 17:57
von eco
Ja, sobald ich sie wieder deaktiviere funktioniert es problemlos!
Habe ich ausgeführt der mod läuft schon seit einigen monaten problemlos aber vor kurzem hat ein user versucht eine umfrage zu starten da trat der fehler auf!
Verfasst: 13.05.2006 18:12
von Markus67
Hi ...
hast du im Adminbereich für die Umfragen auch die entsprechenden Foren-ID's eingetragen?
Kontrolliere bitte mal in der Datenbank ob die Tabelle existiert.
Und dann solltest du noch die constants.php prüfen ob da eventuell ein Eintrag vom Intro & Portal MOD fehlt.
Markus
Verfasst: 25.08.2006 16:32
von eco
Hallo
Ersmal danke für die Antworten! Konnte mich erst jetzt wieder meinem Forum widmen!
Ich glaube das Problem sitzt tiefer! Wenn ich überhaupt versuche eine Umfrage zu starten in einem Post erscheint dieser Fehler:
Error in posting
DEBUG MODE
INSERT INTO phpbb_vote_results (vote_id, vote_option_id, vote_option_text, vote_result) VALUES (5, 1, '1', 0)
Line : 339
File : functions_post.php
Was die Antworten betrifft bin ich leider nicht so erfahren in dieser Sache!
Wass kann ich da machen?
THX for help
Verfasst: 27.08.2006 21:39
von redbull254
Hallo, Eco
Hast Du im ACP diese Einstellung richtig?
Intro+Portal-> dann
Konfiguration->und dort
Aktuelle Umfrage - Foren-IDs:
Trage hier die IDs ein, aus denen Du die Werte anzeigen willst im Format: 1,2,3
Verfasst: 28.08.2006 15:01
von eco
Ja, die Foren ID's sind auf 1,2,3
Das Problem ist aber das ich ja nicht mal eine Umfrage starten kann! Wenn ich ein Post mit einer Umfrage starte kommt gleich die Fehlermeldung:
Error in posting
DEBUG MODE
INSERT INTO phpbb_vote_results (vote_id, vote_option_id, vote_option_text, vote_result) VALUES (5, 1, '1', 0)
Line : 339
File : functions_post.php
Wenn ich im Intro + Portal MOD Einstellungen die Funktion "Aktuelle Umfrage" aktiviere kommt beim aufrufen des Portals folgende Fehlermeldung:
Could not query vote result information
DEBUG MODE
SQL Error : 1146 Table 'eco84.phpbb_vote_results' doesn't exist
SELECT * FROM phpbb_vote_results WHERE vote_id = 2 ORDER BY vote_option_id
Line : 197
File : portal_poll.php
Diese Fehlermeldung kommt obschon es keine Umfrage gibt!
Bin echt ratlos!
Verfasst: 28.08.2006 15:55
von redbull254
Hallo, Eco
ich habe mal versucht, deinen Fehler zu simulieren. Wenn ich z. B keine Umfrage ID eintrage, und dann die Umfrage aktiviere,bekomm ich sowas:
Code: Alles auswählen
Could not query poll information
DEBUG MODE
SQL Error : 1064 You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND t.topic_status <> 1 AND t.topic_status <> 2 AND t.topi
SELECT t.*, vd.* FROM phpbb_topics AS t, phpbb_vote_desc AS vd WHERE t.forum_id IN () AND t.topic_status <> 1 AND t.topic_status <> 2 AND t.topic_vote = 1 AND t.topic_id = vd.topic_id ORDER BY t.topic_time DESC LIMIT 0,1
Line : 179
File : portal_poll.php
Starte mal in einem Testforum eine Umfrage,trage diese Forum ID ein und aktiviere dann mal die Umfrage Option.
Edit:
Sonst würde ich die Portaldateien und die Backupdateien ohne Portal mit WinMerge Schritt für Schritt vergleichen,was da falsch gelaufen ist.
Verfasst: 28.08.2006 16:23
von eco
Das würde ich ja gerne aber leider kann ich keine Umfrage erstellen! Wenn ich versuche eine Umfrage zu starten erscheint folgender Fehler:
Error in posting
DEBUG MODE
INSERT INTO phpbb_vote_results (vote_id, vote_option_id, vote_option_text, vote_result) VALUES (5, 1, '1', 0)
Line : 339
File : functions_post.php
Im Intro + Portal MOD musste ich die Umfrage deaktivieren! Ich galaube der Fehler liegt nicht im Intro + Portal MOD!
Verfasst: 28.08.2006 16:26
von redbull254
Erst mal die Option im ACP deaktivieren,dann eine "normale Umfrage erstellen"