KORREKTUR: Es lag an meinem Lokalen Webserver (warum auch immer). Online geht alles. *wunder*
@Ta Lun & @All
Hallo,
sorry aber ich bin hier echt am verzweifeln.
Ich habe ein phpBB 2.0.6 und die letzte verfügbare Version des Mods 1.0.5 (für 2.0.5) eingebaut. (mehrfach und ganz genau alles beachtet)
Ich habe nun das problem das ich z.b. im ModCP keine neuen "Kategorien" hinzufügen kann.
Also habe ich erstmal per Hand in der DB eine "TestKategorie" angelegt
Wenn ich dann ein neues Posting erstelle oder editiere bringt er mir beim abschicken folgende Fehlermeldung:
Error in posting
DEBUG MODE
SQL Error : 1064 Fehler in der Syntax bei ')' in Zeile 1.
INSERT INTO phpbb_topics (topic_title, topic_poster, topic_time, forum_id, topic_status, topic_type, topic_vote, k_id) VALUES ('Testposting', 2, 1070306878, 2, 0, 0, 0, )
Line : 258
File : F:\forum\includes\functions_post.php
Aus irgendwelchen Gründen (die ich trotz mehrmaligem checken) nicht nachvollziehen kann,
übergibt er einfach nicht die "Kategorie" an die Datenbank.
Wenn ich nun per Hand in dem Beitrag eine "Kategorie" zuordne zeigt der diese Problemlos in der Übersicht usw. an.
Es wäre echt genial wenn jemand wüsste woran das liegen könnte.
Vielleicht gibt es auch irgendwo schon eine v1.0.6 von dem Mod
MfG b502
PS:
Line 258
Code: Alles auswählen
message_die(GENERAL_ERROR, 'Error in posting', '', __LINE__, __FILE__, $sql);
und die wahrscheinlich relevante Line 255
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, k_id) VALUES ('$post_subject', " . $userdata['user_id'] . ", $current_time, $forum_id, " . TOPIC_UNLOCKED . ", $topic_type, $topic_vote, $k_id)" : "UPDATE " . TOPICS_TABLE . " SET topic_title = '$post_subject', topic_type = $topic_type " . (($post_data['edit_vote'] || !empty($poll_title)) ? ", topic_vote = " . $topic_vote : "") . ", k_id = $k_id WHERE topic_id = $topic_id";