Seite 1 von 1

Prefix Titel - Fehler auf Line 227 in functions_post.php

Verfasst: 18.04.2008 18:39
von different
Hallo Zusammen,

die Forensuche brachte mich leider nicht weiter.
Ich bin mir aber sicher, dass ihr mir helfen könnt.

Ich habe den Mod "Prefix Titel" eingebaut und alles laut Anleitung gemacht.

Sobald ich ein neues Thema öffnen möchte, kommt folgende Fehlermeldung:

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 ')' at line 1

INSERT INTO phpbb_topics (topic_title, topic_poster, topic_time, forum_id, topic_status, topic_type, topic_vote, k_id) VALUES ('test', 686, 1208536080, 22, 0, 0, 0, )

Line : 227
File : functions_post.php
Und hier meine functions_post.php als Textdatei:
http://peilofans.de/functions_post.txt

Schomma Danke für Eure Hilfe!!

LG, different

Verfasst: 18.04.2008 18:41
von Düssi
Hast Du auch die Tabelle ind er Datenbank entsprechend angepasst; sql Befehel oder die install ausgeführt ?

Verfasst: 18.04.2008 18:43
von different
Düssi hat geschrieben:Hast Du auch die Tabelle ind er Datenbank entsprechend angepasst; sql Befehel oder die install ausgeführt ?
Ich habe den Befehl so ausgeführt, wie er in der Beschreibung steht:

Code: Alles auswählen

CREATE TABLE `phpbb_topic_cat` (
`k_id` INT(11) AUTO_INCREMENT PRIMARY KEY, 
`forum_id` INT(11), 
`kategorie` TEXT
); 

ALTER TABLE `phpbb_topics` ADD `k_id` INT(10) DEFAULT '0';