Seite 1 von 1
Probleme mit enhanced_poll (Umfrage Erweiterung)
Verfasst: 27.06.2005 09:29
von yamija
wenn ich alles abgeändert habe und aufgespielt ist und ich einen Post machen möchte kommt diese Fehlermeldung:
Parse error: parse error, unexpected ',' in /usr/export/www/vhosts/funnetwork/hosting/golem/phpBB2/includes/functions_post.php on line 295
kann mir da jemand helfen?
Hier ist meine Datei wo der Fehler ist:
bitte komplette Dateien verlinken
KB:datei
Markus67
Verfasst: 27.06.2005 11:07
von Markus67
Hi ...
suche:
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";
ersetze mit:
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";
Markus