Typ Deines phpBB Forums: Premodded phpBB
MODs: Nein
Dein Wissensstand: Profi
Link zu Deinem Forum: http://ford-welt.de
PHP Version:
MySQL Version:
Was hast Du gemacht, bevor das Problem aufgetreten ist?
Ich hab den Title Categorie Mod eingebaut.
Was hast Du bereits versucht um das Problem zu lösen?
Alles möglich mit den Variablen....
Fehlerbeschreibung und Nachricht
Also ich bekommen nun plötzlich diese Fehlermeldung:
Das besagt doch das da irgend eine variable nicht stimmt....Error in posting
DEBUG MODE
SQL Error : 1064 You have an error in your SQL syntax near ' 0, 1)' at line 1
INSERT INTO plus_topics (topic_title, topic_desc, topic_poster, topic_time, forum_id, news_id, topic_status, topic_type, topic_calendar_time, topic_calendar_duration, topic_icon, topic_announce_duration, topic_vote, k_id, topic_contest, topic_quiz) VALUES ('Quiz Frage #168 ...', '', 2074, 1115388863, 36, 0, 0, 0, 0, 0, 0, 0, 0, , 0, 1)
Line : 514
File : functions_post.php
Ich hab darauf hin, weil ich noch eine andere fehlermeldung bekommen habe und ich den Quiz Mod eingebaut habe in der includes/quiz.php die variabel &$k_id von dem Title Categorie Mod dort so eingefügt:
Darauf hin war die erste Fehlermeldung weg.function submit_post($mode, &$post_data, &$message, &$meta, &$forum_id, &$topic_id, &$post_id, &$poll_id, &$topic_type, &$bbcode_on, &$html_on, &$smilies_on, &$attach_sig, &$bbcode_uid, &$post_username, &$post_subject, &$post_message, &$poll_title, &$poll_options, &$poll_length, &$k_id, &$topic_desc, $topic_announce_duration = 0, $post_icon = 0, $topic_calendar_time = 0, $topic_calendar_duration = 0, &$news_category, $lpid, $mark_edit, &$cont_title, &$cont_desc, &$cont_number, &$cont_album_id, &$cont_date, &$cont_app, &$cont_pic_db, &$cont_delete)
Doch nun bleibt noch die 2te oben gepostete Fehlermeldung. Wo ist da das Problem ?
Edit: Oh je, oh, je....nach langem Suchen hab ich mal folgendes probiert.
In der funktions_post.php vor der SQL Anweisung dies eingefügt:
$k_id = 0;
Nun erschent erstmal kein Fehler mehr. Nur ist das richtig so gewesen ?