Avatar funzt nicht.
Verfasst: 17.12.2005 15:20
Hi. habe folgendes Problem:
Wenn ich in meinem Board ein Avatar hochladen möchte kommt immer folgende Fehlermeldung:
Der Avatar muss im GIF-, JPG- oder PNG-Format sein.
Habe alle Recht auf 777 gestellt und die Größe (60x60) stimmen auch.
weiß da jemand weiter. Außerdem klappt das avatar-hochladen von einer
URL auch nicht. Da kommt immer diese Fehlermeldung:
Could not write avatar file to local storage. Please contact the board administrator with this message
DEBUG MODE
Line : 167
Hier mal die Zeilen von 160 - 170
$fptr = @fopen($tmp_filename, 'wb');
$bytes_written = @fwrite($fptr, $avatar_data, $avatar_filesize);
@fclose($fptr);
if ( $bytes_written != $avatar_filesize )
{
@unlink($tmp_filename);
message_die(GENERAL_ERROR, 'Could not write avatar file to local storage. Please contact the board administrator with this message', '', __LINE__, __FILE__);
}
list($width, $height) = @getimagesize($tmp_filename);
Danke für jeglichen Hinweis...
fisch
Wenn ich in meinem Board ein Avatar hochladen möchte kommt immer folgende Fehlermeldung:
Der Avatar muss im GIF-, JPG- oder PNG-Format sein.
Habe alle Recht auf 777 gestellt und die Größe (60x60) stimmen auch.
weiß da jemand weiter. Außerdem klappt das avatar-hochladen von einer
URL auch nicht. Da kommt immer diese Fehlermeldung:
Could not write avatar file to local storage. Please contact the board administrator with this message
DEBUG MODE
Line : 167
Hier mal die Zeilen von 160 - 170
$fptr = @fopen($tmp_filename, 'wb');
$bytes_written = @fwrite($fptr, $avatar_data, $avatar_filesize);
@fclose($fptr);
if ( $bytes_written != $avatar_filesize )
{
@unlink($tmp_filename);
message_die(GENERAL_ERROR, 'Could not write avatar file to local storage. Please contact the board administrator with this message', '', __LINE__, __FILE__);
}
list($width, $height) = @getimagesize($tmp_filename);
Danke für jeglichen Hinweis...
fisch