Seite 5 von 10

Verfasst: 15.11.2005 12:45
von Markus67
Markus67 hat geschrieben:Hi ...

das sieht so aus wie wenn da noch was falsch ist in der functions_post.php ... bitte die Datei als txt-Datei verlinken :wink:

Markus
Ich brauche die functions_post.php und nicht die posting.php :wink:

Markus

Verfasst: 15.11.2005 13:24
von MP3-Hunter
ohja, schuldigung

wer lesen kann ist klar im Vorteil

functions_post.txt

Verfasst: 15.11.2005 13:40
von Markus67
Hi ...

suche in der functions_post.php

Code: Alles auswählen

vote_length, = " . ($poll_length * 86400) . ",
ersetze mit:

Code: Alles auswählen

vote_length = " . ($poll_length * 86400) . ",
Markus

Verfasst: 15.11.2005 14:22
von MP3-Hunter
jetzt habe ich diesen Fehler

Code: Alles auswählen

 Error in posting

DEBUG MODE

SQL Error : 1196 Warning: Some non-transactional changed tables couldn't be rolled back

INSERT INTO phpbb_vote_desc (topic_id, vote_text, vote_start, vote_length, vote_max, vote_hide, vote_tothide) VALUES (39, 'Was ist ein Don Assassino?', 1132060440, 0, '3', '', '')
Line : 340
File : functions_post.php

Verfasst: 15.11.2005 16:20
von Markus67
Hi ...

suche in der functions_post.php

Code: Alles auswählen

# WHERE topic_id = $topic_id";
ersetze mit:

Code: Alles auswählen

WHERE topic_id = $topic_id";
Markus

Verfasst: 15.11.2005 19:15
von MP3-Hunter
geht immer noch nicht

Code: Alles auswählen

 Error in posting

DEBUG MODE

SQL Error : 1196 Warning: Some non-transactional changed tables couldn't be rolled back

INSERT INTO phpbb_vote_desc (topic_id, vote_text, vote_start, vote_length, vote_max, vote_hide, vote_tothide) VALUES (40, 'Was ist ein Don Assassino?', 1132078117, 0, '3', '', '')
Line : 340
File : functions_post.php
 

Verfasst: 15.11.2005 21:08
von Markus67
Hi ...

repariere mal bitte mit KB:phpmyadmin die Tabelle phpbb_vote_desc

Markus

Verfasst: 15.11.2005 23:28
von MP3-Hunter
soll ich die tabelle auch mal reparieren?
phpbb_topics

denn den fehler habe ich auch

Code: Alles auswählen

Error in posting

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 ' 1132039312, 9, 0, 0, 0)' at line 1

INSERT INTO phpbb_topics (topic_title, topic_poster, topic_time, forum_id, topic_status, topic_type, topic_vote) VALUES ('Testumfrage', , 1132039312, 9, 0, 0, 0)
Line : 276
File : functions_post.php

Verfasst: 15.11.2005 23:38
von Markus67
Hi ...

nein die andere brauchst du nicht reparieren .. das ist ein SQL-Fehler.

suche in der functions_post.php

Code: Alles auswählen

		$sql  = ($mode != "editpost") ? "INSERT INTO " . TOPICS_TABLE . " (topic_title, topic_poster, topic_time, forum_id, topic_status, topic_type, topic_vote) VALUES ('$post_subject', " . $anon_id . ", $current_time, $forum_id, " . TOPIC_UNLOCKED . ", $topic_type, $topic_vote)" : "UPDATE " . TOPICS_TABLE . " SET topic_title = '$post_subject', topic_type = $topic_type " . (($post_data['edit_vote'] || !empty($poll_title)) ? ", topic_vote = " . $topic_vote : "") . " WHERE topic_id = $topic_id";
ersetze mit:

Code: Alles auswählen

		$sql  = ($mode != "editpost") ? "INSERT INTO " . TOPICS_TABLE . " (topic_title, topic_poster, topic_time, forum_id, topic_status, topic_type, topic_vote) VALUES ('$post_subject', " . $userdata['user_id'] . ", $current_time, $forum_id, " . TOPIC_UNLOCKED . ", $topic_type, $topic_vote)" : "UPDATE " . TOPICS_TABLE . " SET topic_title = '$post_subject', topic_type = $topic_type " . (($post_data['edit_vote'] || !empty($poll_title)) ? ", topic_vote = " . $topic_vote : "") . " WHERE topic_id = $topic_id";
Markus

Verfasst: 16.11.2005 09:16
von MP3-Hunter
DerMultivote Hack geht jetzt, es sah fast so aus, als wenn er mir die SQL Tabellen wieder gelöscht hatte.
Aber es werden immer die Ergebniss sofort angezeigt auch wenn man verstecken klickt.

Das andere habe ich in der Functions Post geändert,
aber es kommt immer noch dieser Fehler.

Code: Alles auswählen

 Error in posting

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 ' 1132128508, 8, 0, 0, 0)' at line 1

INSERT INTO phpbb_topics (topic_title, topic_poster, topic_time, forum_id, topic_status, topic_type, topic_vote) VALUES ('Nur ein test post', , 1132128508, 8, 0, 0, 0)
Line : 276
File : functions_post.php