Den link den du angibst, hab ich in Beitrag #15 auch gepostet.
Sry, den kleinen Link hab ich überlesen
das betrifft diese Zeile:PHP Fatal error: Call to undefined function create_date_day() in ...\modcp.php on line 1007
Code: Alles auswählen
$last_post_time = create_date_day($board_config['default_dateformat'], $row['post_time'], $board_config['board_timezone']);was hier dies Zeile 5 betrifft:PHP Fatal error: Call to undefined function move_message_mod() in ...\modcp.php on line 1063
Code: Alles auswählen
$topic_list = '';
for($i = 0; $i < count($topics); $i++)
{
$topic_list .= ( ( $topic_list != '' ) ? ', ' : '' ) . $topics[$i];
move_message_mod($topic_id_to, $topic_id, 'merge', $old_forum_id, '', $userdata['user_id']);
}Das betrifft diese Zeile (7):PHP Fatal error: Call to undefined function move_message_mod() in ...\modcp.php on line 1226
Code: Alles auswählen
if( !empty($HTTP_POST_VARS['merge_type_all']) )
{
$post_id_sql = '';
for($i = 0; $i < count($posts); $i++)
{
$post_id_sql .= ( ( $post_id_sql != '' ) ? ', ' : '' ) . $posts[$i];
move_message_mod($topic_id_to, $topic_id_to, 'merge', $old_forum_id, '', $userdata['user_id']);
}Also in Deinem letzten Code-Ausschnitt die komplete Zeile 7und die Zeile mit move_message_mod löschen.
Das Feld post_extra existiert übrigens auch nicht in meiner Tabelle phpbb_posts_text. Also habe ich die SQL-Abfrage so umgestaltet:Could not get topic/post information
DEBUG MODE
SQL Error : 1054 Unknown column 'pt.quiz_answer' in 'field list'
SELECT u.username, p.*, pt.post_text, pt.bbcode_uid, pt.post_subject, pt.quiz_answer, pt.post_extra, p.post_username FROM phpbb_posts p, phpbb_users u, phpbb_posts_text pt WHERE p.topic_id = 311 AND p.poster_id = u.user_id AND p.post_id = pt.post_id ORDER BY p.post_time ASC , p.post_id ASC
Line : 1901
File : modcp.php
Code: Alles auswählen
$sql = "SELECT u.username, p.*, pt.post_text, pt.bbcode_uid, pt.post_subject, p.post_username
FROM " . POSTS_TABLE . " p, " . USERS_TABLE . " u, " . POSTS_TEXT_TABLE . " pt
WHERE p.topic_id = $topic_id
AND p.poster_id = u.user_id
AND p.post_id = pt.post_id
ORDER BY p.post_time ASC , p.post_id ASC";Und jetzt bin ich mit meinem Latein leider am Ende.Could not get topic/post information
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 'AND p.poster_id = u.user_id AND p.post_id = pt.po
SELECT u.username, p.*, pt.post_text, pt.bbcode_uid, pt.post_subject, p.post_username FROM phpbb_posts p, phpbb_users u, phpbb_posts_text pt WHERE p.topic_id = AND p.poster_id = u.user_id AND p.post_id = pt.post_id ORDER BY p.post_time ASC , p.post_id ASC
Line : 1901
File : modcp.php
Code: Alles auswählen
$sql = "SELECT u.username, p.*, pt.post_text, pt.bbcode_uid, pt.post_subject, p.post_username
FROM " . POSTS_TABLE . " p, " . USERS_TABLE . " u, " . POSTS_TEXT_TABLE . " pt
WHERE p.topic_id = $topic_id
AND p.poster_id = u.user_id
AND p.post_id = pt.post_id
ORDER BY p.post_time ASC , p.post_id ASC";
if ( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, 'Could not get topic/post information', '', __LINE__, __FILE__, $sql);
}Code: Alles auswählen
pt.quiz_answerCode: Alles auswählen
WHERE p.topic_id = AND p.poster_id