Ich habe plötzlich einen Error in posting:
Zeilen 406 bis 412 von includes/functions_post.php sind: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 ' 1108254478, , 0, 0, 0, 0, 1)' at line 1
INSERT INTO phpbb_topics (topic_title, topic_extra, topic_poster, topic_time, forum_id, topic_status, topic_type, topic_icon, topic_vote, topic_quiz) VALUES ('', '', , 1108254478, , 0, 0, 0, 0, 1)
Line : 412
File : /srv/www/htdocs/web148/html/phpbb2/includes/functions_post.php
Weiss vielleicht jemand, was das bedeutet oder warum der kommt?$sql = ($mode != "editpost") ? "INSERT INTO " . TOPICS_TABLE . " (topic_title, topic_extra, topic_poster, topic_time, forum_id, topic_status, topic_type, topic_icon, topic_vote, topic_quiz) VALUES ('$post_subject', '$post_extra', " . $userdata['user_id'] . ", $current_time, $forum_id, " . TOPIC_UNLOCKED . ", $topic_type, $post_icon, $topic_vote, " . ( empty($post_data['topic_quiz']) ? '0' : '1' ) . ")" : "UPDATE " . TOPICS_TABLE . " SET topic_title = '$post_subject', topic_extra = '$post_extra', topic_type = $topic_type, topic_icon=$post_icon " .
// ADDED , topic_quiz AND , " . ( empty($post_data['topic_quiz']) ? '0' : '1' ) . " BY Quiz Hack
//-- fin mod : post icon ---------------------------------------------------------------------------
(($post_data['edit_vote'] || !empty($poll_title)) ? ", topic_vote = " . $topic_vote : "") . " WHERE topic_id = $topic_id";
if (!$db->sql_query($sql))
{
message_die(GENERAL_ERROR, 'Error in posting', '', __LINE__, __FILE__, $sql);
Danke!
update: der Error kommt aber seltsamerweise nicht immer!