KLar natürlich
Haaallo
weitere fehlermeldung kann keine Postings aufrufen bzw. mir anzeigen lassen
viewtopic.php hat folgendes Problem: Fatal error: Call to undefined function phpbb_gmgetdate() in /var/www/web88/html/phpBB/viewtopic.php on line 1015
hab dazu jetzt mal so einiges kopiert, allerdings nur einen Ausschnitt da,es 1175 Zeilen sind.
Code: Alles auswählen
// Holding maximum post time for marking topic read
// We need to grab it because we do reverse ordering sometimes
$max_post_time = 0;
$sql = $db->sql_build_query('SELECT', array(
'SELECT' => 'u.*, z.friend, z.foe, p.*',
'FROM' => array(
USERS_TABLE => 'u',
POSTS_TABLE => 'p',
),
'LEFT_JOIN' => array(
array(
'FROM' => array(ZEBRA_TABLE => 'z'),
'ON' => 'z.user_id = ' . $user->data['user_id'] . ' AND z.zebra_id = p.poster_id'
)
),
'WHERE' => $db->sql_in_set('p.post_id', $post_list) . '
AND u.user_id = p.poster_id'
));
$result = $db->sql_query($sql);
[b]
$now = phpbb_gmgetdate(time() + $user->timezone + $user->dst);[/b]
// Posts are stored in the $rowset array while $attach_list, $user_cache
// and the global bbcode_bitfield are built
while ($row = $db->sql_fetchrow($result))
{
// Set max_post_time
if ($row['post_time'] > $max_post_time)
{
$max_post_time = $row['post_time'];
}
$poster_id = (int) $row['poster_id'];
// Does post have an attachment? If so, add it to the list
if ($row['post_attachment'] && $config['allow_attachments'])
{
$attach_list[] = (int) $row['post_id'];
if ($row['post_approved'])
{
$has_attachments = true;
}
}
fett markiert die fehlerzeile!
was genau braucht ihr für die anderen Codes? ca. genauso viel drumherum wie für diesen?
Oder mehr?