SQL Error "Hide mit Bedankomat"

Du hast Probleme beim Einbau oder bei der Benutzung eines Mods? In diesem Forum bist du richtig.
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.
Antworten
dasill
Mitglied
Beiträge: 123
Registriert: 30.05.2007 12:39

SQL Error "Hide mit Bedankomat"

Beitrag von dasill »

Hallo hab hier den Hide mod eingebaut & ein Bedankomat!

bei mir kommt eine Fehlermeldung sobald ich eine Datei editieren will!
FEHLER KOMMT NUR BEI DATEN DIE MAN SCHON EINEN HIDE ERSTELT HATT & es später bearbeiten will.
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 ' topic_bedankomat = 'Kat Deluna - Whine Up (Official Johnny Vicious Party Remix)' at line 1

UPDATE phpbb_topics SET topic_title, topic_bedankomat = 'Kat Deluna - Whine Up (Official Johnny Vicious Party Remix)', topic_bedankomat = 1, 1, topic_type = 0 WHERE topic_id = 1518

Line : 239
File : functions_post.php
Hier die functions_post.php datei:
http://board.rnb-live.com/phpBB/functions_post.txt
uwe310
Mitglied
Beiträge: 429
Registriert: 06.01.2007 02:04

Beitrag von uwe310 »

Hey
ersetz doch mal die Zeile 236

mit dem code

Code: Alles auswählen

$sql  = ($mode != "editpost") ? "INSERT INTO " . TOPICS_TABLE . " (topic_title, topic_bedankomat, topic_poster, topic_time, forum_id, topic_status, topic_type, topic_vote) VALUES ('$post_subject', $topic_bedankomat, " . $userdata['user_id'] . ", $current_time, $forum_id, " . TOPIC_UNLOCKED . ", $topic_type, $topic_vote)" : "UPDATE " . TOPICS_TABLE . " SET topic_title = '$post_subject',topic_bedankomat = $topic_bedankomat, topic_type = $topic_type " . (($post_data['edit_vote'] || !empty($poll_title)) ? ", topic_vote = " . $topic_vote : "") . " WHERE topic_id = $topic_id";
MFG
uwe
dasill
Mitglied
Beiträge: 123
Registriert: 30.05.2007 12:39

Beitrag von dasill »

@uwe310 Boooooaaaaahhhh THX einfach nur THX es funktioniert Perfekt kein fehler mehr!!!

Hide& Bedankomat funktionieren zusammen perfekt ;)
Ich bedanke mich nochmals...!!!!!!!!!!!
Antworten

Zurück zu „phpBB 2.0: Mod Support“