Umfrage Mod
Forumsregeln
phpBB 2.0 hat das Ende seiner Lebenszeit überschritten
phpBB 2.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 2.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf phpBB 3.0, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
phpBB 2.0 hat das Ende seiner Lebenszeit überschritten
phpBB 2.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 2.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf phpBB 3.0, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
Umfrage Mod
Hallo hab mal wieder ne Frage.
Hab den Mod installiert um die Umfrageergebnisse bis zum schluss unsichtbar zumachen. Das klappt schon mal.
Nun will ick aber das die Endzeit der Umfrage angezeigt wird da hab ich diesen Fehler...
Error in posting
DEBUG MODE
SQL Error : 1064 You have an error in your SQL syntax near '1, 0 ' at line 1
INSERT INTO phpbb_vote_desc (topic_id, vote_text, vote_start, vote_length, show_endtime, show_results) VALUES (136, 'das ist ein Test', 1060266423, 0), 1, 0
Line : 297
File : /var/www/web980/html/phpBB2/includes/functions_post.php
Was muss ich tun bzw. korigieren?
MfG Micha
Hab den Mod installiert um die Umfrageergebnisse bis zum schluss unsichtbar zumachen. Das klappt schon mal.
Nun will ick aber das die Endzeit der Umfrage angezeigt wird da hab ich diesen Fehler...
Error in posting
DEBUG MODE
SQL Error : 1064 You have an error in your SQL syntax near '1, 0 ' at line 1
INSERT INTO phpbb_vote_desc (topic_id, vote_text, vote_start, vote_length, show_endtime, show_results) VALUES (136, 'das ist ein Test', 1060266423, 0), 1, 0
Line : 297
File : /var/www/web980/html/phpBB2/includes/functions_post.php
Was muss ich tun bzw. korigieren?
MfG Micha
doofe frage kannst du mir sagen wo?
$sql = (!$post_data['has_poll']) ? "INSERT INTO " . VOTE_DESC_TABLE . " (topic_id, vote_text, vote_start, vote_length, show_endtime, show_results) VALUES ($topic_id, '$poll_title', $current_time, " . ($poll_length * 86400) . "), $show_endtime, $show_results " : "UPDATE " . VOTE_DESC_TABLE . " SET vote_text = '$poll_title', vote_length = " . ($poll_length * 86400) . ", show_endtime = $show_endtime, show_results = $show_results WHERE topic_id = $topic_id";
if (!$db->sql_query($sql))
{
message_die(GENERAL_ERROR, 'Error in posting', '', __LINE__, __FILE__, $sql);
}
MfG Micha
$sql = (!$post_data['has_poll']) ? "INSERT INTO " . VOTE_DESC_TABLE . " (topic_id, vote_text, vote_start, vote_length, show_endtime, show_results) VALUES ($topic_id, '$poll_title', $current_time, " . ($poll_length * 86400) . "), $show_endtime, $show_results " : "UPDATE " . VOTE_DESC_TABLE . " SET vote_text = '$poll_title', vote_length = " . ($poll_length * 86400) . ", show_endtime = $show_endtime, show_results = $show_results WHERE topic_id = $topic_id";
if (!$db->sql_query($sql))
{
message_die(GENERAL_ERROR, 'Error in posting', '', __LINE__, __FILE__, $sql);
}
MfG Micha
- Henne
- Ehemaliges Teammitglied
- Beiträge: 4520
- Registriert: 04.01.2002 01:00
- Wohnort: Lage (Lippe)
- Kontaktdaten:
Code: Alles auswählen
$sql = (!$post_data['has_poll']) ? "INSERT INTO " . VOTE_DESC_TABLE . " (topic_id, vote_text, vote_start, vote_length, show_endtime, show_results) VALUES ($topic_id, '$poll_title', $current_time, " . ($poll_length * 86400) . "), $show_endtime, $show_results " : "UPDATE " . VOTE_DESC_TABLE . " SET vote_text = '$poll_title', vote_length = " . ($poll_length * 86400) . ", show_endtime = $show_endtime, show_results = $show_results WHERE topic_id = $topic_id";
Code: Alles auswählen
$sql = (!$post_data['has_poll']) ? "INSERT INTO " . VOTE_DESC_TABLE . " (topic_id, vote_text, vote_start, vote_length, show_endtime, show_results) VALUES ($topic_id, '$poll_title', $current_time, " . ($poll_length * 86400) . ", $show_endtime, $show_results )" : "UPDATE " . VOTE_DESC_TABLE . " SET vote_text = '$poll_title', vote_length = " . ($poll_length * 86400) . ", show_endtime = $show_endtime, show_results = $show_results WHERE topic_id = $topic_id";
So nun kommt dieser fehler wo muss ich da suchen bzw was muss ich da ändern? Am besten wieder so genau dann klappts ja am besten
Could not obtain vote data for this topic
DEBUG MODE
SQL Error : 1054 Unknown column 'vd.show_endtime' in 'field list'
SELECT vd.vote_id, vd.vote_text, vd.vote_start, vd.vote_length, vd.show_endtime, vd.show_results, vr.vote_option_id, vr.vote_option_text, vr.vote_result FROM phpbb_vote_desc vd, phpbb_vote_results vr WHERE vd.topic_id = 138 AND vr.vote_id = vd.vote_id ORDER BY vr.vote_option_id ASC
Line : 693
File : /var/www/web980/html/phpBB2/viewtopic.php
mfG Micha
Could not obtain vote data for this topic
DEBUG MODE
SQL Error : 1054 Unknown column 'vd.show_endtime' in 'field list'
SELECT vd.vote_id, vd.vote_text, vd.vote_start, vd.vote_length, vd.show_endtime, vd.show_results, vr.vote_option_id, vr.vote_option_text, vr.vote_result FROM phpbb_vote_desc vd, phpbb_vote_results vr WHERE vd.topic_id = 138 AND vr.vote_id = vd.vote_id ORDER BY vr.vote_option_id ASC
Line : 693
File : /var/www/web980/html/phpBB2/viewtopic.php
mfG Micha
- Henne
- Ehemaliges Teammitglied
- Beiträge: 4520
- Registriert: 04.01.2002 01:00
- Wohnort: Lage (Lippe)
- Kontaktdaten:
Wie administrierst (<- ist das richtig so?) du denn deine Datenbank?
Stellt dein Hoster oder so phpMyAdmin oder so zur Verfügung?
Wenn ja, dann schau mal in der Tabelle phpbb_vote_desc nach, ob nen Feld show_endtime heißt.
Wenn nicht, dann hast du wohl vergessen die table_update_endtime.php auszuführen (oder führ die so aus, wenn du weißt, dass du es nicht gemacht hast).
Stellt dein Hoster oder so phpMyAdmin oder so zur Verfügung?
Wenn ja, dann schau mal in der Tabelle phpbb_vote_desc nach, ob nen Feld show_endtime heißt.
Wenn nicht, dann hast du wohl vergessen die table_update_endtime.php auszuführen (oder führ die so aus, wenn du weißt, dass du es nicht gemacht hast).
Ja mein Hoster stellt mir auch phpAdmin zur Verfügung. Habe es jetzt einfach ausgeführt die table_upate_endtime.php
Fehlermeldung kommt nicht mehr.
Danke
Aber ich bekomm noch dat heulen hier. Resultate werden nicht angezeigt. So soll es sein. Aber es wird auch nicht das Ende der Umfrage angezeigt.
Man bekomm ick das überhaupt noch hin?
Danke dir für deine hilfe Henne23. Dank auch für die Geduld und die vielen doofen fragen
Fehlermeldung kommt nicht mehr.
Danke
Aber ich bekomm noch dat heulen hier. Resultate werden nicht angezeigt. So soll es sein. Aber es wird auch nicht das Ende der Umfrage angezeigt.
Man bekomm ick das überhaupt noch hin?
Danke dir für deine hilfe Henne23. Dank auch für die Geduld und die vielen doofen fragen
