nach erfolgtem Update bekomme ich folgende Fehlermeldung, wenn ich mich ins ACP einloggen will:
Parse error: syntax error, unexpected '}' in /www/htdocs/XXXXXXX/phpBB3/includes/acp/acp_main.php on line 238
Habe mir die acp_main.php über Notepad mal angesehen, Zeile 238 besteht NUR aus der schließenden Klammer (nach Zeile:
Code: Alles auswählen
while ($row = $db->sql_fetchrow($result));
Code: Alles auswählen
while ($start < $max_post_id)
{
$sql = 'SELECT COUNT(post_id) AS num_posts, poster_id
FROM ' . POSTS_TABLE . '
WHERE post_id BETWEEN ' . ($start + 1) . ' AND ' . ($start + $step) . '
AND post_postcount = 1 AND post_approved = 1
GROUP BY poster_id';
$result = $db->sql_query($sql);
if ($row = $db->sql_fetchrow($result))
{
do
{
$sql = 'UPDATE ' . USERS_TABLE . " SET user_posts = user_posts + {$row['num_posts']} WHERE user_id = {$row['poster_id']}";
$db->sql_query($sql);
}
while ($row = $db->sql_fetchrow($result));
}
$db->sql_freeresult($result);
$start += $step;
}
add_log('admin', 'LOG_RESYNC_POSTCOUNTS');
Wer kann mir helfen?
LG,
Anja