Probleme mit den Avataren nach Serverwechsel

tansamalaja
Folgende Fehlermeldung erhalten die User, wenn sie in vorhandenes Avatar löschen bzw. ein vorhandenes
auswählen möchten:

Warning: unlink(): Unable to access in /home/www/web3/html/wbb2/global.php on line 57

Warning: Cannot modify header information - headers already sent by (output started at /home/www/web3/html/wbb2/global.php:57) in /home/www/web3/html/wbb2/usercp.php on line 830



Folgende Fehlermeldung bekommen sie, wenn sie in den Vorgaben entsprechendes Avatar hochladen wollen:

Warning: unlink(): Unable to access in /home/www/web3/html/wbb2/global.php on line 57
"Ihr Avatar entspricht nicht den vorgegebenen Werten."


Das Forum liegt seit einigen Tagen auf einem neuen Server.
Schreibrechte gemäß der readme sind gesetzt, ebenso in den tmp-Ordnern.

global.php Zeilen 1-60:
php:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
<?php
include "ctracker.php";
$countername "./ctracker.txt";
$count_value1 = @file_get_contents($countername);
// ************************************************************************************//
// * WoltLab Burning Board 2
// ************************************************************************************//
// * Copyright (c) 2001-2004 WoltLab GmbH
// * Web           http://www.woltlab.de/
// * License       http://www.woltlab.de/products/burning_board/license_en.php
// *               http://www.woltlab.de/products/burning_board/license.php
// ************************************************************************************//
// * WoltLab Burning Board 2 is NOT free software.
// * You may not redistribute this package or any of it's files.
// ************************************************************************************//
// * $Date: 2006-06-26 15:41:24 +0200 (Mo, 26 Jun 2006) $
// * $Author: Burntime $
// * $Rev: 1707 $
// ************************************************************************************//


@error_reporting(7);
$phpversion phpversion();

/** get function libary **/
require('./acp/lib/functions.php');
if (version_compare($phpversion'4.1.0') == -1) {
    $_REQUEST array_merge($HTTP_COOKIE_VARS$HTTP_POST_VARS$HTTP_GET_VARS);
    $_COOKIE =& $HTTP_COOKIE_VARS;
    $_SERVER =& $HTTP_SERVER_VARS;
    $_FILES =& $HTTP_POST_FILES;
    $_GET =& $HTTP_GET_VARS;
    $_POST =& $HTTP_POST_VARS;
}
// remove slashes in get post cookie data...
if (get_magic_quotes_gpc()) {
    if (count($_REQUEST)) $_REQUEST stripslashes_array($_REQUEST);
    if (count($_POST)) $_POST stripslashes_array($_POST);
    if (count($_GET)) $_GET stripslashes_array($_GET);
    if (count($_COOKIE)) $_COOKIE stripslashes_array($_COOKIE);
    if (count($_SERVER)) $_SERVER stripslashes_array($_SERVER);
}

@set_magic_quotes_runtime(0);
@ini_set('magic_quotes_sybase''0');
/**
 * check uploaded files..
 * search in Superglobal $_FILES
 * LM: 09.05.2006 00:13 Zagon Hornik
 */
if (!empty ($_FILES) && is_Array ($_FILES))
{
    foreach ($_FILES as $key=>$val)
    {
        if (!checkFile ($_FILES[$key]['tmp_name']))
        {
            unlink ($_FILES[$key]['tmp_name']);
            unset ($_FILES[$key]);
        }
    }


Die fragliche Stelle wurde im Rahmen von relleks Sicherheitspaket eingefügt, habe ich gerade gesehen...
Radiation
Hast du die Schreibrechte im Ordner avatars auch rekursiv für alle darin enthaltenen Dateien gesetzt? Wenn nein könnte das das Problem sein.
tansamalaja
Auch die haben alle 777...

Kann das am Server liegen?