Pagina 1 din 1

bb nu vrea cu avatarul

Scris: 20-Dec-2003, 12:09:55
de habarnuam
Sal'tare,
cine sa mai lovit de problema asta:
cînd vreau sa încarc o poza de pe discul dur in bb ptr. un avatar,
îmi apara eroarea asta:
Warning: move_uploaded_file(./images/avatars/14363891183fe226f5be710.gif): failed to open stream: Permission denied in /home/phphost1/public_html/mototech/includes/usercp_avatar.php on line 227

Warning: move_uploaded_file(): Unable to move '/tmp/php38kIKu' to './images/avatars/14363891183fe226f5be710.gif' in /home/phphost1/public_html/mototech/includes/usercp_avatar.php on line 227

Warning: Cannot modify header information - headers already sent by (output started at /home/phphost1/public_html/mototech/includes/usercp_avatar.php:227) in /home/phphost1/public_html/mototech/includes/page_header.php on line 30

Warning: Cannot modify header information - headers already sent by (output started at /home/phphost1/public_html/mototech/includes/usercp_avatar.php:227) in /home/phphost1/public_html/mototech/includes/page_header.php on line 478

Warning: Cannot modify header information - headers already sent by (output started at /home/phphost1/public_html/mototech/includes/usercp_avatar.php:227) in /home/phphost1/public_html/mototech/includes/page_header.php on line 480

Warning: Cannot modify header information - headers already sent by (output started at /home/phphost1/public_html/mototech/includes/usercp_avatar.php:227) in /home/phphost1/public_html/mototech/includes/page_header.php on line 481
ce sa fie, :o ce sa fie :shock:

Scris: 20-Dec-2003, 12:21:24
de habarnuam
usercp_avatar.php:
225 }

226

227 $move_file($avatar_filename, './' . $board_config['avatar_path'] . "/$new_filename");

228 }
page_header.php:
30 setcookie($board_config['cookie_name'] . '_counter',"set",time() + 31536000,$board_config['cookie_path'], $board_config['cookie_domain'], $board_config['cookie_secure']);
478 header ('Cache-Control: private, pre-check=0, post-check=0, max-age=0');

479 }

480 header ('Expires: 0');

481 header ('Pragma: no-cache');
Poate acu' ajuta mai mult ....

Scris: 20-Dec-2003, 12:23:12
de dorin
La primul post:

Cod: Selectaţi tot

Permission denied 
Verifica daca ai drept de scriere in directorul respectiv :idea:

Scris: 20-Dec-2003, 13:15:22
de habarnuam
dorin scrie:
Verifica daca ai drept de scriere in directorul respectiv :idea:
pai eu vreau ca TOTI utilizatorii sa profite de comanda asta ...
Am gresit ceva in pan. admin. la config. generala?

Scris: 20-Dec-2003, 13:38:19
de dorin
Directorul /forum/images/avatars/gallery trebuie sa fie CHMOD (Unix) 777 :D pentru a putea orice utilizator sa scrie in el, respectiv sa poata sa-si incarce propriul avatar in forumul tau :idea:

Scris: 20-Dec-2003, 21:52:09
de habarnuam
multam fain
ASA ESTE
acu' merge :D