usunąć
witam mam dokładnie ten sam problem:
"Emblemat musi być typu .jpg, .gif lub .png"
wersja skryptu phpBB 2.0.18.
wszystkie potrzebne chmody ustawione na 777
po edycji
"Unable to upload file
DEBUG MODE
Line : 252
File : usercp_avatar.php"
linijka 252 to:
message_die(GENERAL_ERROR, 'Unable to upload file', '', __LINE__, __FILE__);
jeśli możecie pomóżcie mi
"Emblemat musi być typu .jpg, .gif lub .png"
wersja skryptu phpBB 2.0.18.
wszystkie potrzebne chmody ustawione na 777
po edycji
"Unable to upload file
DEBUG MODE
Line : 252
File : usercp_avatar.php"
linijka 252 to:
message_die(GENERAL_ERROR, 'Unable to upload file', '', __LINE__, __FILE__);
jeśli możecie pomóżcie mi
Grigorij pisze:Przy ładowaniu z serwera natomiast na górze strony wyskakuje błąd:
Warning: tempnam(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/home/webmaster:/usr/lib/php) in /alt/home/webmaster/html/forum/includes/usercp_avatar.php on line 168
Warning: Cannot modify header information - headers already sent by (output started at /alt/home/webmaster/html/forum/includes/usercp_avatar.php:168) in /alt/home/webmaster/html/forum/includes/page_header.php on line 483
Warning: Cannot modify header information - headers already sent by (output started at /alt/home/webmaster/html/forum/includes/usercp_avatar.php:168) in /alt/home/webmaster/html/forum/includes/page_header.php on line 485
Warning: Cannot modify header information - headers already sent by (output started at /alt/home/webmaster/html/forum/includes/usercp_avatar.php:168) in /alt/home/webmaster/html/forum/includes/page_header.php on line 486
A pod spodem:
Could not write avatar file to local storage. Please contact the board administrator with this message
DEBUG MODE
Line : 177
File : usercp_avatar.php
Przeglądałem wszystkie tematy o problemach z avatarami zarówno na tym forum jak i na http://www.archiwum.phpbb2.pl i wszędzie pojawiają sie te same problemy z avatarami ale debug za każdym razem wskazuje na inny wers... A i tak większość wątków grzęźnie jeśli zmiana Chmod, ani podmiana fragmentu kodu nie pomaga:/:/:/
Sorry ludziska: ja naprawde chciałbym Wam napisac że wszystko już działa... Ale sęk w tym ze nie działa nic, pomimo nieustannego wgrywania forum od 0, reinstalowania go i sprawdzania na okrągło chmodów...![]()
Mam ten sam problem. Mógłby ktoś pomóc??
SpyShoots.tk - Serdecznie zapraszam na forum!
zwykle phpBB-2.0.19-PL,chmod na pewno mam 777,sprawdzalem juz milion razy
Line 252 u mnie wyglada tak
Line 252 u mnie wyglada tak
Kod: Zaznacz cały
message_die(GENERAL_ERROR, 'Unable to upload file', '', __LINE__, __FILE__);Kod: Zaznacz cały
// PNG
case 3:
if ($imgtype != '.png')
{
@unlink($tmp_filename);
message_die(GENERAL_ERROR, 'Unable to upload file', '', __LINE__, __FILE__);
}
break;
default:
@unlink($tmp_filename);
message_die(GENERAL_ERROR, 'Unable to upload file', '', __LINE__, __FILE__);
}
if ( $width > 0 && $height > 0 && $width <= $board_config['avatar_max_width'] && $height <= $board_config['avatar_max_height'] )
{
$new_filename = uniqid(rand()) . $imgtype;
if ( $mode == 'editprofile' && $current_type == USER_AVATAR_UPLOAD && $current_avatar != '' )
{
user_avatar_delete($current_type, $current_avatar);
}
Ostatnio zmieniony 17 lutego 2006, 17:37 przez głupek, łącznie zmieniany 2 razy.
Unable to upload file
DEBUG MODE
Line : 252
File : usercp_avatar.php
Robilem juz wszystko z tego tematu!
teraz 252 jest wlasnie
DEBUG MODE
Line : 252
File : usercp_avatar.php
Robilem juz wszystko z tego tematu!
teraz 252 jest wlasnie
Kod: Zaznacz cały
message_die(GENERAL_ERROR, 'Unable to upload file', '', __LINE__, __FILE__);
