gulli:board Logo

Anzeige


  Antwort
SeriousK
If looks could kill
 
Benutzerbild von SeriousK
 
Registrierungsdatum: Oct 2004
Ort: <^DA^>
Beiträge: 3.054
phpBB kann keine Avatare hochladen?!

Hi,

auf meinem Forum ist es leider nicht möglich Avatare hochzuladen, die Ordner sind auch chmod 777 gesetzt worden aber dennoch kommt immer:
Could not write avatar file to local storage. Please contact the board administrator with this message

DEBUG MODE

Line : 167
File : usercp_avatar.php

weiss da jemand was?
Alt 24. 08. 2005, 22:49 SeriousK is offline Mit Zitat antworten #1
SeriousK
If looks could kill
(Threadstarter)
 
Benutzerbild von SeriousK
 
Registrierungsdatum: Oct 2004
Ort: <^DA^>
Beiträge: 3.054
hmmm jetzt steht da plötzlich:
Der Avatar muss im GIF-, JPG- oder PNG-Format sein.

obwol es ein gif ist!?
Alt 24. 08. 2005, 22:51 SeriousK is offline Mit Zitat antworten #2
SeriousK
If looks could kill
(Threadstarter)
 
Benutzerbild von SeriousK
 
Registrierungsdatum: Oct 2004
Ort: <^DA^>
Beiträge: 3.054
hmmm.....will oder kann mir keiner helfen?
Alt 25. 08. 2005, 13:02 SeriousK is offline Mit Zitat antworten #3
tiberian
Techmin
 
Benutzerbild von tiberian
 
Registrierungsdatum: Sep 2003
Ort: K-Pax
Beiträge: 5.402
bin grad zu faul mir das phpbb runnazuladen

Line : 167
File : usercp_avatar.php

Gib mal 5 zeilen über und unter dieser Stelle aus der php datei
Alt 25. 08. 2005, 14:17 tiberian is offline Mit Zitat antworten #4
SeriousK
If looks could kill
(Threadstarter)
 
Benutzerbild von SeriousK
 
Registrierungsdatum: Oct 2004
Ort: <^DA^>
Beiträge: 3.054
über:
$tmp_path = ( !@$ini_val('safe_mode') ) ? '/tmp' : './' . $board_config['avatar_path'] . '/tmp';
$tmp_filename = tempnam($tmp_path, uniqid(rand()) . '-');

$fptr = @fopen($tmp_filename, 'wb');
$bytes_written = @fwrite($fptr, $avatar_data, $avatar_filesize);
@fclose($fptr);

if ( $bytes_written != $avatar_filesize )
{
@unlink($tmp_filename);

167:
message_die(GENERAL_ERROR, 'Could not write avatar file to local storage. Please contact the board administrator with this message', '', __LINE__, __FILE__);

drunter:
}

list($width, $height) = @getimagesize($tmp_filename);
}
else
{
$l_avatar_size = sprintf($lang['Avatar_filesize'], round($board_config['avatar_filesize'] / 1024));

$error = true;
$error_msg = ( !empty($error_msg) ) ? $error_msg . '<br />' . $l_avatar_size : $l_avatar_size;
}
}
else if ( ( file_exists(@phpbb_realpath($avatar_filename)) ) && preg_match('/\.(jpg|jpeg|gif|png)$/i', $avatar_realname) )
{
Alt 25. 08. 2005, 15:56 SeriousK is offline Mit Zitat antworten #5
Themen-Optionen Antwort


Themen-Optionen

Gehe zu



Alle Zeitangaben in UTC +1. Es ist jetzt 16:27 Uhr.
Angetrieben von vBulletin
Copyright ©2000 - 2006, Jelsoft Enterprises Ltd.
epilepsy.gullisys.net

Anmelden

Benutzername
Kennwort
© Copyright 1998-2008 gulli.com home | regeln | sitemap | kontakt | impressum | partner | downloads | disclaimer |
Message Boards and Forums Directory